Install Xrdp on Ubuntu: compatible with Windows Remote Desktop

sudo apt install xrdp openbox

echo "exec openbox-session" >> ~/.xsession

sudo service xrdp restart


  • if you use Openbox, you’ll just see a grey screen upon typing password at Xrdp login. Right-click mouse to open menu.

  • If you just get a gray screen, try editing /etc/xrdp/ to contain

      if [ -r /etc/default/locale ]; then
      . /etc/default/locale
      export LANG LANGUAGE
      exec openbox