To use a FreeRDP client for RDP connections to remote desktops, your Linux machine must include the required version of FreeRDP.

For a list of the packages that xfreerdp depends on in Ubuntu, go to https://github.com/FreeRDP/FreeRDP/wiki/Compilation.

Prerequisites

On your Linux client machine, download FreeRDP 1.1 from GitHub, at https://github.com/FreeRDP/FreeRDP.

Procedure

  1. Patch with the file called freerdp-1.1.0.patch, using the following patch commands:
    cd /client-installation-directory/patches/FreeRDP-stable-1.1
    patch -p1 < freerdp-1.1.0.patch
    patch -p1 < freerdp-1.1.0-tls.patch

    Here client-installation-directory is the path to VMware-Horizon-Client-YYMM-x.x.x-yyyyyyy.arch, where YYMM is the marketing version number, x.x.x is the internal version number, yyyyyyy is the build number, and arch is the CPU instruction set architecture.

    The freerdp-1.1.0-tls.patch file enables the TLSv1.2 connection in xfreerdp. If you have installed the VMware Horizon Client for Linux, the freerdp-1.1.0.patch and freerdp-1.1.0-tls.patch files are located in the /usr/share/doc/vmware-horizon-client/patches directory. For more information about the freerdp-1.1.0.patch file, see the README.patches file in the same client-installation-directory/patches directory.

  2. Run the following command:
    cmake -DWITH_SSE2=ON -DWITH_PULSEAUDIO=ON -DWITH_PCSC=ON -DWITH_CUPS=ON .
  3. Run the following command:
    make
  4. Run the following command, which installs the built xfreerdp binary in a directory on the execution PATH so that Horizon Client can run the program by executing xfreerdp:
    sudo make install