Ive got black screen when tried connect to linux from Windows Remote Desktop Connection. Solution on Lubuntu 18.04:

  1. install xrdp server:
    sudo apt install xrdp
    sudo systemctl enable xrdp
  2. In the /etc/xrdp/startwm.sh, you will need to comment (#) the last two lines and add at the bottom of the file, the following line, and SAVE:
    lxsession -s Lubuntu -e LXDE

  3. Finally restart xprdp:
    sudo /etc/init.d/xrdp restart