Dear stackoverflow users,
I am trying to understand how a Wayland session gets invoked at the example KDE to configure XWayland for sandboxing.
The Wayland manual for XWayland is unclear about my sections and neither explains the commands/utils how to handle Wayland/XWayland.
/etc/X11/xinit/xinitrc
for the client and /etc/X11/xinit/xserverrc
for the one global server?DISPLAY=":5" application #will this use x11 or Wayland before running it?
kdestart5
starts KDE, but where do I see the configs?$DISPLAY
yourself is possible, does this mean that multiple x11 instances can coexist on the same Wayland session?ls /tmp/.X11-unix/
shows up X0 X1
, so X0 is still the xorg display server.sddm --example-config
.All in all there is lacking of documentation and utilities like checking in shell what display an application uses for Wayland and Xwayland.
Common things like using ps auxww | grep X
do not work anymore under Wayland.
However even these settings were not reliable on Xorg, which is just painful with respect to availability of XDG_BASE as standard.