Does an RDP client library under Linux exist?

前端 未结 8 2165
时光取名叫无心
时光取名叫无心 2020-12-29 10:43

Are there any libraries for connecting as a client via Remote Desktop Protocol (RDP) in Linux? The language used is secondary to the issue of existence. Any mainstream lan

相关标签:
8条回答
  • 2020-12-29 11:11

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

    See the -X option in help

    0 讨论(0)
  • 2020-12-29 11:24

    You can look at these implementations:

    • FreeRDP (Apache License) - mostly C.
    • FreeRDP C# bindings
    • FreeRDP-WebConnect for HTML5 stuff
    • rdesktop (GPLv2) - mostly C.
    • rdpy (GPLv3) - python but bitmap stuff is written in C (borrowing code from rdesktop)
    • properJavaRDP (GPL) - java

    Non portable implementations:

    • Terminals (MS-CL) - visual studio project.

    And the reference documents:

    • http://msdn.microsoft.com/en-us/library/cc240445.aspx
    • http://msdn.microsoft.com/en-us/library/cc240452.aspx (message flows / connection sequence)
    0 讨论(0)
  • 2020-12-29 11:25

    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.

    0 讨论(0)
  • 2020-12-29 11:28

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

    0 讨论(0)
  • 2020-12-29 11:30

    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

    0 讨论(0)
  • 2020-12-29 11:31

    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.

    0 讨论(0)
提交回复
热议问题