I have tried to use the xrdp to remotely connect from Windows to Lubuntu. I have tried several ways and have followed several guides but nothing worked. When trying to connect from Windows I am asked for username and password. I enter them but the only thing that is displayed is some kind of gray screen and the cursor is just an cross. Nothing happens after that.

  • This question is marked as duplicate, but the answer in the linked question does not really match. The proposed VNC is not rdp! As the topic starter I'm searching for RDP and not VNC with Lubuntu. – MarkusEgle Jun 1 '16 at 8:25

First open a terminal and enter sudo apt-get install xrdp. When that is installed enter sudo nano /etc/xrdp/startwm.sh in the terminal. Make sure the last line looks like this:

. /etc/X11/Xsession

Then go to your home folder, rightclick and select Show hidden. If there is no file named .xsession, create it. If there is a filed named like that, open it and make sure that it looks like this when your done: lxsession -e LXDE -s Lubuntu

Now type sudo service xrdp restart in the terminal to restart xrdp. Now it should work :)

| improve this answer | |
  • 1
    I have to tell you that I always come back to this answer after re-setting up my server. I'm so glad that you wrote this! – codepleb May 19 '18 at 8:55

Not the answer you're looking for? Browse other questions tagged or ask your own question.