Not able to login through the GUI

1

When I installed Ubuntu on my laptop, I chose "automatic login", so I was not asked for username and password everytime I switched on.

Later I wanted to change the settings. So I went to systems-->administration-->login window-->security and disabled automatic login and rebooted the computer.

Now the GUI does not allow me to enter username and password. It says "Authentication failed" at the login screen. What can I do to get into the OS again?

kashyapa

Posted 2010-02-01T17:26:11.393

Reputation: 161

Answers

1

First you have to boot into recovery mode

  1. Then you're going to have to edit "/etc/pam.d/gdm". type "nano /etc/pam.d/gdm" (without quotes)

  2. Then you have to remove or comment out the line "@include common-pamkeyring" (add # at the beginning of the line)

  3. To save in nano, press Ctrl+O. or you can press Ctrl + X and choose yes by hitting Y.

  4. Voila! it should be fixed.

Kelbizzle

Posted 2010-02-01T17:26:11.393

Reputation: 1 808

I'm VERY sorry. I failed to include the actual line you have to comment out. :-D sorry about that. – Kelbizzle – 2010-02-01T18:32:34.703

Here is a thread on ubuntu's forums. People have seemed to solve it following the steps I mentioned above. (http://ubuntuforums.org/showthread.php?t=581249)

– Kelbizzle – 2010-02-01T18:35:15.680