Does an RDP client library under Linux exist?

大兔子大兔子 提交于 2019-11-30 05:05:40

There is a set of cross-platform open source RDP libraries available in FreeRDP project. They are written in C and under Apache Licence 2.0. See http://www.freerdp.com

Typing rdp into my Mandriva Software Managment tool revealed libxrdp which is a library that xrdp depends on but I don't know the details so it may not be what you want.

The project website is xrdp.sourceforge.net.

rdesktop is going to be your best option. The code is quite clean and I don't think making a library would be a huge deal.

Another option if you prefer Java is the ProperJavaRDP Client http://properjavardp.sourceforge.net/ . It's nearly a strait port of rdesktop.

You can look at these implementations:

Non portable implementations:

And the reference documents:

Sorry, but a quick strace and nm of rdesktop reveal nothing beyond X, crypto, and compression libs.

rdesktop does allow embedding into other windows, how does it not serve your purpose?

See the -X option in help

You could embed rdesktop in a window of your own per J-16 SDIZ's suggestion and then send X.org events to that window programmatically. A similar route would be to install a VNC server on the Windows machine and run a VNC client on the Linux machine. That way you can also programmatically send X.org events to the VNC client.

This is what browsershots.org uses to programmatically control various web browsers in a cross-platform way through Python. Have a look at the gui directory if the browsershots.org client source code

I've gotten xrdp to work with RHEL on EC2: xrdp.org

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!