clj-on-windows

2024-07-28T04:08:11.804229Z

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

2024-07-28T04:14:34.414349Z

Actually just figured it out

2024-07-28T04:14:43.717819Z

I was overriding XDG_RUNTIME_DIR

seancorfield 2024-07-28T04:45:24.393489Z

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?

2024-07-28T04:52:30.161179Z

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

seancorfield 2024-07-28T04:53:39.848619Z

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

2024-07-28T04:54:16.699049Z

There's a XWayland compatibility layer for X11 apps.

2024-07-28T04:54:52.902099Z

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

2024-07-28T04:55:01.674019Z

So it could not find the wayland display socket

2024-07-28T05:00:51.489379Z

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

👍🏻 1