http://blog.csdn.net/liuyifeng_510/article/details/9833197
原流程:
1. 安装Ubuntu12.04.1桌面版;
原流程:
2. sudo apt-get install git
3. git clone git://github.com/FreeRDP/FreeRDP.git
4. cd FreeRDP (可以先备份)
5. sudo apt-get install build-essential git-core cmake libssl-dev libx11-dev libxext-dev libxinerama-dev
6. sudo apt-get install libxcursor-dev libxdamage-dev libxv-dev libxkbfile-dev libasound2-dev libcups2-dev libxml2 libxml2-dev
7. sudo apt-get install libxrandr-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev
8. sudo apt-get install libavutil-dev libavcodec-dev
9. sudo apt-get install libcunit1-dev libdirectfb-dev xmlto doxygen libxtst-dev
10. cmake .
11. make
12. sudo make install
13. vi ./channels/urbdrc/ChannelOptions.cmake
set(OPTION_CLIENT_DEFAULT OFF)改为set(OPTION_CLIENT_DEFAULT ON)
14. rm CMakeCache.txt
15. cmake .
16. make
17. 提示找不到uuid.h
18. sudo apt-get install uuid-dev
19. 提示找不到libudev.h
20. sudo apt-get install libudev-dev
21. 提示找不到libusb-1.0/libusb.h
22. sudo apt-get install libusb-1.0
23. 提示连接错误找不到-ldbus-glib-1
24. sudo apt-get install libdbus-glib-1-dev
25. xfreerdp /u:administrator /sec:rdp /usb:id,dev:XXXX:XXXX /v:192.168.5.84
简化流程:
1. 安装Ubuntu12.04.1桌面版;
2. sudo apt-get install git
3. git clone git://github.com/FreeRDP/FreeRDP.git
4. tar cvfz ./FreeRDP.tar.gz ./FreeRDP/
5. cd FreeRDP
6. 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 libavutil-dev libavcodec-dev libcunit1-dev libdirectfb-dev xmlto doxygen libxtst-dev uuid-dev libudev-dev libusb-1.0 libdbus-glib-1-dev
7. vi ./channels/urbdrc/ChannelOptions.cmake
set(OPTION_CLIENT_DEFAULT OFF)改为set(OPTION_CLIENT_DEFAULT ON)
8. cmake .
9. make
10. sudo make install
11. 测试
cd /usr/local/bin
./xfreerdp /u:administrator /sec:rdp /usb:id,dev:XXXX:XXXX /v:192.168.5.84