Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

I later wanted to change the settings.

So I went to:

Systems > Administration > Login window > Security

From there I disabled automatic login and rebooted the computer. Now the GUI does not allow me to enter username and password.

The following displays on the login screen:

Authentication failed

Please help me.

share|improve this question

migrated from serverfault.com Feb 2 '10 at 7:27

This question came from our site for professional system and network administrators.

add comment

2 Answers

First off, you can try booting into single user mode. Interrupt the boot process at the GRUB loader screen by pressing 'enter'. Then edit the booting line, and put the word 'single' at the end of that kernel line. Then boot, and it will give you a login prompt. Plug in your root credentials, and that will give you a shell.

The GUI screen you were modifying makes changes in /etc/gdm/custom.conf. So check that file once you have access. You may need to make sure "AllowRoot" is undefined, or set to 'true', so that the root user can login. There's also "AutomaticLoginEnabled" which is set to 'true' if automatic logins are in use.

share|improve this answer
add comment

Press CTRL+ALT+F1 and enter your username and password, it will give you a shell. Then type:

nano /etc/gdm/custom.conf

And replace the content with:

[daemon]
AutomaticLoginEnable=false

Then restart.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.