Setting Up for Linux Desktops

Table Of Contents
n
Familiarize yourself with the steps for mounting and installing VMware Tools on a Linux VM. See
"Manually Install or Upgrade VMware Tools in a Linux Virtual Machine" in the vSphere Virtual
Machine Administration document.
n
Familiarize yourself with the steps for configuring your Linux machine to be resolvable through DNS.
These steps vary for the different Linux distributions and releases. For instructions, consult the
documentation for your Linux distribution and release.
Procedure
1 In vSphere Web Client or vSphere Client, mount the VMware Tools virtual disk on the VM.
2 Right-click the VMware Tools installer file, VMwareTools.x.x.x-xxxx.tar.gz, click Extract to, and
select the desktop for your Linux distribution.
The vmware-tools-distrib folder is extracted to the desktop.
3 On the VM, log in as root and open a terminal window.
4 Uncompress the VMware Tools tar installer file.
For example:
tar zxpf /mnt/cdrom/VMwareTools-x.x.x-yyyy.tar.gz
5 Run the installer and configure VMware Tools.
The command might vary slightly in different Linux distributions. For example:
cd vmware-tools-distrib
sudo ./vmware-install.pl -d
Usually, the vmware-config-tools.pl configuration file runs after the installer file finishes running.
6 Map the Linux machine's host name to 127.0.0.1 in the /etc/hosts file.
For RHEL, CentOS, SLES, and SLED, you must manually map the host name to 127.0.0.1 because it
is not automatically mapped. For Ubuntu, this step is not necessary because the mapping is there by
default. This step is also not necessary when you bulk deploy desktops because the cloning process
adds this mapping.
Note If you change the Linux machine's host name after installing Horizon Agent, you must map the
new host name to 127.0.0.1 in the /etc/hosts file. Otherwise, the old host name will continue to be
used.
7 For RHEL 7 and CentOS 7, verify that virbr0 is disabled.
virsh net-destroy default
virsh net-undefine default
service libvirtd restart
8 Ensure that the View Connection Server instances in the pod can be resolved through DNS.
Setting Up Horizon 7 for Linux Desktops
VMware, Inc. 27