How do I disable the login screen on XFCE?

I'm using Xubuntu 11.10, but can't see how to disable the login screen. I'm pretty sure I set it to auto login during setup, but recently upgraded, and now it's asking for a password when I turn the machine on. Also, I've disabled "prompt for password on resume" but the password is still showing. Any ideas how to disable both of those passwords?


Solution 1:

I feel your pain. 11.04 did have an easily accessible auto login setting. 11.10 took that away. To set autologin now you must edit lightdm.conf. In terminal at the user prompt type...

~$ sudo leafpad /etc/lightdm/lightdm.conf

Add the following line to the end and save...

autologin-user=YourDesiredAutoLoginUserName

To remove password on resume, right-click the system tray power icon then Preferences. This brings up the XFCE power manager (Alternatively you can navigate to XFCE/Settings/Settings Manager/Power Manager). Click Extended in the left pane. Uncheck Lock screen when going for suspend/hibernate.

The last place is XFCE/System/Users and Groups. If it's set "Password: Asked on login" you can change that but it's really not necessary.

Solution 2:

To enable Auto Login:

  • Add autologin-user=YourDesiredAutoLoginUserName to /etc/lightdm/lightdm.conf

Disable Prompt for Password on Resume:

  • Uncheck 'Screen Locker' from Session and Startup