Created attachment 184290 [details] Console output capture SUMMARY When launched nested under the weston compositor using its vnc backend, startplasma-wayland fails to start a plasma-wayland session and exits immediately. When the weston configuration is changed only to switch the backend to 'drm', plasma-wayland is launched and runs successfully. The weston.ini configuration is as follows: [core] shell=kiosk backend=vnc xwayland=false idle-time=0 [autolaunch] path=/usr/bin/startplasma-wayland watch=true [vnc] tls-key=/home/robin/weston-vnc/tls.key tls-cert=/home/robin/weston-vnc/tls.crt [output] name=vnc mode=1366x768 resizeable=true STEPS TO REPRODUCE 1. From a TTY, launch weston with the above configuration file. $ export QT_LOGGING_RULES="*.debug=true" $ dbus-run-session weston -c /path/to/weston.ini &> weston-plasma-vnc.log OBSERVED RESULT startplasma-wayland and weston exit after <1s EXPECTED RESULT A plasma-wayland session is started nested in weston. SOFTWARE/OS VERSIONS KDE Plasma Version: 6.4.4 KDE Frameworks Version: 6.16.0 Qt Version: 6.9.1 Tested both with the current release version of weston (14.0.2) and current git master as packaged by Gentoo. Other compositors such as labwc can be started nested under weston without issues.
startplasma cannot run nested.
(In reply to David Edmundson from comment #1) > startplasma cannot run nested. It can and does with backend=drm and with every wlroots compositor I have tried (cage, sway, labwc). If what you mean is "doesn't support it", fair enough, but then I'm unclear why kwin itself does (or so it appears by the existence of this subcategory).
Created attachment 184862 [details] Screenshot of Fedora KDE running through Weston via WayPipe remotely and displaying on Mutter It definitely can run nested, but KWin needs the ability to attach to a drm device for things to work. The screenshot attached was produced with this launcher script: https://github.com/Internethamster/fedora-cloud-images-kiwi/blob/main/root/usr/local/bin/weston-start-kde-plasma But you can't have an existing Plasma running in the user, nor can you have the drm device locked by something else.