Setup xrdp on Ubuntu as a Windows Terminal server alternative

Quick tutorial for an XRDP installation on Ubuntu. Setting up remote GUI access has always been quite a pain. XRDP is lightweight and really easy to install for a remote administrative GUI desktop. This is a 2 minute setup for a minimal lightdm desktop manager install and setup from a server installed with Ubuntu.

apt-get update
sudo apt-get install xubuntu-desktop --no-install-recommends
sudo apt-get install xrdp

Edit the /etc/xrdp/ file

sudo vim /etc/xrdp/

and comment out the line

. /etc/X11/Xsession

and add the line


Check the startup, start if not running

$ /etc/init.d/xrdp status

and start if it is not running

/etc/init.d/xrdp start

Point your default installed Remote Desktop Connection application on windows, any linux or MAC at the server IP address and login.

Enter your comment:
172 -2 = 
  • linux/misc/xrdp.txt
  • Last modified: 2019-10-31 09:05
  • (external edit)