Re: logind: Activating session/opening seat fails in systemd v254

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Feb 16, 2024 at 9:45 AM Lennart Poettering
<lennart@xxxxxxxxxxxxxx> wrote:
>
> On Do, 15.02.24 22:16, Nils Kattenbeck (nilskemail@xxxxxxxxx) wrote:
>
> > Hi everyone,
> >
> > I am working on a kiosk-type device which is supposed to start a
> > weston instance upon boot.
> > Our images were previously based on Debian 12 and Fedora 38, now we
> > are working on unifying them. Between the two old image variants the
> > systemd units were mostly identical, however, on Fedora 39 with
> > systemd 254 they no longer work. Weston/libseat now fails with the
> > message: "Could not activate session: Permission denied". (Also see
> > the logind logs at the end).
>
> Neither Weston nor libseat (whatever that is) are a systemd
> thing. Please contact the relevant projects for help?

I was asking this mailing list because it is not completely unheard of
that systemd changes (or deprecates and subsequently removes) some
aspects of how environments etc are set up sometimes. However, since
the initial mail I have been able to try out different combinations of
systemd and weston and could pinpoint this to a change in weston,
which no longer uses logind directly but instead uses libseat as an
abstraction.

> libseat (whatever that is)

Libseat is a library to allow using (e)logind and seatd with a common interface:
https://github.com/kennylevinsen/seatd/blob/master/libseat/backend/logind.c

Sadly it seems unable to properly activate the session according to my
logs. (Previous weston versions also supported directly using logind
but they removed it in newer versions.)

Kind regards, Nils




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux