[Artix] Proper way to setup auto login on tty1 #335
-
Currently I have to edit
The only problem is after upgrading this files resets. Is there a other way to enable auto login that won't reset? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Since this is probably an Artix-specific issue (looking from the dir it points to), I'm going to step in. You can copy |
Beta Was this translation helpful? Give feedback.
Since this is probably an Artix-specific issue (looking from the dir it points to), I'm going to step in.
You can copy
/etc/dinit.d/config/agetty-default
(if you are using Artix) to/etc/dinit.d/config/agetty-tty1.conf
, after that, you can edit the newly-copied file and add"--autologin <USER>"
to theGETTY_ARGS=
var, it'll be automatically read at the next boot.