WhitewaterFoundry / Fedora-Remix-for-WSL

Fedora Remix for Windows Subsystem for Linux.
Other
715 stars 51 forks source link

bash: /mnt/c/WINDOWS/system32/wsl.exe: Permission denied #193

Open JohnSF1 opened 1 year ago

JohnSF1 commented 1 year ago

Describe the bug A clear and concise description of what the bug is.

I have followed your link: https://www.whitewaterfoundry.com/blog/2022/4/16/announcing-built-in-systemd-support-in-fedora-remix-for-wsl

1/ Edit the /etc/wsl.conf to establish a custom hostname. Add a hostname entry in the [network] section with the hostname that you like 'fedoraremix'

2/ Install avahi with sudo dnf -y install avahi and enable it with sudo systemctl enable avahi-daemon

3/ Stop Fedora Remix with wsl.exe --terminate fedoraremix

Above step 3 triggered the subject message.

Basic Troubleshooting Checklist

I have searched Google and followed some of the suggestions but they do not work.

Fedora Remix for WSL Version

Find: Settings->Apps->Apps & features->Fedora Remix for WSL Version->Advanced Options->Version.

37.1.2.0

Also, cat /etc/os-release

NAME="Fedora Remix for WSL" VERSION="37" ID=fedoraremixforwsl ID_LIKE=fedora VERSION_ID=37 PLATFORM_ID="platform:f37" PRETTY_NAME="Fedora Remix for WSL" ANSI_COLOR="0;34" CPE_NAME="cpe:/o:fedoraproject:fedora:37" HOME_URL="https://github.com/WhitewaterFoundry/Fedora-Remix-for-WSL" SUPPORT_URL="https://github.com/WhitewaterFoundry/Fedora-Remix-for-WSL" BUG_REPORT_URL="https://github.com/WhitewaterFoundry/Fedora-Remix-for-WSL/issues" PRIVACY_POLICY_URL="https://github.com/WhitewaterFoundry/Fedora-Remix-for-WSL/blob/master/PRIVACY.md" FEDORA_REMIX_VERSION=37.1.1

Windows Build

Run 'systeminfo | findstr /C:"OS"' in Command Prompt and insert here:

OS Name: Microsoft Windows 11 Pro Insider Preview OS Version: 10.0.23424 N/A Build 23424 OS Manufacturer: Microsoft Corporation OS Configuration: Standalone Workstation OS Build Type: Multiprocessor Free BIOS Version: HP N21 Ver. 02.32, 1/30/2018

crramirez commented 1 year ago

Hello @JohnSF1,

We will check because it should work. As a workaround run this command from Command Prompt or Power Shell

Regards,