There is a known issue with Ubuntu 18.04.2 and 18.04.3 and xrdp package found in the repository. When you install xrdp from repository on Ubuntu 18.04.2 and later, the package needs xorg-xserver-core packages while these point releases have the xorg-xserver-core-hw* packages installed
Please note also that since Ubuntu 18.04, xRDP is working fine with the GNOME Desktop and you can perform an xRDP connection to the system.
To fix this issue, you can use one of the following options below
BEST OPTION - Install xorgxrdp-hwe-18.04 package
A new compatible xorgxrdp package has been made available for Ubuntu 18.04.2 and 18.04.3. Install it by issuing the following command
sudo apt-get install xorgxrdp-hwe-18.04
OPTION A - Downgrading packages xorg-xserver-core
We assume that you have already installed xRDP package and you want to fix it
sudo apt-get install xserver-xorg-core
sudo apt-get -y install xserver-xorg-input-all
More info on this blog post
OPTION B - Use compiled packages from Thiago
Note : To use this option, please remove the xrdp package you have installed
sudo add-apt-repository ppa:martinx/xrdp-hwe-18.04
sudo apt-get update
sudo apt-get install xrdp xorgxrdp
more info at this blog post
OPTION C - Use the installation scripts
Note : To use this option, please remove the xrdp package you have installed
You can automate the xrdp installation and have it working nicely with Ubuntu Default Desktop using one of the following scripts
- To use Ubuntu repository packages, read instructions and download the script at this blog page
- To compile from source (easy way), read instructions and download the script at this blog page