Anyone has wayland working in WSL2? For example I get: GDK_BACKEND=wayland gnome-calculator (gnome-calculator:8827): Gtk-WARNING : 21:07:53.223: Failed to open display So it seems it always just falls back to XWayland
Actually just figured it out
I was overriding XDG_RUNTIME_DIR
Wayland implementation for X apps "just works" as far as I'm concerned. Do you have it working now that you're not changing the defaults?
For X apps it always worked. It's wayland that didn't. But I think I got it all working now
I thought Wayland was how X apps worked by default in that otherwise headless environment...?
There's a XWayland compatibility layer for X11 apps.
For me, it seemed like all apps defaulted to X11 and then were running using XWayland. And it was because I had a bad XDG_RUNTIME_DIR
So it could not find the wayland display socket
I have dbus, systemd, and wayland all working now, yaya