Setup xrdp Remote Desktop to Access Ubuntu machine from Windows Machine
Windows 10 comes with an application called “Remote Desktop”
You don’t have to pay for it.
You can connect to any machine you know the IP address for and the username and password credentials for using Windows Remote Desktop.
You don’t have to connect to another Windows machine, you can connect to another Ubuntu (or whatever Linux flavor) machine, but, you will need to setup something called xrdp on the Linux machine first.
- Open a terminal
- Enter these commands
sudo apt-get update
sudo apt-get install xrdp
sudo apt-get install xfce4
sudo apt-get install xfce4-terminal
sudo apt-get install gnome-icon-theme-full tango-icon-theme
sudo sed -i.bak '/fi/a #xrdp multiple users configuration \n xfce-session \n' /etc/xrdp/startwm.sh
sudo ufw allow 3389/tcp
sudo /etc/init.d/xrdp restart
3. To connect from Windows machine hit windows key and search for “remote desktop”
4. Enter the ip address of the machine you want and then enter the username and password in the next step.