Ubuntu 20.04: Connect to LXDE desktop environment via XRDP

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

1 Install LXDE desktop environment

Install LXDE desktop environment with this.

2 Install XRDP

#!/bin/sh

sudo apt install -y xrdp openbox-lxde-session
sudo sed -e 's/^new_cursors=true/new_cursors=false/g' \
     -i /etc/xrdp/xrdp.ini
sudo systemctl enable xrdp
sudo systemctl restart xrdp

echo "startlxde" > ~/.xsession

3 Connect to LXDE desktop environment via XRDP

Use Xorg as a session type. Windows Remote Desktop Connection is as the following.

0001_xrdp-lxde.png