ringdove knowledge pool
Running Ringdove x86_64 Linux binpack on Windows WSL
binpack_wsl by Majenko on 2024-08-31 | Tags: howto, binpack, windows, WSL |
Abstract: If you plan to use Ringdove on windows and you decide not to run the native windows version of Ringdove but the Linux binpack (Binary Pack) using WSL, these are the steps to get it working.
(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...