-
Notifications
You must be signed in to change notification settings - Fork 0
Compilation
Install the suggested base dependencies:
debian based
sudo apt-get install build-essential git cmake libssl-dev libx11-dev libxext-dev libxinerama-dev libxcursor-dev libxdamage-dev libxv-dev libxkbfile-dev libasound2-dev libcups2-devrhel based
sudo yum install gcc cmake openssl-devel libX11-devel libXext-devel libXinerama-devel libXcursor-devel libXdamage-devel libXv-devel libxkbfile-devel alsa-lib-devel cups-develOptionally, you can install the following dependencies:
debian based sudo apt-get install libcunit1-dev libdirectfb-dev xmlto doxygenwhere cunit is for the unit tests, directfb is for dfreerdp, xmlto is for man pages, and doxygen for API documentation.
Generate makefiles:
cmake -DCMAKE_BUILD_TYPE=Debug -DWITH_SSE2=ON .If you are using Eclipse, you can also generate Eclipse project files:
cmake -G “Eclipse CDT4 – Unix Makefiles” -DCMAKE_BUILD_TYPE=Debug -DWITH_SSE2=ON .Build:
makeInstall:
sudo make installNow create /etc/ld.so.conf.d/freerdp.conf and add the following line to it:
/usr/local/lib/freerdpDepending on your OS/distribution, you may also need to add this line:
/usr/local/libRun ldconfig. You should now have xfreerdp installed in /usr/local/bin:
awake@envy:~$ which xfreerdp /usr/local/bin/xfreerdpPlugins are installed in /usr/local/lib/freerdp:
awake@envy:/usr/local/lib/freerdp$ ls cliprdr.so disk.so drdynvc.so printer.so rail.so rdpdbg.so rdpdr.so rdpsnd_alsa.so rdpsnd.sokeymaps are installed in /usr/local/share/freerdp:
awake@envy:/usr/local/share/freerdp$ ls keymaps/ aliases ataritt empty fujitsu ibm macosx sony xfree86 xkb.pl amiga digital_vndr evdev hp macintosh sgi_vndr sun xfree98After launching FreeRDP at least once, ~/.freerdp will be created to store known hosts:
awake@envy:~/.freerdp$ ls cacert known_hostsCA certificates can be added to ~/.freerdp/cacert for additional trusted CAs.