Open deborahgu opened 3 years ago
Any interesting errors in dmesg? Could you install a fresh distro from the store, for example Debian, and try there?
@deborahgu The install howto does not stress that you must update WSL as well (at least after upgrading to Win11 21H2 (OS Build 22000.282).
You are on Win10, but I expect this to be needed in any such case:
The general Issue likely is that wsl --update
, when not run from an elevated command prompt, does not tell the user that it must be run from an elevated command prompt to download and install the updates which enable /mnt/wslg.
And the README.md
's section label should start with the imparative "Update" rather than "Updating":
Instead of "Updating WSL + WSLg" it should be titled "Install WSLg by updating WSL as Administrator".
from README.md:
To update to the latest version of WSL and WSLg released for preview, simply run wsl --update from an elevated command prompt or powershell.
You'll need to restart WSL for the changes to take effect. You can restart WSL by running wsl --shutdown from an elevated command prompt. If WSL was currently running, it will shutdown, make sure to first save any in progress work! WSL will be automatically restarted the next time you launch a WSL application or terminal.
+1. this hit me as well I think on retail. Spent several hours debugging just to find out I didn't run the update as admin, even though I hadn't even USED WSL previously afaik, as I had to enable virtualization etc.
Environment
Steps to reproduce
WSL logs:
/mnt/wslg
: sadly the mount point in question does not exist. If it does, I would have a working installation.Expected behavior
/mnt/wslg
directoryActual behavior
/mnt/wslg
directory doesn't existError: Can't open display: :0