You are not logged in.

#1 2022-03-14 15:39:03

phoenixclank
Member
Registered: 2022-03-14
Posts: 3

[SOLVED] can't run qtile as a wayland compositor: libseat: permissi[…]

The output of qtile start -b wayland is

[libseat] [libseat/backend/logind.c:310] Could not activate session: Permission denied
[libseat] [libseat/libseat.c:79] No backend was able to open a seat
[backend/session/session.c:84] Unable to create seat: Function not implemented
[backend/session/session.c:249] Failed to load session backend
[backend/backend.c:86] Failed to start a session
[backend/backend.c:352] Failed to start a DRM session

followed by a Python traceback.
doas qtile start -b wayland leads to a segfault.

I have added myself to the video and tty groups. Early kernel mode setting is active, I believe.

I am using greetd, and replacing $SHELL with "qtile start -b wayland" results in the same error message, except then I'm not even able to log in (of course). The greeter user is also in the video group.

I must be missing something obvious, because I can't really find this error message anywhere on the internet, and all that resembled a solution didn't work.
How do I start qtile as a wayland compositor?

Last edited by phoenixclank (2022-10-08 14:21:45)

Offline

#2 2022-10-07 21:25:27

Kwarf
Member
Registered: 2014-09-30
Posts: 1

Re: [SOLVED] can't run qtile as a wayland compositor: libseat: permissi[…]

This is a bit of an old thread, but I stumbled upon the same issue/error and managed to solve it, so to spare anyone else ending up here:

Make sure that seatd is running.

# systemctl enable seatd
# systemctl start seatd

Then add your user to the seat group and log out and back in again.

# usermod -a -G seat myusername

Offline

#3 2022-10-08 14:19:33

phoenixclank
Member
Registered: 2022-03-14
Posts: 3

Re: [SOLVED] can't run qtile as a wayland compositor: libseat: permissi[…]

Oh right this thread exists.

For me that problem fixed itself after I installed Sway and ran it once.
I've since deinstalled it and qtile hasn't stopped working.

And I have no idea how or why that worked because when I do `systemctl status seatd` it shows it as disabled and inactive.

Offline

#4 2022-10-08 17:30:34

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,344
Website

Re: [SOLVED] can't run qtile as a wayland compositor: libseat: permissi[…]

If you have polkit installed you do not need seatd - either one is sufficient.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2022-10-08 21:50:30

phoenixclank
Member
Registered: 2022-03-14
Posts: 3

Re: [SOLVED] can't run qtile as a wayland compositor: libseat: permissi[…]

Thanks, that clears it up!
I'll try to keep it in mind in case I may ever be able to get rid of polkit.

Offline

Board footer

Powered by FluxBB