[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Auto login stopped working
From: |
Fredrik Salomonsson |
Subject: |
Re: Auto login stopped working |
Date: |
Tue, 05 Nov 2024 23:50:06 +0000 |
Hi,
Rutherther <rutherther@ditigal.xyz> writes:
>> elogind and dbus-system is running, and it works fine if I manually
>> login on another tty, tty3 just shows the `Error in service module`
>> message. Anyone know what could be the issue?
>
> Hello Fredrik,
>
> I don't know what the cause is, but I was able to get around it
> by setting (login-pause? #t). This means I have to hit enter to log in,
> but I personally actually prefer that. If this is not for you, I don't have
> any more pointers unfortunately.
That might be a good clue, as
Felix Lechner <felix.lechner@lease-up.com> writes:
> Based on the log messages, it seems pam_elogind.so cannot connect to
> Dbus ("No such file or directory") and leaves the authentication token
> uninitialized, which causes an error in pam_unix.so.
So it sounds like it's failing to login due to dbus is not there. I can
login normally with that user on a different tty and you — Rutherther —
can login if pausing the login. Which means that dbus should be there
by then. I wonder if there is a race condition and it is trying to
login before everything is setup, which would explain why it works when
pausing the login.
I'll do some investigation this weekend to see if I can get any the
wiser on what's going on. And good to know that there is a workaround
with (login-pause? #t).
Thanks!
--
s/Fred[re]+i[ck]+/Fredrik/g