Sponsored Links

Donate via Bitcoin

Donate to Scarygliders

Ubuntu Natty, xrdp, gnome-session, “No valid session found.”

​Updated information for Ubuntu 11.10 at end of article.

One of my workstations I use as a general amusement/development station, and as such I usually move over to the development version of Ubuntu a few months after it has been initially released.

Ubunut Natty is now underway, and Ubuntu want to push its use of Unity desktop manager. I however wish to use the gnome-desktop without any fancy-schmancy features, because I remotely log in to that machine via xrdp.

Because of this, recently I’ve been puzzled as to why I get a single message window appear saying “No valid session found.”, when logging in via xrdp. A quick internet search revealed a change in the gnome-session package, and the solution quickly came after.

In my ~/.xsession file – which is what xrdp looks at to find what desktop session I require, I had;

gnome-session

This has been working fine up until the recent Natty release.

You need to change that entry to;

gnome-session --session=2d-gnome

This will start your classic gnome desktop.

Update 2011-11-28;

You might like to read the latest article here which has lots of updated and useful information;

X11rdp, Ubuntu 11.10, Gnome 3, xrdp customization – New Hotness!

 

UPDATE 2011-10-23;

For Ubuntu Server 11.10 / Ubuntu 11.10, change that to;

gnome-session --session=ubuntu-2d

​Thanks to Menno for the heads-up.

VN:F [1.9.22_1171]
Rate This Article
Rating: 8.3/10 (9 votes cast)
Ubuntu Natty, xrdp, gnome-session, "No valid session found.", 8.3 out of 10 based on 9 ratings
Share the knowledge :
Facebook Twitter Pinterest Linkedin Digg Delicious Reddit Stumbleupon Posterous Email Snailmail

12 comments to Ubuntu Natty, xrdp, gnome-session, “No valid session found.”

Leave a Reply

  

  

  


*

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>