I have installed WSL on Windows 11 and Ubuntu-22.04 in it. However, when I click on the Linux icon on the side panel,
I get the below error message:
WSL successfully opens Ubuntu-22.04:
Please let me know how to fix this issue.
I have installed WSL on Windows 11 and Ubuntu-22.04 in it. However, when I click on the Linux icon on the side panel,
I get the below error message:
WSL successfully opens Ubuntu-22.04:
Please let me know how to fix this issue.
Given the new information in the comments, I'm going to rewrite this and suggest a couple of different attempts. I still don't have high hopes for them, but they are relatively easy processes.
Based on the comments, you:
Based on that, I'm confused as to how you are at 0.66.2, but that may mean that you had it installed on 22H1.
It's important to note that disabling the Windows Subsystem for Linux feature no longer actually removes WSL itself if you have a Store Preview (such as 0.66.2) installed. Under 22H2, at least, it only turns off WSL1 support.
So let's try this two ways.
First, try rolling back to the "GA" WSL that comes with Windows (the actual "feature"):
Try the Linux share again.
If that doesn't work, my second suggestion would be to try the latest "Pre-release". These are considered slightly less stable than the 0.66.2 Preview that wsl --install currently enables, but it's always possible to roll back to 0.66.2 (or any previous release). To install (or rollback):
Download 0.68.4 from the Releases page in the WSL Github repo.
Start an Administrator PowerShell and:
Add-AppxPackage <path.to>/Microsoft.WSL_0.68.4.0_x64_ARM64.msixbundle
wsl --version # to confirm
Reboot just to make sure everything is restarted properly.
See if that makes a difference with the Linux share.