Skip to content

Instantly share code, notes, and snippets.

@anchoo2kewl
Created October 16, 2016 14:30
Show Gist options
  • Save anchoo2kewl/0d353fb89767047e1e841ff05d268940 to your computer and use it in GitHub Desktop.
Save anchoo2kewl/0d353fb89767047e1e841ff05d268940 to your computer and use it in GitHub Desktop.
Allow a user to autologin on Ubuntu Mate (useful for RPI)
#Create the directory:
sudo mkdir /etc/systemd/system/[email protected]
#Create file:
sudo vim /etc/systemd/system/[email protected]/autologin.conf
#Insert:
[Service]
ExecStart=
ExecStart=-/sbin/agetty --autologin YOURUSERNAMEHERE --noclear %I 38400 linux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment