How to disable Auto Login in Ubuntu 11.04

Hi all,
Did you note the automatic Login when you turn on your ubuntu machine?
I have disabled it successfully and this is how I have done.

I will explain 2 methods, you can use any one of the 2 methods,
Method 1:

1) Open up a Terminal.

2) Copy & paste the following code into the terminal,
 sudo gedit /etc/gdm/custom.conf

This will open a file custom.conf, whose contents will be as follows,
[daemon] 
AutomaticLoginEnable=true
AutomaticLogin=user 
TimedLoginEnable=false

4) Now, change the value of AutomaticLoginEnable to False.

5) Save the file & Restart your machine.

Method 2:
The other way to disable Automatic Login is,

1) In menu goto System >> Administration >> Login Screen

2) This will open a Login Screen settings like this,
 3) Now change the settings to Show the screen for choosing who will
   login, as shown in the below figure.

You can now restart your system and see that you have diabled automatic Login.
Hope this post was helpful 🙂

Leave a comment