Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does an RDP client library under Linux exist?

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 language would do (e.g. C++, Perl, Java, Ruby, PHP, Python), and even less popular ones like OCaml or Scheme.

Is there any option available other than taking the rdesktop source and hacking a library out of that?

like image 252
Bribles Avatar asked Jul 01 '09 21:07

Bribles


People also ask

Does Linux have RDP?

The “RDP” MethodThe simplest option to enable remote connections to Linux desktops is by using the remote access tool built directly into the Windows OS: Remote Desktop Protocol (RDP).

What is the Linux equivalent of RDP?

X2Go is an open-source cross-platform remote desktop software similar to VNC or RDP, that offers remote access to a Linux system's graphical user environment over the network using a protocol, which is tunneled through the Secure Shell protocol for better encryption of data.


Video Answer


2 Answers

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)
like image 109
dnozay Avatar answered Sep 28 '22 12:09

dnozay


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

like image 27
Greg Smirnov Avatar answered Sep 28 '22 10:09

Greg Smirnov