In this tutorial I will be showing you how use Windows Remote Desktop Connection to Remote Access Ubuntu 20.04. We will Install remote tools with a simple script.
- This is the first step in the process to enable remote access. Run the following command to install XRDP.
sudo apt install xrdp
2. In this step we are going to enable the XRDP service.
sudo systemctl enable --now xrdp
3. In this last step we are creating a rule to allow incoming traffic on port 3389.
sudo ufw allow from any to any port 3389 proto tcp
4. Now you need to find the IP address of the Ubuntu 20.04 computer. You will use this address to use the Windows Remote Desktop Connection (RDC) to connect into Ubuntu 20.04.