JavaScript is required to view this page.
Skip to content
Get 50% OFF 2x Smart Devices with your HA Yellow Kit + CM4
Get 50% OFF 2x Smart Devices with your HA Yellow Kit + CM4
How-To: Enable Autologin on Ubuntu MATE and Similar Distros

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.

Previous article New Shelly Kits

Comments

graham - April 5, 2021

Thanks

Leave a comment

Comments must be approved before appearing

* Required fields

x