Auto login from tty
If you want to login directly from the tty without a display manager, this is a working method for Arch Linux
As root
systemctl edit getty@tty1
[Service]
ExecStart=
ExecStart=/usr/bin/agetty --autologin simon --noclear %I 38400 linux
Type=simple
https://bbs.archlinux.org/viewtopic.php?id=222762
Then add
if [ "$(tty)" = "/dev/tty1" ] ; then
startxfce4
fi
Reboot and you will be logged in and XFCE4 started for you.
The only issue so far is logout will drop you to tty1 and if you exit that, you will be logged in and XFCE4 started again.
I was looking into this for an encrypted machine where the password is entered to boot.
Posted
12:00 24-08-2021