Re: New user getting started questions

Thomas Leonard
2021-11-10T14:24:57Z

On Wed, 10 Nov 2021 at 12:59, Alyssa Ross <hi@alyssa.is> wrote:
>
> Thomas Leonard <talex5@gmail.com> writes:
>
> > On Wed, 3 Nov 2021 at 11:37, Alyssa Ross <hi@alyssa.is> wrote:
[...]
> >> Also, I've been following some Qubes work recently, and it sounds like
> >> they might be interested in doing X11 over Wayland in a way that
> >> wouldn't need special compositor support (and the corresponding
> >> potential for security bugs). It sounds like it would be a lot of work
> >> though, so we'll see…
> >
> > Isn't that what Sommelier and wayland-proxy-virtwl are both doing
> > already though? There's no need for any X11 support in the host
> > compositor with them.
>
> Oh I didn't realise that. So the host compositor doesn't have to
> implement an X11 window manager and speak back to the Xserver, like it
> does in a normal XWayland setup[1]?

Correct; the proxy acts as the X11 window manager to Xwayland, and
just talks plain Wayland to the host. In fact, I managed to work
around several problems with Sway's built-in Xwayland integration by
using the proxy instead, even on the host (see
https://roscidus.com/blog/blog/2021/10/30/xwayland/#bonus-features).

> [1]: https://wayland.freedesktop.org/docs/html/ch05.html#sect-X11-Application-Support-architecture

--
talex5 (GitHub/Twitter) http://roscidus.com/blog/
GPG: 5DD5 8D70 899C 454A 966D 6A51 7513 3C8F 94F6 E0CC