Xwayland autotermination (on-demand) not functioning
- Arch Linux | Kernel 6.5.7
- nVidia | Wayland
- Gnome-shell 45 @ gnome-shell@ebf2f803
- Mutter 45 @ 909cc6c2
- NVIDIA Driver Version: 535.113.01
Posted on Gnome Discourse before filing this issue: https://discourse.gnome.org/t/xwayland-on-demand-does-not-autoterminate/17637
It is my understanding that mutter should only start Xwayland as needed (on demand), and terminate it when no X11 apps require it.
Xwayland runs constantly here once launched initially. Its process persists until the end of the login session.
$ gsettings get org.gnome.mutter experimental-features
['autoclose-xwayland']
- Xwayland was not running at login
- Launched an X11 app (xeyes), Xwayland fired up.
- Closed X11 app, Xwayland still running
$ ps -ef | grep [X]w
myusername 8781 1475 0 09:37 ? 00:00:00 /usr/bin/Xwayland :0 -rootless -noreset -accessx -core -auth /run/user/1000/.mutter-Xwaylandauth.0P9HD2 -listenfd 4 -listenfd 5 -displayfd 6 -initfd 7 -byteswappedclients -terminate 10
Likely ill-advised, but out of curiosity I killed both below processes, yet XWayland persists.
$ xlsclients
myhostname gsd-xsettings
myhostname mutter-x11-frames
Anything else I need to do to get Xwayland autotermination functioning, or diagnose further why it's not?