Update : Sept 2019
looks like same issue as 18.04.3 LTS XRDP "login failed for display: 0"
known issue with xRDP and Ubuntu 18.04.2. Performing xrdp installation on ubuntu 18.04.2 does not intall xorgxrdp package because dependencies are not met......
To fix this......
Best option - Install the new xorgxrdp-hwe-18.04 package
Install the new xorgxrdp package by issuing the following command
sudo apt-get install xorgxrdp-hwe-18.04
This should fix your issue
Quick and Dirty fix - Downgrade to xorg-xserver-core packages
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 http://c-nergy.be/blog/?p=13390
Other option - use xrdp installer script to automate your installation
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 http://c-nergy.be/blog/?p=13933
To compile from source (easy
way), read instructions and download the script at
http://c-nergy.be/blog/?p=13663
Hope this help
Till next time
See ya