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
2 Configure custom configuration options.
a Right-click the virtual machine and click Edit Settings.
b Specify the number of vCPUs and the vMemory size.
For recommended values, follow the guidelines in the installation guide for your Linux distribution.
For example, Ubuntu 12.04 recommends configuring 2048 MB for vMemory and 2 vCPUs.
c Select Video card and specify the number of displays and the total video memory (vRAM).
Set the vRAM size in vSphere Web Client for virtual machines that use 2D or vSGA, which use
the VMware driver. The vRAM size has no affect on vDGA or NVIDIA GRID vGPU machines,
which use NVIDIA drivers.
For recommended values, follow the guidelines in System Requirements for Horizon 7 for Linux.
Do not use the Video Memory Calculator.
3 Power on the virtual machine and install the Linux distribution.
4 Create a user with root privileges, for example, ViewUser. This user is used to install and uninstall
Horizon Agent only.
5 Edit /etc/sudoers and add the line ViewUser ALL=(ALL) NOPASSWD:ALL.
With this line in /etc/sudoers, no password is required to run sudo as ViewUser. When you run the
sample script to install Horizon Agent that is provided in this chapter, you specify ViewUser as an
input.
6 If the Linux distribution is RHEL, CentOS, or NeoKylin, edit /etc/sudoers and comment out the
following lines:
Defaults requiretty
Defaults !visiblepw
7 If the Linux distribution is not RHEL 7, CentOS 7, SLED 12, or SLES 12, install VMware Tools .
RHEL 7, CentOS 7, SLED 12, and SLES 12 have Open VM Tools installed by default.
8 If the Linux distribution is RHEL 7, CentOS 7, or SLES 12, install the deployPkg plug-in.
The instructions are at http://kb.vmware.com/kb/2075048.
9 For RHEL and CentOS, enable the Network Connection setting Connect automatically.
10 Perform the AD integration tasks.
11 Perform the steps to set up graphics.
12 Install Horizon agent.
sudo ./install_viewagent.sh -A yes
See Chapter 5 Installing Horizon Agent.
13 Perform additional configurations using the View configuration files.
Setting Up Horizon 7 for Linux Desktops
VMware, Inc. 83










