-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
I'm a novice to much of this, so I decided to use this github guide suggested to me by a nice person on this subreddit: https://github.com/neutrinolabs/xrdp/wiki/TLS-security-layer
I followed the github instructions as described, but I'm now no longer able to xRDP in with or without an SSH tunnel.
To provide some perspective, I'm using an Ubuntu 20.04.4 client to access a Debian 11 remote server. Both machines are updated and placed on the same VLAN.
Here were the exact steps I took in my Debian server as root:
- Security changes made to xrdp.ini and xRDP was restarted
tls_cipher=high
security_layer=tls
The system was restarted, there were no issues yet
- Generate a private key and self-signed certificate
$ openssl req -x509 -newkey rsa:2048 -nodes -keyout key.pem -out cert.pem -days 3650
-
Move key.pem (private key) and cert.pem (self-signed certificate) to /etc/xrdp/
-
The path to the key.pem and cert.pem was specified in xrdp.ini (global)
certificate=/etc/xrdp/cert.pem
key_file=/etc/xrdp/key.pem
-
Users were added to ssl-cert group
-
xRDP service was restarted, server was restarted
-
Was not able to log into xRDP, but SSH worked just fine
For reference, here is my xrdp.ini file: https://pastebin.com/Su2igSwn
Here were the outputs I received when I switched security_layer from rdp to tls: https://imgur.com/a/cgRqL7D
I was able to temporarily fix the issue by going into xrdp.ini (global) and changing security_layer from tls to rdp. When I did that, xRDP worked again.
Any suggestions?