We have shown you how you can enable automatic login in Ubuntu, but if you are using LightDM, here are the steps to enable autologin in LightDM.

How to Enable autologin in LighDM

  1. Open a terminal and type:
  2. Scroll down the page and find the lines:
  3. Uncomment the lines by removing the “#” in front of each line. Change the autologin-user field to your username. It will look something like this:
  4. Save the file by pressing Ctrl + O and exit (using shortcut keys Ctrl + x). Restart the computer, and it should auto-login to the desktop.

Extra Settings for Different Linux Distros

Linux Mint

Linux Mint’s Cinnamon desktop is using LightDM by default, but it doesn’t come with the “lightdm.conf” file. Do the following steps instead:

  1. Open the file:
  2. Add the following lines, changing “damien” to your own. username:

Save and exit the file. Restart the computer for it to take effect.

Arch Linux

If you are using Arch Linux, you have to add your user to the autologin group before it can work: After that, follow the steps above to enable the autologin lines in the lightdm.conf file. It is pretty easy for anyone to enable auto-login for LightDM as long as you have deemed it safe to do so. Let us know if you are having issues or if it doesn’t work for your distro.