Auto-login could pose security risks to your environment. At a minimum, the auto-login enabled computer would be prone to unauthorised access of whoever passes it by. But, there might be situations you want to take the risk, for example at your home lab. If you need to enable Ubuntu Mate to
Use you favourite text editor to add line below to the aforementioned config file
What is Lightdm?
LightDM was the default display manager for Ubuntu up to version 16.04 LTS. GDM took its place in the Ubuntu releases afterwards. It is still the default DM in several Ubuntu flavours.
What is LightDM?