This article will describe installing LXDE desktop environment and XRDP, and connecting to LXDE desktop environment via XRDP.
Table of Contents
1 Install LXDE desktop environment
Install LXDE 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 "lxsession -s LXDE -e LXDE" > ~/.xsession
4 Connect to LXDE desktop environment via XRDP
The rdesktop connection is as the following.