[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
howtos:window_managers:running_xorg_environments_in_xwayland [2023/12/23 00:51 (UTC)] – created pghvlaans | howtos:window_managers:running_xorg_environments_in_xwayland [2024/01/25 11:06 (UTC)] (current) – [Caveats] Wrong file path. pghvlaans | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Running Xorg Environments in Xwayland ====== | ====== Running Xorg Environments in Xwayland ====== | ||
- | > Being able to read xorg.conf is not one my goals, nor achieving a bug-for-bug compatibility with Xorg - Xwayland with !901 (merged) allows to run a full X11 desktop, even the most legacy ones (I demoed it internally here using CDE from an XDMCP remote connection for the fun 😉).((Olivier Fourdan, xserver issue [[https:// | ||
- | |||
This is a how-to guide for running an Xorg window manager or desktop environment in a Wayland compositor((In Wayland terms, the " | This is a how-to guide for running an Xorg window manager or desktop environment in a Wayland compositor((In Wayland terms, the " | ||
Line 12: | Line 10: | ||
All outside packages mentioned here can be found on [[https:// | All outside packages mentioned here can be found on [[https:// | ||
+ | |||
+ | > Being able to read xorg.conf is not one my goals, nor achieving a bug-for-bug compatibility with Xorg - Xwayland with !901 (merged) allows to run a full X11 desktop, even the most legacy ones (I demoed it internally here using CDE from an XDMCP remote connection for the fun 😉).((Olivier Fourdan, xserver issue [[https:// | ||
+ | |||
==== Choosing a Wayland compositor ==== | ==== Choosing a Wayland compositor ==== | ||
The following considerations are important in choosing a Wayland compositor to run the Xwayland server: | The following considerations are important in choosing a Wayland compositor to run the Xwayland server: | ||
Line 71: | Line 72: | ||
* Rootful Xwayland windows are no longer decorated, so '' | * Rootful Xwayland windows are no longer decorated, so '' | ||
* The initial geometry of the Xwayland server must be specified. Replace the Xwayland line in the autostart script above with the following: | * The initial geometry of the Xwayland server must be specified. Replace the Xwayland line in the autostart script above with the following: | ||
- | | + | |
- | | + | DISPLAY=:1 startx -- / |
- | + | ||
Ideally, the '' | Ideally, the '' | ||
==== Running ==== | ==== Running ==== | ||
Line 92: | Line 93: | ||
* GPU memory usage is slightly higher relative to running an ordinary xserver. | * GPU memory usage is slightly higher relative to running an ordinary xserver. | ||
* Wayland-only programs and any other program that runs in Wayland mode will be managed by the Wayland compositor rather than the X11 environment. | * Wayland-only programs and any other program that runs in Wayland mode will be managed by the Wayland compositor rather than the X11 environment. | ||
- | * Neither xinput nor synclient will work to turn off touchpads, for example. | + | * Neither xinput nor synclient will work to adjust input device settings; instead, use the file '' |
* If an input device does not work in the chosen Wayland compositor, running an Xwayland server will not cause it to start working. | * If an input device does not work in the chosen Wayland compositor, running an Xwayland server will not cause it to start working. | ||
* xbacklight does not work; echoing values to ''/ | * xbacklight does not work; echoing values to ''/ |