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
Procedure
1 Restart the Linux virtual machine.
The Horizon Agent startup script initializes the X server and display topology.
You can no longer view the virtual machine display in the vSphere console.
2 From Horizon Client, connect to the Linux desktop.
3 In the Linux desktop session, verify that the NVIDIA display driver is installed.
Open a terminal window and run the glxinfo | grep NVIDIA command.
The NVIDIA driver output is displayed. For example:
[root]# glxinfo | grep NVIDIA
server glx vendor string: NVIDIA Corporation
client glx vendor string: NVIDIA Corporation
OpenGL vendor string: NVIDIA Corporation
OpenGL version string: 4.5.0 NVIDIA 346.47
OpenGL shading language version string: 4.50 NVIDIA
The user can access the NVIDIA graphics capabilities on the remote desktop.
After verifying the installation of NVIDIA display driver, perform the following tasks for installation to
work correctly.
n
If you upgrade the Linux kernel, Horizon Agent might not be able to communicate with View
Connection Server. To resolve the problem, reinstall the NVIDIA driver.
n
Set the NVIDIA GRID licensing in the Linux VM. See NVIDIA documentation for more information.
Linux desktop will not work correctly if licensing is not set. For example, auto-t will not work.
Configure RHEL 6 for vDGA
You can set up an RHEL 6 guest operating system so that Horizon 7 for Linux desktop can take advantage of
vDGA capabilities on the ESXi host.
C Before you begin, verify that Horizon Agent is not installed on the Linux virtual machine. If you
install Horizon Agent before you congure the machine to use vDGA, required conguration parameters in
the xorg.conf le are overwrien, and vDGA does not work. You must install Horizon Agent after the
vDGA conguration is completed.
Enable DirectPath I/O for NVIDIA GRID on a Host
Before you congure a Linux virtual machine to use vDGA, you must make the NVIDIA GRID GPU PCI
devices available for DirectPath I/O passthrough on the ESXi host.
Prerequisites
n
Verify that vSphere 6.0 or a later release is installed in your environment.
n
Verify that the NVIDIA GRID K1 or K2 graphics cards are installed on the ESXi host.
Procedure
1 In the vSphere Web Client, browse to the ESXi host.
2 Click the Manage tab and click .
3 In the Hardware section, click PCI Devices.
Setting Up Horizon 7 for Linux Desktops
34 VMware, Inc.










