Setting Up for Linux Desktops

Table Of Contents
n
Familiarize yourself with the steps for creating virtual machines in vCenter Server and installing guest
operating systems. See "Creating and Preparing Virtual Machines" in the Seing Up Virtual Desktops in
Horizon 7 document.
n
Familiarize yourself with the recommended video memory (vRAM) values for the monitors you will
use with the virtual machine. See “System Requirements for Horizon 7 for Linux,” on page 11.
n
Familiarize yourself with the steps for AD integration. See Chapter 3, “Seing Up Active Directory
Integration for Linux Desktops,” on page 25.
n
Familiarize yourself with the steps to install Horizon Agent on Linux. See Chapter "Installing Horizon
Agent and Managing Linux Desktops
n
If required, familiarize yourself with the steps to congure options using the View conguration les.
See Chapter 6, “Conguration Options for Linux Desktops,” on page 47.
n
If you plan to set up graphics, familiarize yourself with the steps. See Chapter 4, “Seing Up Graphics
for Linux Desktops,” on page 29.
Procedure
1 In vSphere Web Client or vSphere Client, create a new virtual machine.
2 Congure custom conguration options.
a Right-click the virtual machine and click Edit .
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 conguring 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 aect 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 hp://kb.vmware.com/kb/2075048.
Setting Up Horizon 7 for Linux Desktops
68 VMware, Inc.