(In reply to Stefan Dirsch from comment #16) > (In reply to Alynx Zhou from comment #14) > > See > > <https://gitlab.gnome.org/GNOME/libgnomekbd/-/blob/master/libgnomekbd/gkbd- > > keyboard-display.c#L60>, it's a little bit old program and is set to only > > run in X11 (or XWayland on Wayland), so it won't be a native Wayland client. > > Hmm. Ok. So on a GNOME wayland session we rely on a keyboard configuration > tool, which only works with X11? > Wow! Good to know ... GNOME doesn't rely on it, it appears one specific application is pulling this (and I'm not sure why it wasn't updated to not rely on X11..). > > > Also I don't see why a Wayland > > > session should crash just because of Xwayland is crashing. I would expect > > > Xclients terminating but nothing more, i.e. not the whole Wayland session." > > > > I think gnome-shell needs to keep a XWayland process running with it for all > > time now. There will be a XWayland run as needed feature in upstream but not > > in current version we are using. > > Well, you could restart Xwayland if it would ever crash (losing the > connected X clients of course), but apparently the desktop is already > becoming unusable with Xwayland no longer running, so gnome-shell decides to > just terminate. :-( Latest GNOME release (3.36 or 3.38) are no longer requiring xwayland to be running, allowing it to be started on demand. But for 3.34 and older version, we have to keep xwayland running all the time.