2

I run 12.04 with gnome-classic. I wanted to get autologin since I am the only user. I unlocked the user account GUI under settings, switched the slider to ON, then locked the GIU. Since then a reboot stops at stopping system V runlevel compatibility.

Pressing Ctrl+Alt+F1 then gives me a command-line login. Typing startx starts Unity instead of Gnome. In that, I cannot unlock the User Accounts GUI under settings to set the autologin slider back to OFF.

Eliah Kagan
  • 119,640
Rob
  • 21

2 Answers2

2

You can log in on a virtual console (you must be doing that after pressing Ctrl+Alt+F1 but before running startx). So if the problem really is that you set a blank password for yourself (as MeM suggested), you can fix that easily by running:

passwd

Then change it to something that's not blank. You'll know it was changed successfully because the new password will work to log on at a virtual console. (You can type exit or logout to log off, then try logging back on.)

If that doesn't fix the problem, try disabling automatic login by editing /etc/lightdm/lightdm.conf with:

sudo nano -w /etc/lightdm/lightdm.conf

Remove the text that makes automatic login happen. That text looks like:

[SeatDefaults]
autologin-user=<YOUR USER>
autologin-user-timeout=0
user-session=ubuntu
greeter-session=unity-greeter

Source: htorque's answer to How do I enable auto-login in LightDM?

Eliah Kagan
  • 119,640
0

If it happened because you didn't specify a password for the adm account or set it to not asking for a password on log in, I recomend resetting the password, here is how to do it (either one):

Then it should work. (Yes this is a lousy bug on Ubuntu, hope they fix it.) If that is not the case, then I don't have a clue either!

MeM
  • 1