Horizon Agent for Linux has some dependency packages unique to a Linux distribution. You must install these packages before installing Horizon Agent for Linux.

Prerequisites

Verify that a new virtual machine (VM) is created in vCenter Server and your Linux distribution is installed on the machine.

Procedure

  1. Install the mandatory packages that are not installed or upgraded by default. The installer breaks the installation if any package does not meet the requirement.
    Table 1. Mandatory Dependency Packages

    Linux Distribution

    Packages

    RHEL or CentOS 7

    Upgrade VMware Graphic driver for 2D desktop and vSGA desktop.

    Note:

    This option is not application for vDGA and vGPU as they use NVIDIA Graphic driver in the VM.

    yum install mesa-libxatracker xorg-x11-drv-vmware mesa-private-llvm mesa-dri-drivers

    After updating, packages should be below version or newer:

    • xorg-x11-drv-vmware-13.0.2-7.20150211git8f0cf7c.el7.x86_64

    • mesa-libxatracker-10.6.5-3.20150824.el7.x86_64

    • mesa-private-llvm-3.6.2-2.el7.x86_64

    • mesa-dri-drivers-10.6.5-3.20150824.el7.x86_64

    Note:

    The update is not available for CentOS default online repository. You must enable the CentOS continuous release (CR) repository.

    yum-config-manager --enable "CentOS-7 - cr"

    After upgrading VMware Graphic driver, you can disable the repository again.

    yum-config-manager --disable "CentOS-7 - cr"

    SLED 11 SP3/SP4

    Upgrade xorg-x11-server to a version later than 7.4.27.111.1

    zypper install xorg-x11-server

    SLED 12 SP0

    Upgrade VMware Graphic driver to a version later than 13.1.0-5.2

    zypper install xf86-video-vmware

    if xf86-video-vmware-13.1.0-5.2.x86_64 or newer is not available in SLED online repository, you must enable the OpenSUSE online repository to install it.

    1. zypper addrepo http://download.opensuse.org/distribution/leap/42.1/repo/oss/ oss-42.1

    2. zypper ref

    3. zypper install xf86-video-vmware

    4. zypper removerepo oss-42.1

    Ubuntu 1404

    Upgrade indicator-session to 12.10.5+15.04.20150327, available in https://launchpad.net/ubuntu/wily/amd64/indicator-session/12.10.5+15.04.20150327-0ubuntu1

    wget http://launchpadlibrarian.net/201393830/indicator-session_12.10.5+15.04.20150327-0ubuntu1_amd64.deb
    sudo dpkg -i ./indicator-session_12.10.5+15.04.20150327-0ubuntu1_amd64.deb 
    
  2. Install the optional packages for Horizon Agent.

    Clipboard Redirection feature depends on libexpat.so.1 and libpng12.so.0. The installer displays a warning message for any missing library file and the installation continues. However, Clipboard Redirection feature will not work.

    Table 2. Optional Dependency Packages

    Linux Distribution

    Packages

    RHEL or CentOS 6.6

    • expat-2.0.1-11.el6_2.x86_64

    • libpng-1.2.49-1.el6_2.x86_64

    RHEL or CentOS 7.1

    • expat-2.1.0-8.el7.x86_64

    • libpng12-1.2.50-6.el7.x86_64

    Ubuntu 1204/1404

    • libexpat1

    • libpng12-0

    SLED 11 SP3/SP4

    • libexpat1-2.0.1-88.34.1

    • libpng12-0-1.2.31-5.35.1

    SLED 12 SP0

    • libexpat1-2.1.0-13.232.x86_64

    • libpng12-0-1.2.50-10.1.x86_64