How To Auto Login With Gnome 3 In Ubuntu 11.10


Earlier, I provided you with a walkthrough of the process involved in installing Gnome 3 in Ubuntu 11.10 Oneiric Ocelot. Due to frequent Unity issues, many Ubuntu users have not only opted for Gnome 3, but are also looking for a way to make it their default login session. Unfortunately, Canonical has not provided any “functional” GUI based option to do this, which has once more left users out in the cold. In this post I will tell you how to auto login to Gnome 3 in Ubuntu 11.10.

Gnome 3 Session

Method 1:

Normally, one can disable auto login from Unity, log out, log back in via Gnome and then enable auto login. However, this does not seem to be working for some users. Now you know why I had the word functional in quotes.

Method 2:

This method should resolve your problem. To auto log into the Gnome shell in Ubuntu 11.10, open the Terminal and run this command:

sudo /usr/lib/lightdm/lightdm-set-defaults -s gnome-shell

Revert Changes:

If you want to make Unity the default session once more, enter the following command in the Terminal:

sudo /usr/lib/lightdm/lightdm-set-defaults -s ubuntu

Auto Login into Gnome Classic Session:

If you would like to auto log-into the Gnome classic desktop, use this command to install Gnome session fallback:

sudo apt-get install gnome-session-fallback

After installing the fallback session, run this command in the Terminal:

sudo /usr/lib/lightdm/lightdm-set-defaults -s gnome-classic

And that should help you customize your Ubuntu 11.10 auto login session. Unfortunately, Ubuntu 11.0 seems to be creating new issues each time I update my systems. It appears that for now at least, I will have to keep looking for such solutions to keep my Ubuntu machine functional and to keep my readers updated. If you are encountering any Ubuntu issues, just leave a comment and I will get back to you as soon as possible. In case the issues requires elaborate instructions, I write a post on it for your convenience.


Related Posts: