background
loading scroll to btns
Back To Home
article
1 min readMay 26, 2025

🎹 auto-login in arch linux

arch
linux
automation

open the following file

sudo vim /etc/systemd/system/getty.target.wants/getty@tty1.service

change the ExecStart variable to the following

ExecStart=-/sbin/agetty -a {username} - $TERM

please make sure you don't miss spell a word nor delete or add a character, because my system totally crashed when i added an extra dash before the username and i had to use chroot to change the root directory and fix the problem ExecStart=-/sbin/agetty -a - {username} - $TERM => this line broke my system

Comments