:: [devuan-dev] bug#793: libseat fails…
Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Mark Hindley
Fecha:  
A: Fran Vazquez
Cc: 793
Asunto: [devuan-dev] bug#793: libseat fails to access logind backend
Control: retitle -1 libseat requires polkitd to access logind backend

Fran,

Thanks.

On Wed, Sep 13, 2023 at 10:10:18PM +0200, Fran Vazquez wrote:
> [ 21082.020] (EE) [libseat/backend/logind.c:317] Could not activate session: Rejected send message, 1 matched rules; type="method_call", sender=":1.0" (uid=0 pid=1571 comm="elogind-daemon") interface="org.freedesktop.PolicyKit1.Authority" member="CheckAuthorization" error name="(unset)" requested_reply="0" destination="org.freedesktop.PolicyKit1" (uid=105 pid=2987 comm="/usr/lib/polkit-1/polkitd --no-debug")
> [ 21082.020] (II) [libseat/libseat.c:76] Backend 'logind' failed to open seat,
> skipping


I had evidently forgotten this was the case and the policy is set in
/usr/share/polkit-1/actions/org.freedesktop.login1.policy.

Once polkitd is installed this error goes away for me and libseat uses the
elogind backend correctly. I can switch VTs and on return inputs are still
available.

With polkitd installed does that work for you?

Do you have apt install recommends disabled?

Mark