medley
medley copied to clipboard
Running on Windows using unix socket with WSL
This belongs in documentation somewhere:
Using X11 with WSL 2 on Windows 10, there was a problem that whenever the system went to sleep, it would break the connection to the X server running on the same machine.
I found in some help file the following incantation:
- Use the X410 X-server on the Windows side. This is available from the windows app store.
- on the WSL side, using a debian-based distro ("pengwin"),
sudo apt install socat - run
socat -b65536 UNIX-LISTEN:/tmp/.X11-unix/X0,fork,mode=777 VSOCK-CONNECT:2:6000 &
when you start WSL.