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
Table 1‑5. Recommended vRAM Settings for 2D or vSGA Graphics (Continued)
vRAM Size
Number of
Monitors Maximum Resolution
128 MB 3 2560x1600
128 MB 4 2560x1600
RHEL and CentOS only support this configuration on vSphere 5.5.
To support this configuration on Ubuntu, you must recompile the kernel and
disable 3D. For information about how to disable 3D, see
http://kb.vmware.com/kb/2114809 .
For NeoKylin, this configuration is not supported.
NOTE To connect to a RHEL 6.6, CentOS 6.6, or SLED 11 Sp3 or Sp4 desktops with multiple monitors, you
must set the number of displays and the amount of video memory as described in “Create a Virtual Machine
and Install Linux,” on page 13. In addition, with the virtual machine (VM) powered off, you must edit the
vmx file and set svga.maxWidth and svga.maxHeight according to the number and orientation (horizontal or
vertical) of the displays. You also must set svga.autodetect to false. Then power on the VM. The general
rule is that the svga.maxWidth and svga.maxHeight values must be large enough to support all the displays.
To support 4 displays at the maximum resolution of 2560x1600, Edit Virtual Machine Settings > Options >
General > Configuration > Parameters > Add Row to add the following parameters. You do not need to
modify the parameter svga.vramSize.
svga.autodetect="false"
svga.maxHeight="3200"
svga.maxWidth="10240"
If you have multiple monitors, you must set these parameters. Otherwise, you might encounter one or more
of the following problems:
n
Only one monitor displays correctly. The other monitors might be black or mirror another monitor.
n
A keystroke is displayed multiple times.
n
The desktop becomes very slow.
If you encounter an autofit issue with the recommended settings, you can specify a larger vRAM size.
vSphere Client permits a maximum vRAM size of 128 MB. If your specified size exceeds 128 MB, you must
modify the vmx file manually. The following example specifies a vRAM size of 256 MB:
svga.vramSize = "268435456"
NOTE To configure four monitors for a RHEL 7.1 machine that uses 2D rendering or 3D rendering with
vSGA, set a maximum resolution of 2048x1536 for each monitor. To configure a RHEL 7.1 machine to use up
to three monitors, set a maximum resolution of 2560x1600 for each monitor.
To improve performance for a RHEL 7.1 machine in a vSGA multiple-monitor environment, set the 3D
Memory setting for the virtual machine to 1 GB or larger, and configure 4 vCPUs for the machine. If you
configure four monitors at 2048x1536 resolution on a RHEL 7.1 machine, set Memory to 4 GB, and configure
4 vCPUs for the machine.
Recommended vCPU and Shared Memory Settings to Support Multiple
Monitors
To improve desktop performance with multiple monitors, configure at least two vCPUs for a Linux virtual
machine.
Chapter 1 Features and System Requirements
VMware, Inc. 11










