Learn the steps to connect the remote Ubuntu 24.04 Noble or 22.04 LTS Jammy JellyFish desktop from Windows 11 or 10 using RDP (remote desktop protocol).
Windows has a convenient feature called Remote Desktop Connection, which uses the RDP protocol to connect a PC remotely. Although it is straightforward to use when establishing a remote desktop connection from Windows to Windows systems, the same goes for the Linux system. This is because the RDP protocol is not installed in Linux by default. In this situation, we have to configure the Linux system to enable RDP manually; we know how to do that in this guide.
What is XRDP?
XRDP is a free and open-source program that implements Microsoft RDP (Remote Desktop Protocol) to easily access Linux systems remotely with a GUI. With XRDP, you can log on to the remote Linux computer and create a desktop session as if you had logged on to a local computer.
Steps to access Ubuntu 24.04/20.04 remotely from Windows 10 or 11
The steps given here can be used on other versions of Ubuntu, such as 20.0/18.04, including Linux Mint, MX Linux, and moreā¦
1. Perform a System update
In this tutorial, we will use the systemās default repository and APT package manager. To rebuild the APT cache, run the system update command once.
sudo apt update
2. Install XRDP on Ubuntu 22.04
As we know, Ubuntu doesnāt have RDP installed like Windows OS. Hence, we need to install XRDP, the open-source implementation of RDP, on our Linux system. The good thing is that we donāt need to add any third-party repository because it can be installed using the systemās default one.
sudo apt install xrdp
3. Start & Enable XRDP Service
To start and also make the service of XRDP enable automatically with system boot, use the given commands:
To start it:
sudo systemctl start xrdp
Enable it:
sudo systemctl enable xrdp
Check the status:
systemctl status xrdp
![Start Enable XRDP Service Start Enable XRDP Service](https://www.how2shout.com/linux/wp-content/uploads/2022/05/Start-Enable-XRDP-Service.png)
4. Open port 3389 in the firewall
Open port 3389 on your systemās firewall to let the other systems in the network access Ubuntu 22.04 Jammy remotely over RDP.
sudo ufw allow from any to any port 3389 proto tcp
Next, find the IP address of your Ubuntu system and note it down somewhere. For that on your terminal run:
ip a
5. Log out of Ubuntu 24.04 or 22.04
Once the installation is completed, log out of your Ubuntu 24.04 or 22.04 system. Otherwise, you will get a black screen issue on Windows while connecting Ubuntu remotely using XRDP.
To log out, click the Power-off icon and select the logout option.
![Log out Ubuntu 22.04 LTS Log out Ubuntu 22.04 LTS](https://www.how2shout.com/linux/wp-content/uploads/2022/05/Log-out-Ubuntu-22.04-LTS.png)
6. Connect Ubuntu 24.04 or 22.o4 remotely using Windows 10 or 11
Finally, go to the Windows 10 or 11 system you are using and click on the Search icon. Type āRemote Desktop Connectionā as its icon appears, and click to open the same.
![Remote Desktop connection on Ubuntu 22.04 Remote Desktop connection on Ubuntu 22.04](https://www.how2shout.com/linux/wp-content/uploads/2022/05/Remote-Desktop-connection-on-Ubuntu-22.04.png)
In the Windows āRemote Desktop Connectionā app, enter the IP address of your Ubuntu system that you noted down and click on the āConnectā button.
For example, our Ubuntu 22.04 IP address was 192.168.17.133
![Remote Desktop Connection Ip address Remote Desktop Connection Ip address](https://www.how2shout.com/linux/wp-content/uploads/2022/05/Remote-Desktop-Connection-Ip-address.png)
When the message appears, āThe identity of the remote computer cannot be verified. Do you want to connect anyway?ā
Click the Yes button.
![The identity of this computer cannot be verified. Do you wish to continue The identity of this computer cannot be verified. Do you wish to continue](https://www.how2shout.com/linux/wp-content/uploads/2022/05/The-identity-of-this-computer-cannot-be-verified.-Do-you-wish-to-continue.png)
The XORG window will open. To graphically control your remote Ubuntu 24.04 or 22.04, enter theĀ usernameĀ andĀ passwordĀ of theĀ remote Ubuntu 24.04 or 22.04Ā you want to connect over RDP.
![XRDP Connect on Windows 11 or 10 XRDP Connect on Windows 11 or 10](https://www.how2shout.com/linux/wp-content/uploads/2022/05/XRDP-Connect-on-Windows-11-or-10.png)
The system will again ask for your systemās password.
![Enter the remote system password Enter the remote system password](https://www.how2shout.com/linux/wp-content/uploads/2022/05/Enter-the-remote-system-password.png)
Finally, using the Remote desktop protocol, the remote Ubuntu 24.04 or 22.04 LTS graphical screen will be on your Windows system.
![Ubuntu 22.04 Jammy remtoe desktop from windows 11 or 10 Ubuntu 22.04 Jammy remtoe desktop from windows 11 or 10](https://www.how2shout.com/linux/wp-content/uploads/2022/05/Ubuntu-22.04-Jammy-remtoe-desktop-from-windows-11-or-10.png)
Ubuntu remote desktop black screen- issue
The issue of getting a black screen or automatically shutting down the Remote desktop connection application on Windows appears if you have not logged out of your remote Ubuntu 22.04 system that you want to connect to. Because using RDP, here we can only open a single session.
Other Articles:
ā¢ Commands to Install Xrdp Server on Debian 11 Bullseye Linux
ā¢ How to Install 7-Zip on Ubuntu 22.04 LTS
ā¢ How to Download Youtube videos on Ubuntu 22.04
ā¢ Install VMware Workstation Player on Ubuntu 22.04 LTS
Getting an oops something went wrong screen on the rdp side.
X does not want to render.
Followed all steps precisely.
I get login failed for display 0.
I know I am using the correct username and password, because it’s what I log into the Linux box with.