Fork me on GitHub
#clj-on-windows
<
2024-07-28
>
didibus04:07:11

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

didibus04:07:34

Actually just figured it out

didibus04:07:43

I was overriding XDG_RUNTIME_DIR

seancorfield04:07:24

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?

didibus04:07:30

For X apps it always worked. It's wayland that didn't. But I think I got it all working now

seancorfield04:07:39

I thought Wayland was how X apps worked by default in that otherwise headless environment...?

didibus04:07:16

There's a XWayland compatibility layer for X11 apps.

didibus04:07:52

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

didibus04:07:01

So it could not find the wayland display socket

didibus05:07:51

I have dbus, systemd, and wayland all working now, yaya

1