Install XRDP on VPS Ubuntu – Digital Ocean


Hi friend yesterday i’m very hard to install a RDP on Linux (VPS Ubuntu) i’ve many tried but always fail, yes we know the ISO Distro Linux very different on any company (example Digitalocean and Vultr)

by the way, im use VPS Digital Ocean $10/month using Ubuntu 16 (Latest) you can install on Ubuntu 14 or 12 🙂
Let’s get started !

# STEP 1 – Install Requirement A

1. Enter these commands on your Linux terminal:

apt-get purge apache2* bind9* samba*
apt-get update
apt-get upgrade
apt-get install nano
apt-get install firefox
apt-get install xorg lxde-core tightvncserver
sudo apt-get update
sudo apt-get install wine

2. Run vncserver for 1st and enter a password you want to use:

vncserver :1

3. Now kill the vncserver:

vncserver -kill :1

4. Open and edit “xstartup”:

nano ~/.vnc/xstartup

Now at the bottom of this file place the following text, then use ctrl+x click Y and ENTER to save and exit

/usr/bin/lxsession -s LXDE

5. Reboot your VPS


After rebooting your VPS type this command and then open vncserver:

vncserver :1 -geometry 1024x768 -depth 16 -pixelformat rgb565


# STEP 2 – Install Requirement B – Install RDP XRDP

This Command For :

  • Install XRP
  • Update & Upgrade
  • Install environment & ubuntu dekstop
sudo apt-get install xrdp
sudo apt-get update
sudo apt-get install mate-core mate-desktop-environment mate-notification-daemon
apt-get install ubuntu-desktop --no-install-recommends
apt-get install ubuntu-desktop
apt-get install xrdp
  • for installing a chrome on XRDP
wget -q -O - | sudo apt-key add -
sudo sh -c 'echo "deb stable main"
sudo apt-get update
sudo apt-get install google-chrome-stable
  • for 64 bit:
    sudo dpkg -i Downloads/google-chrome-stable_current_amd64.deb
  • for 32 bit:
    sudo dpkg -i Downloads/google-chrome-stable_current_i386.deb

for change time zone

sudo dpkg-reconfigure tzdata

– After reboot your VPS again, now run Remote Dekstop (IP User and Password)

Full Screen My XRDP on VPS Ubuntu 16 64Bit DigitalOcean

Can launch Hitleap ^_^

Thanks for reading, don’t hestiate comment if you succes or have a troublem installing XRDP on VPS 🙂


  1. Great tutorial, thanks for sharing bro 🙂
    i’ve many try too, but you’re tutorial 100% work for me
    Once again THANKS 😀

  2. wow great, finally i get your tutorial and working fine on my vps linode .
    i’ve tried many and many but always fail, thnaks matte !

Leave A Reply