Ubuntu / Xubuntu - How to autologin as a particular user
To enable autologin in Xubuntu
- Open the file /etc/lightdm/lightdm.conf
- Modify the value of the string “autologin-user” with the required user name. Eg: autologin-user=MyLoginName
- Save the file
- Reboot
Note:
- Make sure the user is created before modifying the file.
- You can use any text editor instead of leafpad