Install Xrdp on Ubuntu: compatible with Windows Remote Desktop

apt install xrdp openbox

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

service xrdp restart

Notes

  • 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/startwm.sh to contain

      #!/bin/sh
    
      if [ -r /etc/default/locale ]; then
      . /etc/default/locale
      export LANG LANGUAGE
      fi
    
      exec openbox
    

Leave a Comment