Possible to run an xorg desktop in Wayland?

Pekka Paalanen ppaalanen at gmail.com
Fri Jul 21 07:30:34 UTC 2017

On Fri, 21 Jul 2017 10:24:53 +0800
Jonas Ã…dahl <jadahl at gmail.com> wrote:

> They would work if you run the clients in a rootful complete Xorg server
> on top of Wayland (such as Xnest and Xephyr), but in effect that will be
> a like running a separate session with a separate window manager and
> background etc inside a window, much like how virtual machines are
> presented, and they (x11vnc, xdotool, clients in the nested X server)
> will only be displayed in and aware of what is inside that nested x
> server.


yes, and that is actually possible with Xwayland itself, no need for
Xephyr or the like although they are probably much more user-friendly.

Xwayland still contains the code to run in rootful mode, so if you
simply run 'Xwayland :5' or whatever unused display number, it will put
up a single Wayland window which is the X11 root window. On that X11
display, you can then run a complete X11 desktop with whatever WM
etc. However, the integration with the Wayland desktop is not friendly.
Also this mode of Xwayland is rarely used at all, so testing is very

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20170721/352b5461/attachment.sig>

More information about the wayland-devel mailing list