0

I'm trying to get Ubuntu 11.04 to login automatically, but the login screen options don't seem to allow this.

There is no option to select my username, as this screenshot shows:

shot

Any ideas?

N.N.
  • 18,589

4 Answers4

1

These settings are store inside /etc/gdm/custom.conf

[daemon]
AutomaticLoginEnable=true
AutomaticLogin={username}
TimedLoginEnable=true
TimedLogin=user
TimedLoginDelay=10

You can edit this from commandline by doing gksu gedit /etc/gdm/custom.conf. Change your name where it says {username}. See if that works.

Lincity
  • 25,749
Rinzwind
  • 309,379
1

Judging by this bug, do you have your home partition encrypted with encryptfs? If so, that might be the reason. Then either do not use autologin or do not have encrypted $HOME, those two cannot go together (on requires password for decrypting the home directory, the other wants to avoid entering passwords)

sup
  • 4,964
1

Edit /etc/gdm/custom.conf with your favorite editor.

Add (or change) following line, to make it look like this:

[greeter]
Exclude=teamspeak, nobody (or any user you want)
Eliah Kagan
  • 119,640
nobody
  • 11
0

Also, user accounts with ids below 1000 will not be listed in this box. See How do I hide a user from the login list? for more details.