5

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,

Linux icon

I get the below error message:

Error message

WSL successfully opens Ubuntu-22.04:

WSL details

Please let me know how to fix this issue.

1 Answers1

0

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:

  • Had Windows 11 21H2 (22000) with WSL installed
  • Upgraded to Windows 11 22H2 (22621)
  • Started seeing the issue
  • Uninstalled Ubuntu and disabled the WSL feature
  • Rebooted
  • Re-enabled the Windows Subsystem for Linux feature
  • Installed Ubuntu 22.04 from the Store
  • Are still seeing the issue

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"):

  • Uninstall the existing "Windows Subsystem for Linux Preview" by either right-clicking it in the Start menu and "Uninstall" or through *"Add or remove programs" in Settings.
  • Reboot
  • Under Settings -> Turn Windows features on or off, check to make sure that the Windows Subsystem for Linux feature and the Virtual Machine Platform feature (or Hyper-V) are enabled -- They should already/still be.

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):

  1. Download 0.68.4 from the Releases page in the WSL Github repo.

  2. Start an Administrator PowerShell and:

    Add-AppxPackage <path.to>/Microsoft.WSL_0.68.4.0_x64_ARM64.msixbundle
    wsl --version # to confirm
    
  3. Reboot just to make sure everything is restarted properly.

See if that makes a difference with the Linux share.

NotTheDr01ds
  • 28,025