Summary: | gui-wm/sway-1.5.1-r1::gentoo[elogind] fails to start if polkit is not installed | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | charles17 |
Component: | Current packages | Assignee: | Matthew Thode ( prometheanfire ) <prometheanfire> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | katherine.peeters, prometheanfire, speedjack95 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=760252 https://bugs.gentoo.org/show_bug.cgi?id=708680 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
charles17
2021-02-14 08:38:57 UTC
Someone claimed they had it running like that, maybe they should make a wiki entry then. More information, inspired by bug 708680 sway -V 00:00:00.000 [sway/main.c:326] Sway version 1.5.1 00:00:00.016 [sway/main.c:153] Linux E7450 5.4.97-gentoo #1 SMP Fri Feb 12 16:38:32 CET 2021 x86_64 Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz GenuineIntel GNU/Linux 00:00:00.016 [sway/main.c:169] Contents of /etc/os-release: 00:00:00.016 [sway/main.c:153] NAME=Gentoo 00:00:00.016 [sway/main.c:153] ID=gentoo 00:00:00.016 [sway/main.c:153] PRETTY_NAME="Gentoo/Linux" 00:00:00.016 [sway/main.c:153] ANSI_COLOR="1;32" 00:00:00.016 [sway/main.c:153] HOME_URL="https://www.gentoo.org/" 00:00:00.016 [sway/main.c:153] SUPPORT_URL="https://www.gentoo.org/support/" 00:00:00.016 [sway/main.c:153] BUG_REPORT_URL="https://bugs.gentoo.org/" 00:00:00.016 [sway/main.c:169] Contents of /etc/gentoo-release: 00:00:00.016 [sway/main.c:153] Gentoo Base System release 2.7 00:00:00.016 [sway/main.c:141] LD_LIBRARY_PATH=(null) 00:00:00.016 [sway/main.c:141] LD_PRELOAD=(null) 00:00:00.016 [sway/main.c:141] PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/11/bin 00:00:00.016 [sway/main.c:141] SWAYSOCK=(null) 00:00:00.018 [ERROR] [backend/session/logind.c:219] Failed to activate session: Permission denied 00:00:00.018 [INFO] [backend/session/direct.c:274] Successfully loaded direct session 00:00:00.019 [ERROR] [backend/session/direct.c:49] Failed to open /dev/dri/card0: Permission denied 00:00:00.034 [ERROR] [backend/session/direct.c:49] Failed to open /dev/dri/card1: Permission denied 00:00:00.034 [INFO] [backend/backend.c:157] Found 0 GPUs 00:00:00.034 [ERROR] [backend/backend.c:303] Failed to open any DRM device 00:00:00.094 [sway/server.c:49] Unable to create backend Hello, I believe it was I that suggested in a previous bug that sys-auth/polkit wasn't required for gui-wm/sway[elogind]. I suspect that indeed something has changed, as I'm unable to get it working without polkit for newer versions of elogind (>sys-auth/elogind-246.9.2). Previously, with versions <=sys-auth/elogind-246.9.2, it worked fine. Maybe upstream changed something? I'll do some testing on my machine. I'm now using sys-auth/elogind-246.10-r1 and gui-wm/sway-1.6, the latest amd64 stable versions of those packages. I do momentarily get a "Permission denied" error when sway starts, still trying to get some more information about that, however apart from that error message, everything runs fine (have been using this system for over a week and have yet to find any problems). sys-auth/polkit is still not installed. So, it appears that my initial comment was correct: sys-auth/polkit is *not* required to use gui-wm/sway with sys-auth/elogind. It would be helpful to know which version of elogind caused this error to occur, as well as whether or not upgrading to the latest stable version of both elogind and sway fixes the problem. I've been unable to reproduce with the latest stable of elogind and sway. |