Skip to content

Initial RDP support

This MR adds view-only support (remote input can be implemented in a separate MR) for the Remote Desktop Protocol (RDP) using FreeRDP.

How to test

Create a server certificate and a private keyfile for the server:
Open a terminal and run the following commands:

  1. openssl genrsa -out tls.key 4096
  2. openssl req -new -key tls.key -out tls.csr
  3. openssl x509 -req -days 730 -signkey tls.key -in tls.csr -out tls.crt

Now set the path for the server certificate (tls.crt) and the private key file (tls.key) in gsettings accordingly (tls-cert and tls-key in org.gnome.desktop.remote-desktop.rdp)

Now create a SAM file for client authentication (NlaSecurity):

  1. (as root) mkdir -p /etc/winpr
  2. (as root) winpr-hash -u <user_name> -p <password> -f sam > /etc/winpr/SAM

Now you can start a RDP session via
xfreerdp /v:127.0.0.1 /rfx /u:<user_name> /p:<the-password-you-set-above> (using the RemoteFXCodec)

or simply connect via the RDP Client in MS Windows

Edited by Pascal Nowack

Merge request reports