You must perform certain tasks to prepare a Linux guest operating system for use as a desktop in a Horizon 6 deployment.

About this task

Before a Linux guest operating system can be managed by Horizon 6, the machine must be able to communicate with the other machines in the environment. You must configure the Linux machine to be resolvable through DNS. Otherwise, View Agent cannot be registered as a machine source and the machine cannot be added to a desktop pool.


  • Verify that a new virtual machine was created in vCenter Server and your Linux distribution was installed on the machine

  • Familiarize yourself with the steps for mounting and installing VMware Tools on a Linux virtual machine. See "Manually Install or Upgrade VMware Tools in a Linux Virtual Machine" in the vSphere Virtual Machine Administration document.

  • 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.

  • Familiarize yourself with the required JRE version for your Linux distribution. See Required JRE Versions for Linux Guest Operating Systems.


  1. In vSphere Web Client or vSphere Client, mount the VMware Tools virtual disk on the guest operating system.
  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. In the virtual machine, log in to the guest operating system and 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 ./ -d

    Usually, the configuration file runs after the installer file finishes running.

  6. Configure the Linux machine to be resolvable through DNS.
  7. Ensure that the View Connection Server instances in the pod can be resolved through DNS.
  8. If your deployment uses a Windows Server 2012 or Windows Server 2012 R2 Active Directory (AD) server, enable reversible password encryption.
    1. On the AD server, open AD users and computers.
    2. Right-click the View Admin account, or create a new Linux View Agent account, and select Properties.
    3. Select the Account tab.
    4. In Account options, select the Store password using reversible encryption setting.
    5. Reset the View Admin password.
  9. If the Linux virtual machine is not connected to the Internet, manually download and install the required JRE version before you install View Agent.

    You do not have to take this step if the machine is connected to the Internet. In this case, the View Agent installer automatically downloads the JRE to the machine.

    If necessary, take the following steps to install the JRE:

    Linux Distribution


    Ubuntu 12.04

    Open a terminal window and run the following commands.

    1. sudo add-apt-repository -y ppa:webupd8team/java

    2. sudo apt-get update

    3. sudo apt-get -y install oracle-java7-installer

    RHEL 6.6

    CentOS 6.6

    NeoKylin 6

    1. Download jre-7u79-linux-i586.rpm or jre-7u79-linux-x64.rpm from

    2. Install the rpm: sudo rpm -i jre-7u79-linux-i586.rpm or sudo rpm -i jre-7u79-linux-x64.rpm


After installing VMware Tools, if you upgrade the Linux kernel, VMware Tools might stop running. To resolve the problem, see