To connect Ubuntu MATE 22.04 Desktop system using XRDP and open the desktop without the error message, follow these steps:
- Install XRDP on Ubuntu MATE 22.04:
sudo apt-get update
sudo apt-get install xrdp
- Start the XRDP service:
sudo systemctl start xrdp
- Enable the XRDP service to start automatically on boot:
sudo systemctl enable xrdp
-
On the Windows 10 client, open the Remote Desktop Connection app.
-
Enter the IP address of the Ubuntu MATE 22.04 system and click "Connect."
-
Enter the username and password for the Ubuntu MATE 22.04 system, then click "OK."
If you still encounter issues, ensure that the Ubuntu MATE 22.04 firewall allows XRDP connections. You can use the following command to open the necessary ports:
sudo ufw allow 3389
For connecting from Ubuntu 24, you can follow the same steps, but replace "3389" with "3389/udp" when opening the firewall ports:
sudo ufw allow 3389/udp
Reference(s):