OpenSUSE Leap 15: Connect to LXDE desktop environment via XRDP

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

1 Install LXDE desktop environment

Install LXDE desktop environment with this.

2 Install XRDP

Install XRDP and create ~/.xsession.

#!/bin/sh


sudo zypper -n in xrdp
sudo systemctl enable xrdp
sudo systemctl start xrdp
sudo firewall-cmd --add-port=3389/tcp --permanent
sudo firewall-cmd --reload

echo "lxsession -s LXDE -e LXDE" > ~/.xsession

3 Connect to LXDE desktop environment via XRDP

The rdesktop connection is as the following. If you have already logined via display, XRDP will be failed.

0001_xrdp-lxde.png