I'm trying to setup autologin. I followed the instructions as per the wiki
But agetty errors out.
journalctl says it "failed to open credentials directory"
What should I do here?
#[SOLVED] Autologin on agetty
12 messages · Page 1 of 1 (latest)
@limber narwhal why not have it auto start via your bash/zsh profile?
exec startx
fi```
im talking about logging in automatically, not starting X
i already have that set up 👍
@limber narwhal that logs you in automatically as well
isnt zprofile executed after you log in?
no
im pretty sure it is executed after
you have the tty login first, then your login shell's .profile gets executed
So I retried this, but this time I didn't pass in the XDG_SESSION_TYPE=x11 variable to the Envrionement= field in the getty serivce drop-in file. For some reason, that fixed it. I'm not sure what happened here internally but it works now.
There is a separate problem with pam not opening the login keyring in the gnome-keyring (i think the command is run, but the gnome-keyring-daemon isn't autostarted by the time it enters a dead state). Will probably open a different issue for that though if I can't apply a fix. Marking as solved.