The permission denied part is easily fixed: @muru thanks, I should've checked what "tee" does. To enable it run in an elevated powershell: Additionally, if you have 3rd party hypervisors installed (Such as VMware or VirtualBox) then please ensure you have these on the latest versions which can support HyperV (VMware 15.5.5+ and VirtualBox 6+) or are turned off. Virtual hard disk files must be uncompressed and unencrypted and must not be sparse. to your account. Windows firewall uses Norton provider in which I let network utilities to go outside because they are not enabled by default. It's a link to a YouTube video, but essentially, it says to: Disconnect from the VPN Tried to disable Windows Defender Firewall on Windows 10, doesn't help. https://ubuntu.com/server/docs/service-openssh. Site design / logo 2023 Stack Exchange Inc; user contributions licensed under CC BY-SA. Does anyone have another idea what to do? Just a heads-up that I've deleted my answer since it was for WSL/Ubuntu on Windows 10, and Win 11 definitely behaves differently. Enter the command: 'base64 -d vpn_script.txt >> vpn_script.sh'. Fixed. If you do not want this behavior you can run this command to change the Ubuntu locale after install completes. What about later if this link is gone? Ask Ubuntu is a question and answer site for Ubuntu users and developers. (The one a 32-bit process sees on x64 Windows is stored on disk at \Windows\SysWOW64.) If you can't see any Windows paths then most likely your PATH is being overwritten by your Linux shell. To prevent having to re-run any commands, open a WSL 2 session window and run. Learn more about how to Configure Nested Virtualization when running Hyper-V in a Virtual Machine. Here is a an example that /etc/profile on Debian contributed to the problem: The correct way on Debian is to remove above lines. Some distributions available in Microsoft Store are yet not fully compatible to run Windows commands out of the box. If you want to share DNS configuration between Windows and WSL Linux, leave autogeneration ON. have never seen it before. RX errors 0 dropped 0 overruns 0 frame 0 so I was having issues with domain resolution with WSL whenever I use the VPN. Must create /etc/wsl.conf file and add an entry to kill the resolv.conf file from auto generating on reboot. Here is what I've tried: I created the /etc/wsl.conf file with the following content: [network] generateResolvConf = false. This can always be changed with a simple: sudo chown [username]:[username] /etc/resolv.conf. So, I'm not sure if anything has changed in between. Cc: mahsoommoosa42