I have a VERY old kubuntu server that I had to install LXDE on in order to keep it going (before lubuntu was born).

I just upgraded it to 12.04 as I finally had a need for some more modern features. Unfortunately I have no idea how to get auto login to the desktop working again.

I have found suggestions that the following files should be edited


to include something like

## uncomment and set autologin username to enable autologin

but none of these files exist on my system and I cannot find any promising alternatives.

Any suggestions on what I should try or where I should look next would be greatly appreciated. Thanks

  • I don't have the following directories at all: /etc/lxdm/ , /etc/lightdm/ , /etc/xdg/lxdm/ or /etc/xdg/lxde/ I do have lxsession and openbox under /etc/xdg/ but these don't contain appropriate .conf files. – 00Kell Mar 13 '14 at 13:08

Please follow the instructions found in the official Lubuntu Documentation


For release 12.04 and on (LightDM)

You will need to create an /etc/lightdm/lightdm.conf with these contents: (do this as root)

autologin-user=<YOUR USER>
# Check https://bugs.launchpad.net/lightdm/+bug/854261 before setting a timeout

I was trying to set it up for a guest user on lubuntu 14.04. I found an answer that helped me: http://www.htpcbeginner.com/enable-lubuntu-auto-login/

However the file mentioned there: /etc/lightdm/lightdm.conf does not exist in lubuntu 14.04. But there is a file


This is the contents of the file that works for me:


I have just still one nasty pop up error everytime when the system boots up:


And the screen locks after a couple minutes. (Tried following the procedure in https://help.ubuntu.com/community/CustomizeGuestSession with the guest-prefs user, that user does not get the lockout anymore but the guest user does, even though the profile is soft-linked to the guest skeleton, maybe filerights, I will look into this and come back)

However this may still be usefull for someone, if you find a solution to get rid of that error, please mention it as well.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.