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.
Ubuntu Natty, xrdp, gnome-session, "No valid session found.",
emm, ..Please explain where can I find ~/.xsession file ? I tried to find, but it says No such file or directory
In case you didn’t know already , “~/” is unix/linux terminology for your home directory, e.g. /home/username.
So the file you’re wanting to edit is /home/username/.xsession .
Lastly, if it doesn’t exist, create it :)
Regards,
KC.
Thanks …
Kevin, Toshiko if you need a room in Tokyo let me know.
Thanks! :)
It works great!
I’ve tried this solution but I still have the error…
Can someone hemp me, please ?
I don’t know about hemping you ;) but, can you post the contents of your /home//.xsession file?
I tried this on server 11.10 Things have changed a bit:
gnome-session –session=2d-gnome
must be
gnome-session –session=ubuntu-2d
But it works! thanks.
Thanks for the heads-up re server 11.10!
I'll add an update :D
@Menno
i have Unity and on the RDP the issue is that no unity bar is visible – so how can i launch anything except for documents on desktop? :)
rangerek, I’ll see if I can replicate that behaviour… when I have time. You might need to alter your .xsessionrc file to say “unity-2d” for the session type – you may also have to install the unity-2d package – I’m not sure yet, as I say I’ll check this out once I have time.
Regards,
Kevin.
2fqwQ0 , [url=http://nagzhoqgicaj.com/]nagzhoqgicaj[/url], [link=http://fonvormpzeeq.com/]fonvormpzeeq[/link], http://oongeluqihcl.com/