I'm trying to connect to a remote desktop (Gnome Ubuntu) using XRDP (Remote Desktop Protocol). However, when I connect with either Apache's Guacamole or Microsofts Remote Desktop, I encounter a black screen with a cursor.
I can verify that my Ubuntu server is running healthily through logs as well as ssh'ing in and running a test (proxmox interface).
Interestingly, when I use xfce4
instead of gnome
, I am able to connect. However, I can't get the terminal to work properly for some reason. If I am logged into gnome using the proxmox interface I can see the terminal popping up in my gnome session when I start it in my xfce xrdp session.
Possible issues:
Possible issues may include my startup/installation script:
# placeholder for script
1. Remove previously installed xrdp:
2. Re-install xrdp & required packages:
You also need to grant access to the /etc/ssl/private/ssl-cert-snakeoil.key file for xrdp user. It is available to members of the ssl-cert group by default.
3. Reboot system:
4. Firewall configuration (optional):
You need to open access on port 3389.
It is more secure to open it only for your IP address or network. For example:
The best practice is to use an SSH tunnel to connect to the remote desktop and make xRDP listen only for local connections.
5. Setup your RDP-client
Please note that in some cases the user who will connect to xRDP must log out before doing so!
Related commands: