Linux under the compiled source for USB redirection to the Remote Desktop test, after the correct configuration of parameters, can be normal redirection. The following steps are described:
⑴ install git on a virtual machine, install commands such as sudo apt-get install git.
⑵ download FREERDP source code from GitHub, command: Git clone git://github.com/freerdp/freerdp.git
⑶ to freerdp directory download FREERDP compile and run dependencies on the Library, command: sudo apt-get install build-essential git-core cmake Libssl-dev Libx11-dev Libxext-dev libxinerama-dev \
Libxcursor-dev libxdamage-dev libxv-dev libxkbfile-dev libasound2-dev libcups2-dev libxml2 libxml2-dev \libxrandr-dev Libgstreamer0.10-dev Libgstreamer-plugins-base0.10-dev
⑷ Use the CMake tool to generate the makefile files needed to compile FREERDP, command: Cmake-dcmake_build_type=debug-dwith_sse2=on
⑸ environment is good, you can start to compile and install FREERDP, compile command: Make, install command: make install
⑹ creates a configuration file that configures the library path where the FREERDP resides, commands: sudo nano/etc/ld.so.conf.d/freerdp.conf, writes/USR/LOCAL/LIB/FREERDP to the file.
⑺ Check that the configuration file is correct, and view the FREERDP path for sudo ldconfig,which xfreerdp.
⑻ run FREERDP, without USB redirection operation parameters: Xfreerdp/u:admin/p:1/w:1366/h:768/v:192.168.0.209:80. Operating parameters with USB redirection: xfreerdp/u:administrator/p:realor#123/w:1366/h:768/drive:usb,/mnt/hgfs/v:192.168.0.209:3389. /mnt/hgfs is a USB mount directory, Mount command mount-t vfat/dev/sdb1/mnt/hgfs/,/dev/sdb1 the SDB1 name of this device is also likely to change, use the sudo fdisk-l command to view the mapped device name, The USB format is FAT32, and if it is not FAT32, it is not mounted with this command.
Reference URL: http://ifconfig.dk/freerdp/
Ubuntu under compile install run FREERDP connect windows.