Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save peter279k/59587eac765d9c3c4573634bf298db9e to your computer and use it in GitHub Desktop.
Save peter279k/59587eac765d9c3c4573634bf298db9e to your computer and use it in GitHub Desktop.
Install Remote Desktop (xRDP) for Ubuntu Server 18.04

Install Remote Desktop (xRDP) for Ubuntu Server 18.04

Step 1 – Install xRDP:

sudo apt update
sudo apt install xrdp

Step 2 – Install XFCE4

sudo apt install xfce4
sudo apt-get install xfce4-terminal tango-icon-theme

Step 3 - Configure

echo xfce4-session > ~/.xsession

Step 4 - Restart xRDP

sudo service xrdp restart

Step 5 - Testing

On Windows PC, use mstsc to connect to the ubuntu server

@seamaner
Copy link

sudo systemctl disable --now firewalld

@peter279k
Copy link
Author

sudo systemctl disable --now firewalld

As far as I know, the firewalld is not included in the Ubuntu Linux distribution by default.

Once you've installed the firewalld, you need to disable or add the rule to let the RDP port number (3389) can pass the firewall.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment