Exec format error 32-bit executable Windows Subsystem for Linux?

QEMU and binfmt support light the way 🙂 https://github.com/microsoft/wsl/issues/2468#issuecomment-374904520 After reading that the WSLInterop between WSL and Windows processes used binfmt, I was tinkering with QEMU to try some ARM development, and incidentally discovered how to get 32-bit support working. Edit: requires “Fall Creators Update”, 1709, build 16299 or newer Install qemu and binfmt config: … Read more

How to set up working X11 forwarding on WSL2 [closed]

TL;DR: Add the following to your ~/.bashrc: export DISPLAY=$(ip route list default | awk ‘{print $3}’):0 export LIBGL_ALWAYS_INDIRECT=1 Enable Public Access on your X11 server for Windows.* Add a separate inbound rule for TCP port 6000 to the windows firewall in order to allow WSL access to the X server, as described by the wsl-windows-toolbar-launcher … Read more