Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 871309 - gui-wm/sway: logind: Could not activate session: Interactive authentication required
Summary: gui-wm/sway: logind: Could not activate session: Interactive authentication r...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Thode ( prometheanfire )
Depends on:
Reported: 2022-09-18 11:36 UTC by Alexey Korepanov
Modified: 2022-09-18 12:26 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---

emerge --info (emerge-info.txt,8.04 KB, text/plain)
2022-09-18 11:38 UTC, Alexey Korepanov

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Korepanov 2022-09-18 11:36:37 UTC
Hi. I'm having trouble starting sway with logind:

00:00:00.000 [INFO] [sway/main.c:343] Sway version 1.7
00:00:00.000 [INFO] [sway/main.c:344] wlroots version 0.15.1
00:00:00.003 [INFO] [sway/main.c:120] Linux qub 5.19.9-gentoo #3 SMP PREEMPT_DYNAMIC Sat Sep 17 20:08:38 BST 2022 x86_64 12th Gen Intel(R) Core(TM) i5-12600K GenuineIntel GNU/Linux
00:00:00.003 [INFO] [sway/main.c:136] Contents of /etc/lsb-release:
00:00:00.003 [INFO] [sway/main.c:120] DISTRIB_ID="Gentoo"
00:00:00.003 [INFO] [sway/main.c:136] Contents of /etc/os-release:
00:00:00.003 [INFO] [sway/main.c:120] NAME=Gentoo
00:00:00.003 [INFO] [sway/main.c:120] ID=gentoo
00:00:00.003 [INFO] [sway/main.c:120] PRETTY_NAME="Gentoo Linux"
00:00:00.003 [INFO] [sway/main.c:120] ANSI_COLOR="1;32"
00:00:00.003 [INFO] [sway/main.c:120] HOME_URL=""
00:00:00.003 [INFO] [sway/main.c:120] SUPPORT_URL=""
00:00:00.003 [INFO] [sway/main.c:120] BUG_REPORT_URL=""
00:00:00.003 [INFO] [sway/main.c:120] VERSION_ID="2.8"
00:00:00.003 [INFO] [sway/main.c:136] Contents of /etc/gentoo-release:
00:00:00.003 [INFO] [sway/main.c:120] Gentoo Base System release 2.8
00:00:00.003 [INFO] [sway/main.c:108] LD_LIBRARY_PATH=
00:00:00.003 [INFO] [sway/main.c:108] LD_PRELOAD=
00:00:00.003 [INFO] [sway/main.c:108] PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/14/bin:/opt/cuda/bin:/usr/lib64/opencascade/bin
00:00:00.003 [INFO] [sway/main.c:108] SWAYSOCK=
00:00:00.003 [ERROR] [sway/main.c:62] !!! Proprietary Nvidia drivers are in use !!!
00:00:00.003 [DEBUG] [sway/server.c:50] Preparing Wayland server initialization
00:00:00.004 [INFO] [wlr] [libseat] [libseat/backend/seatd.c:64] Could not connect to socket /run/seatd.sock: No such file or directory
00:00:00.004 [INFO] [wlr] [libseat] [libseat/libseat.c:76] Backend 'seatd' failed to open seat, skipping
00:00:00.015 [ERROR] [wlr] [libseat] [libseat/backend/logind.c:317] Could not activate session: Interactive authentication required.
00:00:00.015 [INFO] [wlr] [libseat] [libseat/libseat.c:76] Backend 'logind' failed to open seat, skipping
00:00:00.015 [ERROR] [wlr] [libseat] [libseat/libseat.c:79] No backend was able to open a seat
00:00:00.015 [ERROR] [wlr] [backend/session/session.c:84] Unable to create seat: Function not implemented
00:00:00.015 [ERROR] [wlr] [backend/session/session.c:249] Failed to load session backend
00:00:00.015 [ERROR] [wlr] [backend/backend.c:86] Failed to start a session
00:00:00.015 [ERROR] [wlr] [backend/backend.c:352] Failed to start a DRM session
00:00:00.015 [ERROR] [sway/server.c:56] Unable to create backend

This is on a fresh installation of gentoo, polkit is installed. Not sure I know what to try.

(I can make it work with seatd, but it behaves unstable and buggy.)

Reproducible: Always
Comment 1 Alexey Korepanov 2022-09-18 11:38:53 UTC
Created attachment 811102 [details]
emerge --info