Skip to content

Instantly share code, notes, and snippets.

@janniklorenz
Last active August 29, 2015 14:06
Show Gist options
  • Save janniklorenz/e40e919d0fdec001bc8a to your computer and use it in GitHub Desktop.
Save janniklorenz/e40e919d0fdec001bc8a to your computer and use it in GitHub Desktop.
cp /usr/lib/systemd/system/[email protected] /usr/lib/systemd/system/[email protected]

update file: [/usr/lib/systemd/system/[email protected]]

add in the line ExecStart= -a USERNAMe after --noclear

example:

 ExecStart=-/sbin/agetty --noclear -a root %I 38400 linux 
systemctl disable getty@tty1
systemctl enable autologin@tty1
systemctl start autologin@tty1

ArchWiki

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment