How-To: Enable Autologin on Ubuntu MATE and Similar Distros
To configure the Desktop to auto-login for systems like ODROID, Pine64, Raspberry Pi, Jetson Nano, Tinker Board, Beagleboard, and others, run the following commands in the terminal (System Tools | MATE Terminal):
sudo su
cd /usr/share/lightdm/lightdm.conf.d
touch 60-lightdm-gtk-greeter.conf
nano 60-lightdm-gtk-greeter.conf
If the file isn't blank, add these to the end of the file. If the file is blank, add these lines to the file:
[SeatDefaults]
greeter-session=lightdm-gtk-greeter
autologin-user=odroid
Files in this directory are processed in alphabetical order.
The next time you reboot, the user specified after autologin-user=
should be logged in automatically.
Comments
Leave a comment