(Imported from the mailing list: 6461 with a link from 6466)

I just extracted the tar file into ~/opt and ran pcb-rnd fine under WSL. However this is on a WSL with *known working* X11, and it took me a bit of work some time ago to get that X11 support working correctly...

The problem I was having at the time was that /tmp/.X11-unix wasn't being linked to /mnt/wslg/.X11-unix as it should be. Instead it was using a normal Linux-esque internal .X11-unix which of course doesn't work.

What I had to do was:

1. Make sure that /etc/wsl.conf has:

[boot]
systemd=true

2. Create the file (or check it if it's there) /etc/tmpfiles.d/wslg.conf - which should have:

L+ /tmp/.X11-unix - - - - /mnt/wslg/.X11-unix

Also, ensure that your installation is using WSL version 2 and not version 1, or you'll be banging your head against a wall...