Setting Up for Linux Desktops

Table Of Contents
USB Redirection and Client Drive Redirection (CDR) features are sensitive to network conditions. If the
network condition is bad, such as limited bandwidth with time delay and packet loss, the user experience
becomes poor. In such condition, the end user might experience one of the following.
n
Copying remote files can be slow. In this situation, transmit smaller sized files instead.
n
USB device does not appear in the remote Linux desktop.
n
USB data does not transfer completely. For example, if you copy a large file, you might get a file
smaller in size than the original file.
VHCI Driver for USB Redirection
The USB redirection feature is supported beginning with Horizon 7 version 7.1 for Linux desktops. The
feature has a dependency on the USB Virtual Host Controller Interface (VHCI) kernel driver. You must
patch the VHCI driver to support USB 3.0.
The Horizon for Linux installer includes the VHCI driver binary for the default kernel of the supported
Linux distributions. The installer installs the VHCI driver when the USB redirection feature is selected.
Table 18 lists the default kernel versions that the Horizon for Linux installer installs.
Table 18. Default Kernel Versions
Linux Distribution Default Kernel Version
RHEL/CentOS 6.9 2.6.32-696.el6.x86_64
SUSE 12 SP2 4.4.21-69-default
RHEL/CentOS 7.3 3.10.0-514.el7.x86_64
Ubuntu 14.04 3.13.0-24-generic
Ubuntu 16.04 4.4.0-21-generic
If your Linux system uses a kernel version that is different from the default versions included with the
Horizon for Linux installer, you must download the USB VHCI source code from
https://sourceforge.net/projects/usb-vhci/files/linux%20kernel%20module/. You must then compile the
VHCI driver source code and install the resulting binary on your Linux system.
Note The VHCI driver installation must be done before the installation of Horizon for Linux.
After you download the latest version of the USB VHCI driver source code, use the commands in
Table 19 to compile and install it on your Linux system. For example, if you unpack the installation file,
VMware-horizonagent-linux-x86_64-<version>-<build-number>.tar.gz, under
the /install_tmp/ directory, the full-path_to_patch-file is /install_tmp/VMware-
horizonagent-linux-x86_64-<version>-<buildnumber>/resources/vhci/patch/vhci.patch
and the patch command to use is
# patch -p1 < /install_tmp/VMware-horizonagent-linux-x86_64-<version>-<build-
number>/resources/vhci/patch/vhci.patch
Setting Up Horizon 7 for Linux Desktops
VMware, Inc. 18