[Bug 1170619] New: GDM fails to start wayland session for sway (CAP_SYS_ADMIN missing)
http://bugzilla.suse.com/show_bug.cgi?id=1170619 Bug ID: 1170619 Summary: GDM fails to start wayland session for sway (CAP_SYS_ADMIN missing) Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.2 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: GNOME Assignee: os.gnome.maintainers@gmail.com Reporter: daniel.molkentin@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Reproducer: 1. Install openSUSE 15.2 2. Install sway 3. Pick sway as session type from gdm login (gear icon) Result: GDM returns to login. journal shows: Apr 27 18:26:13 workhorse /usr/lib/gdm/gdm-wayland-session[14076]: 2020-04-27 18:26:13 - [backend/session/direct-ipc.c:35] Do not have CAP_SYS_ADMIN; cannot become DRM master Apr 27 18:26:13 workhorse /usr/lib/gdm/gdm-wayland-session[14076]: 2020-04-27 18:26:13 - [backend/session/session.c:96] Failed to load session backend Apr 27 18:26:13 workhorse /usr/lib/gdm/gdm-wayland-session[14076]: 2020-04-27 18:26:13 - [backend/backend.c:286] Failed to start a DRM session Apr 27 18:26:13 workhorse /usr/lib/gdm/gdm-wayland-session[14076]: 2020-04-27 18:26:13 - [sway/server.c:47] Unable to create backend Expected: wayland session starting -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1170619
Lubos Kocman
http://bugzilla.suse.com/show_bug.cgi?id=1170619
Denis Kondratenko
http://bugzilla.suse.com/show_bug.cgi?id=1170619
http://bugzilla.suse.com/show_bug.cgi?id=1170619#c1
--- Comment #1 from Denis Kondratenko
http://bugzilla.suse.com/show_bug.cgi?id=1170619
http://bugzilla.suse.com/show_bug.cgi?id=1170619#c2
--- Comment #2 from Denis Kondratenko
http://bugzilla.suse.com/show_bug.cgi?id=1170619
http://bugzilla.suse.com/show_bug.cgi?id=1170619#c3
Daniel Molkentin
http://bugzilla.suse.com/show_bug.cgi?id=1170619
http://bugzilla.suse.com/show_bug.cgi?id=1170619#c4
--- Comment #4 from Denis Kondratenko
Anything more I can trace the behavior?
does it run from tty ? could you run sway with debug log ? That issue could be different in the debug logs, I had it because there was no Mesa installed (which probably not your case). Thanks, Denis -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1170619
http://bugzilla.suse.com/show_bug.cgi?id=1170619#c5
--- Comment #5 from Daniel Molkentin
http://bugzilla.suse.com/show_bug.cgi?id=1170619
http://bugzilla.suse.com/show_bug.cgi?id=1170619#c6
--- Comment #6 from Daniel Molkentin
http://bugzilla.suse.com/show_bug.cgi?id=1170619
http://bugzilla.suse.com/show_bug.cgi?id=1170619#c7
Daniel Molkentin
Hi Daniel,
Anything more I can trace the behavior?
does it run from tty ?
nope, as stated above
could you run sway with debug log ?
attached. Is there a way to get more debug ouput, e.g. which card it wants to attach to? I have both an intel and an nivida card, but I chose to remove all the proprietary nivida drivers.
That issue could be different in the debug logs, I had it because there was no Mesa installed (which probably not your case).
looks it's there. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1170619
https://bugzilla.suse.com/show_bug.cgi?id=1170619#c8
--- Comment #8 from Denis Kondratenko
https://bugzilla.suse.com/show_bug.cgi?id=1170619
https://bugzilla.suse.com/show_bug.cgi?id=1170619#c9
--- Comment #9 from Denis Kondratenko
sudo chmod a+s /usr/bin/sway
More info here: https://github.com/swaywm/wlroots/issues/2236 https://bugs.gentoo.org/708680 I would like to ask systemd experts to help here. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1170619
Lubos Kocman
https://bugzilla.suse.com/show_bug.cgi?id=1170619
https://bugzilla.suse.com/show_bug.cgi?id=1170619#c11
--- Comment #11 from Lubos Kocman
https://bugzilla.suse.com/show_bug.cgi?id=1170619
https://bugzilla.suse.com/show_bug.cgi?id=1170619#c12
Franck Bui
https://bugzilla.suse.com/show_bug.cgi?id=1170619
Denis Kondratenko
https://bugzilla.suse.com/show_bug.cgi?id=1170619
Ignacio Taranto
https://bugzilla.suse.com/show_bug.cgi?id=1170619
Matej Cepl
https://bugzilla.suse.com/show_bug.cgi?id=1170619
https://bugzilla.suse.com/show_bug.cgi?id=1170619#c13
Franck Bui
https://bugzilla.suse.com/show_bug.cgi?id=1170619
https://bugzilla.suse.com/show_bug.cgi?id=1170619#c14
--- Comment #14 from Denys Kondratenko
https://bugzilla.suse.com/show_bug.cgi?id=1170619
https://bugzilla.suse.com/show_bug.cgi?id=1170619#c15
--- Comment #15 from Franck Bui
https://bugzilla.suse.com/show_bug.cgi?id=1170619
https://bugzilla.suse.com/show_bug.cgi?id=1170619#c16
Denys Kondratenko
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com