Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm trying to set up the automatic login, but i can't choose the user which must be loged in. Here a screenshot (German is set as default language):

Ubuntu Netbook Edition automatic login

any suggestion, how to solve the problem?

I'm using UNE 10.10, upgraded from 10.04...

share|improve this question

4 Answers 4

up vote 4 down vote accepted

It seems, that i can't use the automatic login, because my home folder is encrypted.

* (gdmsetup:2834): WARNING: Unable to lookup user name data: Success *
* (gdmsetup:2834): DEBUG: XXXXXX XXXXX is using an encrypted home, not listing him for autologin *
share|improve this answer

Are you logging in as "root" by any chance (AFAIK "root" gets removed from that drop-down list)?

Anyways, you can add the information to the '[daemon]' section of the file '/etc/gdm/custom.conf':

...
[daemon]
AutomaticLoginEnable=true
AutomaticLogin=<USERNAME>
...
share|improve this answer
    
i'm not logged in as root, but my user is in the sudoers list. In the custom.conf was the entry for AutomaticLogin empty...i've added it manually and will try it right now :) –  cupakob Nov 3 '10 at 19:12
1  
Do you see any suspicious messages when running 'gdmsetup' from the terminal? –  htorque Nov 3 '10 at 19:14
    
yes :) ****** ** (gdmsetup:2834): WARNING **: Unable to lookup user name data: Success ** (gdmsetup:2834): DEBUG: XXXXXX XXXXX is using an encrypted home, not listing him for autologin ****** –  cupakob Nov 3 '10 at 19:26
    
!:-) Good to know. –  htorque Nov 3 '10 at 19:27
1  
I don't know if there are technical reasons, but one question comes to my mind: why would you encrypt your home folder if you grant access to everyone that can access the machine? –  htorque Nov 3 '10 at 19:41

A "dirty" init script with a automated login, password and a decrypt should be coded?

I am not a programmer, so I don't know if it's possible. I think about something you can just turn on/off with a single reboot to go "holiday" mode or "inhome" mode. (put/delete the script to automatically run on boot, even a script to do this too, a button on dock)

The 1st script will do the autologin and the decrypt for you when in "inhome" mode.

Sure you gonna search a good way to store the password for the script.

share|improve this answer

Go to Applications, next go to Users and Groups click on the user and your going to have to put in the root password to unlock then click passwords and check the do not ask at log in.

share|improve this answer
    
doesn't work, becaus nautilus try to access/read/write in some files or folders under ${HOME}....without password is not possible to access this files/folders, so the login doesn't work correct. –  cupakob Nov 3 '10 at 19:46
    
It's in system menu and not applications. –  papukaija Jan 25 '11 at 0:39

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.