Created
October 16, 2016 14:30
-
-
Save anchoo2kewl/0d353fb89767047e1e841ff05d268940 to your computer and use it in GitHub Desktop.
Allow a user to autologin on Ubuntu Mate (useful for RPI)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Create the directory: | |
sudo mkdir /etc/systemd/system/getty@tty1.service.d | |
#Create file: | |
sudo vim /etc/systemd/system/getty@tty1.service.d/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