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.

  1. Open a terminal
  2. Enter these commands
sudo apt-get update
sudo apt-get install xrdp

sudo apt-get install xfce4
#Optional stuff
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/

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.

Research and Development | Dev Ops | Software Engineer | Topaz Labs

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store