[Bug 271571] x11-wm/plasma5-kwin: fails to start nested under Wayland (wlroots)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Aug 19 09:37:52 BST 2023


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271571

--- Comment #3 from Jan Beich <jbeich at FreeBSD.org> ---
Workaround: use KWin's X11 backend by hiding Wayland connection and switching
X11 connection to a rootful Xwayland instance.

# Replace kwin_wayland with startplasma-wayland for something easier to use
$ env -u WAYLAND_DISPLAY DISPLAY=:$(Xwayland -retro -geometry 1024x768
-terminate -displayfd 1 2>/dev/null &) kwin_wayland

Implementation details:
* -retro: classic Xwayland background to distinguish from KWin's black
background
* -geometry 1024x768: to match KWin's default if kwin_wayland is started by
startplasma-wayland
* -terminate: exit Xwayland immediately after KWin exits
* -displayfd 1: output X11 connection path (dpy) to stdout

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list