[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 10:05:02 BST 2023


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

--- Comment #4 from Jan Beich <jbeich at FreeBSD.org> ---
(In reply to Jan Beich from comment #3)
Beware, until bug 253277 is fixed running multiple Xwayland instances (e.g.,
rootless + rootful, rootless parent + rootless child) is fragile. I use the
following to help recover

$ cat ~/.sway/config
[...]
# X11 sockets (real + pseudo-abstract) maybe overwritten by a compositor inside
jail
exec mkdir -p /tmp/.X11-unix/backup && ln -f /tmp/.X11-unix/X${DISPLAY#:}
/tmp/.X11-unix/X${DISPLAY#:}_ /tmp/.X11-unix/backup

For example,

$ glxgears
Error: couldn't open display :0
$ ln -f /tmp/.X11-unix/backup/* /tmp/.X11-unix/
$ glxgears
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
301 frames in 5.0 seconds = 60.000 FPS
^C

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


More information about the kde-freebsd mailing list