Xwayland rootful - part 2
This is the second part of the Xwayland rootful post, the first part is there . Using Xwayland rootful to run a full X11 desktop Xwayland rootful can run more than just a window manager, it can as well run an entire X11 desktop, for example with Xfce: $ Xwayland -geometry 1024x768 -decorate :12 & $ DISPLAY=:12 SESSION_MANAGER= GDK_BACKEND=x11 dbus-run-session startxfce4 Xfce running on Xwayland rootful in GNOME Shell on Wayland Unfortunately, not all the keyboard shortcuts within the nested X11 session actually work, because some of those (such a Alt-Tab for example) get processed by the Wayland compositor directly, instead of being forwarded to the nested environment. This however isn't a problem specific to Wayland or Xwayland, an X11 window manager running in Xnest or Xephyr will have the same issues with keyboard shortcuts. To avoid that, Xephyr is able to „grab“ the keyboard and pointer so that all input events end up in the neste...