Auto-login to the Desktop

To configure the Desktop to auto-login (Ubuntu MATE 14.04) add an autologin-user line specifying your user name to the /usr/share/lightdm/lightdm.conf.d/60-lightdm-gtk-greeter.conf file. For example:


Conf files in the /usr/share/lightdm/lightdm.conf.d/ directory are cascaded into the lightdm login manager in alpha order.


Is a great solution for me

Thanks it works also on 15.04

Definitely works with Centos 7 + MATE

Thanks… This is so helpful… and it works for me …

Brilliant, thank you. Works on 16.04 on my Odroid C2 as well.

Hi - I am still taken to a login screen with the Mate logo, my user name and a login button. How do I go straight to my desktop - no password, no login button click?

Thank you.

A post was split to a new topic: Auto login to my account

Fast n easy! Thanks!
VMware 12, MATE 16.04

Since Ubuntu MATE 18.04 LTS (Boinic), this does not seem to work. Here is what you need to do:

Also works for Ubuntu mate 16.04

I've just tried this solution on 18.04 (Bionic) and it works correctly.

Thanks you very much @atalai.


thx @atalati
works on Ubuntu Mate 20.04 (.3) LTS

Still works! Ubuntu Mate 22.04 LTS (aarch64)

1 Like