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
- Configuration Options for Linux Desktops
- Setting Up Graphics for Linux Desktops
- Installing Horizon Agent and Managing Linux Desktops
- Install Horizon Agent on a Linux Virtual Machine
- Enable Reversible Password Encryption
- Configure the Certificate for Linux Agent
- Create a Desktop Pool That Contains Linux Virtual Machines
- Upgrade Horizon Agent on a Linux Virtual Machine
- Uninstalling and Reinstalling Horizon 7 for Linux Machines
- How to Perform Power Operations on Linux Desktops from vSphere
- Gather Information About Horizon 7 for Linux Software
- Bulk Deployment of Horizon 7 for Linux Desktops
- Overview of Bulk Deployment 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 Install Horizon Agent on Linux Virtual Machines
- Sample Script to Install Horizon Agent on Linux Virtual Machines 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
- Sample Script to Delete Machines from the Connection Server LDAP Database
- Troubleshooting Linux Desktops
- Collect Diagnostic Information for Horizon 7 for Linux Machine
- Troubleshooting Horizon Agent Registration Failure for a Linux Machine
- Troubleshooting an Unreachable Horizon Agent on a Linux Machine
- Troubleshooting Horizon Agent on a Linux Machine That Is Not Responding
- Troubleshooting Copy and Paste between Remote Desktop and Client Host
- Configuring the Linux Firewall to Allow Incoming TCP Connections
- Index
n
Kerberos. To use this mechanism, you must specify the Active Directory server's address using the -k
command line option. Also, for the required parameter -b, you must provide Connection Server's fully
qualified domain name (FQDN) using the real host name and domain name. You cannot use an IP
address or a mapped FQDN.
CAUTION If you intend to use NVIDIA GRID vGPU, vDGA, or vSGA, you must configure these 3D features
on the Linux virtual machine before you install Horizon Agent. If you install Horizon Agent first, required
parameters in the xorg.conf file are overwritten, and the 3D graphics features do not work.
See “Configure RHEL 6.6 and RHEL 7.1 for vGPU,” on page 27, “Configure RHEL 6.6 for vDGA,” on
page 33, or “Configure RHEL 7.1 for vSGA,” on page 36. Install Horizon Agent after the 3D graphics
configuration is completed.
For 2D graphics configuration, you can install Horizon Agent after you complete the steps in “Prepare a
Linux Machine for Remote Desktop Deployment,” on page 14.
Prerequisites
n
Verify that the Linux guest operating system is prepared for desktop use. See “Prepare a Linux Machine
for Remote Desktop Deployment,” on page 14.
n
Familiarize yourself with the Horizon Agent installer script for Linux. See “install_viewagent.sh
Command Line Options,” on page 43.
n
Verify that the View Connection Server administrator that you provide with the installation command
has the Agent Registration Administrators or Administrators role in View Administrator. Specifically,
the Register Agent privilege is required to register Horizon Agent with View Connection Server. Agent
Registration Administrators is a restricted role that provides this minimum privilege.
Procedure
1 Download the Horizon Agent for Linux installer file from the VMware download site at
https://my.vmware.com/web/vmware/downloads.
Under Desktop & End-User Computing, select the VMware Horizon 7 download, which includes the
Horizon Agent for Linux installer.
The installer filename is VMware-viewagent-linux-x86_64-y.y.y-xxxxxxx.tar.gz for 64-bit Linux or
VMware-viewagent-linux-y.y.y-xxxxxxx.tar.gz for 32-bit Linux, where y.y.y is the version number and
xxxxxxx is the build number.
2 Unpack the tarball for your Linux distribution on the guest operating system.
For example:
tar -xzvf <View Agent tar ball>
3 Navigate to the tar ball folder.
4 Run the install_viewagent.sh script as superuser.
See “install_viewagent.sh Command Line Options,” on page 43 for a list of the command line options.
For example:
sudo ./install_viewagent.sh -b mybroker.mydomain.com -d mydomain.com -u administrator -p
password
The -b parameter specifies the View Connection Server instance to which the Linux machine is
registered. You can use an FQDN or IP address with the -b parameter.
The -d, -u, and -p parameters specify the domain, user name, and password of the View administrator.
In the password, be sure to escape special characters such as $. For example: ab\$cdef
Setting Up Horizon 7 for Linux Desktops
42 VMware, Inc.










