Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed xrdp on my new Ubuntu Server 12.xx I saw a video that talked about creating a .xsession because of the 3D and 2D desktop. But it didn't work.

If I take the .xsession out it opens a empty desktop with no icons on it.

This is the content of the .xsession file.

gnome-session --session=ubuntu-2d

Any suggestions?

share|improve this question
Are you running 12.10 or 12.04? – Seth Mar 28 '13 at 2:03

Please check my answer here:

Remote desktop for multiple users

X2go and ssh Works with better support and features for linux remote desktop. (Like, file sharing, clipboard sharing, sound over net, web client, etc).

share|improve this answer

I know it's an old post but the answer might be useful to somebody out there.

  • if you are running ubuntu 12.04, you can use the command
    gnome-session --session=ubuntu-2d in the .xsession and this should work.
  • if you are running ubuntu 12.10 and you are using the command gnome-session --session=ubuntu-2d, this will not work because ubuntu-2d was not available anymore. If you are planning to use ubuntu 12.10, you should add the following command in your .xsession file gnome-session --session=gnome-fallback instead of gnome-session --session=ubuntu-2d
  • If you want to use xrdp with Ubuntu version higher than 12.10, you would need to install an alternate desktop (xfce,mate-desktop,kde, choose) and update accordingly your .xsession file..

You can find detailed information about using xrdp and ubuntu 14.04 following this link (

Hope this help

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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