Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
JohnSF1 opened this issue Apr 4, 2023 · 1 comment
Open

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

JohnSF1 opened this issue Apr 4, 2023 · 1 comment

Comments

@JohnSF1
Copy link

JohnSF1 commented Apr 4, 2023

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
Copy link
Contributor

Hello @JohnSF1,

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

Regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants