How to Auto Login gnome-shell Gnome3 Desktop in Ubuntu 11.10


Ubuntu 11.10 has the option to logs in automatocally without entering password.If you set it enable in Ubuntu 11.10, it will logs in Unity Desktop. Some of the Ubuntu user has installed Gnome 3 from the offficial repositories and they are finding difficulty in making default login session as Gome 3 Desktop. Normally to login into Gnome desktop, we first disable auto login and logout the session and login back to Gnome session. After that finally enable auto login in Gnome 3 desktop.


It didn’t  worked in my Ubuntu 11.10 box, i have found some command line solution by googling.

To make Ubuntu 11.10 to auto login gnome-shell, open up a terminal window and run this command:

raj@geeksite~Desktop/$ sudo /usr/lib/lightdm/lightdm-set-defaults -s gnome-shell

To make Ubuntu 11.10 back to Unity auto login.

raj@geeksite~Desktop/$ sudo /usr/lib/lightdm/lightdm-set-defaults -s ubuntu

To auto log-in gnome classic desktop, install gnome session fall back .

raj@geeksite~Desktop/$ sudo apt-get install gnome-session-fallback

Once installed, run the following command in terminal to enable gnome classic auto login.

raj@geeksite~Desktop/$ sudo /usr/lib/lightdm/lightdm-set-defaults -s gnome-classic

That’s All! Now you can start login without entering password in Ubuntu 11.10

You might also like