sakai135 / wsl-vpnkit

Provides network connectivity to WSL 2 when blocked by VPN
MIT License
2.32k stars 170 forks source link

wsl.exe: 1: MZ: Permission denied #228

Closed zcharym closed 1 year ago

zcharym commented 1 year ago

the issue comes after rebooting Windows today, Is anyone familiar with this MZ stuff?

distribution: Ubuntu-22.04 WSL-version: 2 booting with .zshrc config:

wsl.exe -d wsl-vpnkit --cd /app service wsl-vpnkit start
r1m commented 1 year ago

This fixed it for me : https://github.com/microsoft/WSL/issues/8952#issuecomment-1572193568 to run from your Ubuntu. See https://github.com/sakai135/wsl-vpnkit/issues/217

zcharym commented 1 year ago

@r1m thanks a lot :)