Ubuntu 20.04 Remote Desktop Access from Windows 10 with xRDP
Cloud Tech
This tutorial will show you step-by-step and demonstrate how to install and then use the xRDP Remote Desktop software on Ubuntu 20.04 (but any flovour of Linux will be similar) so I can connect to it and use it from my main Windows 10 PC.
Terminal Commands:
Update the list of packages in the reposity index
-------------------------------------------------
sudo apt update
Install the main xrdp package.
It will bring in all its dependencies
-------------------------------------
sudo apt install xrdp
Although xrdp is already started,
make sure its restarted if the machine reboots
-------------------------------------------
sudo systemctl enable xrdp
Open up the RDP port 3389 in the firewall
-----------------------------------------
sudo ufw allow from any to any port 3389 proto tcp
show the IP Address of the machine
---------------------------------
ip address
Video Transcript:
Video : 0 - Final - Combined - The Result
Before I show you how to easily install XRDP and use it, I thought I’d first show you the result. So, on screen you can see my main windows 10 PC, and the insert on the right-hand side is the screen from my ubuntu linux PC, which I have had to move into the garage. [break time='500ms'/] However, I still want to use it, even though its difficult to get to. So, I installed XRDP on it. [break time='1s'/] Now anytime I want to use it, I just start the remote desktop connection software that comes on all windows PCs, if your main PC is linux you can use tools like reminna to do the same thing. [break time='2s'/] Type in its IP address, which I’ll show you how to get, and press connect. [break time='2s'/] At the XRDP login screen, I simply use my linux username and password to login. [break time='2s'/] The result is that I can work on either my windows PC, or my ubuntu PC. [break time='1s'/] So, after the following introduction, I’ll show you how it was installed using only 4 short commands., all of which you will find in the YouTube comments section.
Video : 2 - Final - Installing xRDP on Ubuntu 20.04
On screen you can see my ubuntu PC, on which I have displayed the 4 installation commands, and a show me its Ip address, information command. I copy each into a terminal window. [break time='2s'/] The last command shows the IP addresses assigned to this machine, which are identified by the prefix INET. Just ignore the IP address 127.0.0.1 as that is just the machines loopback address, not its proper IP address. [break time='2s'/] When finished just reboot the linux machine so we can guarantee a clean start.
Video : 3 - Final - Combined - RDP Usage
31704675 Bytes