Ubuntu 16.04: Connect to Xfce desktop environment via XRDP

This article will describe installing Xfce desktop environment and XRDP, and connecting to Xfce desktop environment via XRDP.

1 Install Xfce desktop environment

Install Xfce desktop environment with this.

2 Install XRDP

Install XRDP.

$ sudo apt install -y xrdp

3 Create ~/.xsession

Create .xsession in home directory of user to be connected.

$ echo "xfce4-session" > ~/.xsession

4 Connect to Xfce desktop environment via XRDP

The rdesktop connection is as the following.

0001_xrdp-xfce.png