Setting Up for Linux Desktops
Table Of Contents
- Setting Up Horizon 7 for Linux Desktops
- Contents
- Setting Up Horizon 7 for Linux Desktops
- Features and System Requirements
- Preparing a Linux Virtual Machine for Desktop Deployment
- Setting Up Active Directory Integration for Linux Desktops
- Setting Up Graphics for Linux Desktops
- Installing Horizon Agent
- Configuration Options for Linux Desktops
- Create and Manage Linux Desktop Pools
- Bulk Deployment of Horizon 7 for Manual Desktop Pools
- Overview of Bulk Deployment of Linux Desktops
- Overview of Bulk Upgrade of Linux Desktops
- Create a Virtual Machine Template for Cloning Linux Desktop Machines
- Input File for the Sample PowerCLI Scripts to Deploy Linux Desktops
- Sample Script to Clone Linux Virtual Machines
- Sample Script to Join Cloned Virtual Machines to AD Domain
- Sample Script to Join Cloned Virtual Machines to AD Domain Using SSH
- Sample Script to Upload Configuration Files to Linux Virtual Machines
- Sample Script to Upload Configuration Files to Linux Virtual Machines Using SSH
- Sample Script to Upgrade Horizon Agent on Linux Desktop Machines
- Sample Script to Upgrade Horizon Agent on Linux Virtual Machines Using SSH
- Sample Script to Perform Operations on Linux Virtual Machines
- Troubleshooting Linux Desktops
- Collect Diagnostic Information for Horizon 7 for Linux Machine
- Troubleshooting Copy and Paste between Remote Desktop and Client Host
- Configuring the Linux Firewall to Allow Incoming TCP Connections
- View Agent Fails to Disconnect on an iPad Pro Horizon Client
- SLES 12 SP1 Desktop does not Auto Refresh after Drag and Drop
- SSO Fails to Connect to a PowerOff Agent
- Unreachable VM After Creating a Manual Desktop Pool for Linux
- Index
See “Sample Script to Upload Conguration Files to Linux Virtual Machines,” on page 79 or “Sample
Script to Upload Conguration Files to Linux Virtual Machines Using SSH,” on page 83.
6 Create a desktop pool.
See “Create a Manual Desktop Pool for Linux,” on page 57.
For a sample script that performs operations such as powering on, shuing down, restarting, or deleting
virtual machines, see “Sample Script to Perform Operations on Linux Virtual Machines,” on page 97. This
script can delete virtual machines from vCenter Server.
Overview of Bulk Upgrade of Linux Desktops
Bulk upgrade of manual desktops for Linux involve several steps. You can automate some of the steps by
using PowerCLI scripts.
Bulk Upgrade Unmanaged Desktop
To bulk upgrade the unmanaged virtual machine to managed or unmanaged virtual machine, you must use
the sample upgrade script to upload the new Horizon Agent to the existing virtual machines and run
upgrade command.
n
If you retain the unmanaged virtual machine, your existing desktop pool can be reused.
n
If you upgrade from unmanaged virtual machine to managed virtual machine, you must delete the
existing desktop pool and create a new desktop pool. For more information, see “Upgrade Horizon
Agent on a Linux Virtual Machine,” on page 45.
Bulk Upgrade Managed Desktop
To bulk upgrade the managed virtual machine, select one of the following methods.
Method Description
In the template virtual machine,
install or upgrade the new Horizon
Agent and create a snapshot.
n
The user data and prole are lost since the existing virtual machines are
deleted, unless the user data and prole are located on the share server such
as NFS server.
n
After the virtual machine replacement, the state of the virtual machine on
View Administrator might be missing. You must restart the broker service to
x it.
n
If you are using linked clone, this method avoids duplicate data on each
virtual machine.
Use the sample script of upgrade to
upload the new Horizon Agent to
existing virtual machines and run
the upgrade command.
n
User data and prole is retained.
n
If you are using linked clone, this method introduces duplicate data on each
virtual machine.
Create a Virtual Machine Template for Cloning Linux Desktop
Machines
Before you perform virtual machine cloning, you must create a virtual machine template that the clones are
based on.
Prerequisites
n
Verify that your deployment meets the requirements for supporting Linux desktops. See “System
Requirements for Horizon 7 for Linux,” on page 11.
Chapter 8 Bulk Deployment of Horizon 7 for Manual Desktop Pools
VMware, Inc. 67










