What are the specific installation steps for Xrdp on Ubuntu 18 enabling connection from Mac OS X Sierra to Ubuntu 18?

I have tried installing and hit problems - all help gratefully received.


I installed Ubuntu 18 directly on a MacBook Pro 2015 all is fine except for remote access via XRDP. I have multiple machines hence Microsoft Remote desktop access is preferred. I installed Xrdp using the instructions here but encounter problems on the connection:

  1. A black screen with a displayed error: "Could not acquire name on session bus" on the first connection

enter image description here

  1. A black screen for a 10 to 20 seconds
  2. Then a desktop with two errors prompts

enter image description here


  • MacBook Pro 2018 Mac OS X Sierra
  • MacBook Pro 2015 Ubuntu 18

I did a clean install on the MacBook Pro 2015 of Ubuntu 18.


You have simply used outdated information as you have followed instructions for installing xrdp on top of Ubuntu 16.04 (which are originally coming from this blog). My suggestion would be to use the new instructions available for Ubuntu 18.04 as a lot of changes have been introduced in this version....

New xrdp package is available in Ubuntu 18.04 and you can get the detailed info to perform a scripted install on your Ubuntu 18.04. You have multiple versions of the script... the latest one provide more features and options ([http://c-nergy.be/blog/?p=12551]) 2

If you want to play it safe and try a simpler version of the script, you could try the version 0.3 (which can be founded at http://c-nergy.be/blog/?p=12198

Hope this help Till next time See ya

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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