WSL2 and xwayland cause weston to crash
This is more of a feature request than an issue.
I recently updated WSL (Windows Subsystem for Linux), and found that it had an option to enable systemd. I enabled systemd, and was able to run weston directly from the wsl prompt. It performs quite well; however, when I enable [core] xwayland=true, then weston crashes
[02:56:04.049] Registered plugin API 'weston_xwayland_surface_v1' of size 16
[02:56:04.050] failed to bind to /tmp/.X11-unix/X0: Address already in use
/home/d3x0r/gow2.sh: line 2: 77000 Segmentation fault /usr/local/bin/weston --width=1250 --height=640 --scale=2
I tried to move/remove the /tmp/.X11-unix/X0, but it's in a readonly filesystem. which I can do something like mount -o remount,rw /tmp/.X11-unix
; (but then the X0 goes away, not sure when) I had started wayland again and it didn't crash...but now I can't run X applications either (looks like they were running with windows as the server somehow).
But; What I was wondering, is if maybe there could be an option to specify an X Server display to use which would be used for wayland? Like leave the original X0 alone and add another? (Although it looks like that won't immediately solve my issue anyway)