This is a quick note about how I get xrdpworking on Linux Mint 20 Cinnamon.

The Issue

When I install xrdp it works when connecting from certain devices without issues. However, when trying to connect with the stock Remote Desktop Connection application on Windows I get a black screen after entering credentials on this form.



The installation is quick and easy. Run the following via terminal.

sudo apt install xrdp xorgxrdp

The trick after installation is using the following to get the Windows Remote Desktop Connection application to connect.

echo env -u SESSION_MANAGER -u DBUS_SESSION_BUS_ADDRESS cinnamon-session>~/.xsession

At this stage either reboot the computer or run something like the following to restart the xrdp service.

sudo service xrdp restart


I didn’t need to do this when using some rdp clients and the specific issue this resolved for me was with Windows. Hopefully this helps you if you happen to run into a black screen and no desktop after login.

Article Tags:
· ·
Article Categories:

Web developer and former photographer by trade...gamer and all around tech enthusiast in his free time. Christoph started sdatic.com as a way to organize his ideas, research, notes and interests. He also found it enjoyable to connect and share with others who parallel his interests. Everything you see here is a resource that he found useful or interesting and he hopes that you will too.

Leave a Reply

Your email address will not be published. Required fields are marked *