In spite of setting auto-login in the Xubuntu settings (XFCE/System/Users and Groups) I have to login each time when I start up the computer. How can this be changed?

share|improve this question
up vote 17 down vote accepted

This worked for me, type in a terminal:

sudo nano /etc/lightdm/lightdm.conf.d/10-xubuntu.conf

or

sudo mousepad /etc/lightdm/lightdm.conf.d/10-xubuntu.conf

(depending which text editor you want to use)

Change from:

[SeatDefaults]
user-session=xubuntu

To:

[SeatDefaults]
user-session=xubuntu
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 and this did not work for me.

Source: Ubuntu Forum, SuperUser

share|improve this answer
    
Mitch's answer down here was what I've tried, but it didn't work. This trick did, thanks! – mTorres Dec 5 '15 at 10:40
3  
this configuration can be found @ /usr/share/lightdm/lightdm.conf.d/60-xubuntu.conf today. – Blauhirn Mar 15 '17 at 15:21

Click on Settings --> Users and Groups

enter image description here

Next to Password, click on Change

enter image description here

Click on Don't ask for password on login

enter image description here

share|improve this answer
    
Thanks a lot for the detailed instructions. Somehow this does not work for me. I checked/unchecked and restarted the system several times, but the login screen would still appear. The solution with editing the 10-xubuntu.conf file worked, though. – Filbuntu Sep 29 '14 at 17:41
5  
This only removes the need to type a password - it does not enable automatic login. – Enigma Jul 14 '16 at 15:33

Things appear to have changed a bit since the accepted answer was written. Under Xubuntu 16.04 the settings have moved to

/etc/lightdm/lightdm.conf

and they look like this

[Seat:*]
autologin-guest=false
autologin-user=gord
autologin-user-timeout=0
share|improve this answer

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.