You are not logged in.
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
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
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
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
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