Summary: | KWin does not set up Xauthority socket in the Plasma Wayland session, breaking Anaconda | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Neal Gompa <ngompa13> |
Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | awilliam, nate, rdieter |
Priority: | NOR | ||
Version: | 5.20.90 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
URL: | https://bugzilla.redhat.com/show_bug.cgi?id=1921947 | ||
Latest Commit: | https://invent.kde.org/plasma/kwin/commit/80ff37862c9d41b2ac0cfb51f87aa5b9ea63dfdb | Version Fixed In: | 5.21 |
Description
Neal Gompa
2021-02-07 22:31:24 UTC
sddm may be related too, https://github.com/sddm/sddm/blob/develop/src/helper/UserSession.cpp#L263 appears to purposely set XAUTHORITY only for X11 sesions. Using GDM+Plasma doesn't solve the problem (and this works in GNOME), so I do not think that SDDM is where this needs to be fixed. A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/665 The MR fixes the issue for me in Fedora, and I've cherry-picked it to our kwin package[1]. It'd be great if this was included in kwin 5.21 final release, so we don't have to maintain the patch. :) [1]: https://src.fedoraproject.org/rpms/kwin/c/f6befa54b9a3202eca123f10e53b6c19d21f0959?branch=rawhide Git commit 335d9c41925d9463a52f59ff61e7be6a84cae8c3 by Vlad Zahorodnii. Committed on 08/02/2021 at 22:14. Pushed by vladz into branch 'master'. xwayland: Generate Xauthority file This allows running Xwayland apps as root. Xwayland started with an empty Xauthority file. After kwin has received the display number, the file is updated with an actual authority entry. M +1 -0 autotests/integration/kwin_wayland_test.cpp M +1 -0 main_wayland.cpp M +89 -14 xwl/xwayland.cpp M +7 -2 xwl/xwayland.h https://invent.kde.org/plasma/kwin/commit/335d9c41925d9463a52f59ff61e7be6a84cae8c3 Git commit 80ff37862c9d41b2ac0cfb51f87aa5b9ea63dfdb by Vlad Zahorodnii. Committed on 08/02/2021 at 22:19. Pushed by vladz into branch 'Plasma/5.21'. xwayland: Generate Xauthority file This allows running Xwayland apps as root. Xwayland started with an empty Xauthority file. After kwin has received the display number, the file is updated with an actual authority entry. (cherry picked from commit 335d9c41925d9463a52f59ff61e7be6a84cae8c3) M +1 -0 autotests/integration/kwin_wayland_test.cpp M +1 -0 main_wayland.cpp M +89 -14 xwl/xwayland.cpp M +7 -2 xwl/xwayland.h https://invent.kde.org/plasma/kwin/commit/80ff37862c9d41b2ac0cfb51f87aa5b9ea63dfdb |