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.

Configuring the auto-login in lightdm is possible as answered here.

I tried but, still I'm not able to auto-login. It seems as I haven't configured auto-login. Is this because my home folder is encrypted? So it does not have the passphrase an can't decrypt my home folder.

share|improve this question
2  
What would be the point of encryption if autologin had been possible? Anyone could take the computer, turn it on, and read all the 'encrypted' files. –  mikewhatever Oct 31 '11 at 1:12
    
Yeah, that is right. But, the idea would be to lock the screen on login. Still there are some issues, but this would still provide some security. –  Luís Armando Nov 4 '11 at 16:14
add comment

1 Answer

up vote 2 down vote accepted

The auto login doesn't indeed work if you've encrypted your home folder. An alternative is to use an encrypted private folder instead of encrypted home folder if you want to use auto login.

You can setup the encrypted private folder by running ecryptfs-setup-private from the terminal but you'll first need to disable the encryption of your home folder by following these steps:

  1. Backup your files from your home folder (don't ignore, you need to restore the back upped files later)

  2. Log in using an admin account (create a new one if your account is the only one in your system) and a) delete ecryptfs-utils package using synaptic or apt b) restart c) delete completely your old home folder including your folder inside the hidden ecryptfs folder in /home d) create yourself a new account

  3. Restore your back upped files (I warned you if you didn't backup your files)

DISCLAIMER: I wrote that mini tutorial as a response to a question in LP. Furthermore, it was written for Karmic but should work in later Ubuntu releases. It is provided as-is. I take no responsibility for any data loss.

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.