-
Notifications
You must be signed in to change notification settings - Fork 800
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
WSL2 distro not starting since 21364 build #6839
Comments
I have the same issue. After update to Windows 10 Insider Preview Build 21364 WSL does start any more. |
Same issue here. After update to Windows 10 Insider Preview Build 21364 WSL does start any more. [wsl2] fixes the problem. |
I was having the same issue and this fixed it for me. Thanks! |
Thanks! |
@github348's fix worked for me, too. For what it's worth, the fix here didn't work for me, nor did any of the other suggestions on that issue. I couldn't install any more distros; they all failed with error 0x80070057. |
Thank you! Wasted so much time on this... One more note, as I had to look this up to: |
Worked for me. |
This fix also works for me, although the reason I was trying to install it, was to try out the gui support., so I guess this means I can't
This fix also works for me, although the reason I was trying to install it, was to try out the gui support., so I guess this means I can't |
Thank you. I have almost lost entired night trying to solve this issue. Now it's up and running. |
On a german Windows Version it's simply And it does not hinder any previous settings that let me use gui apps through X410. Though i just notice, that gitkraken now can display it's icon (rather than the one of X410, that was used before the newest updates). May be unrelated, since i updated the WSL-Kernel as part of finding a solution. |
See reason of why this could happen in microsoft/wslg#33 |
We've identified an issue with some CPUs and a fix is inbound. |
@benhillis could this be also related to your fix ? MicrosoftDocs/WSL#798 |
@P4R4DiSi4C To know if it's related just use this wslconfig option to disable GUI support. |
Okay, then it's not related thanks :) |
Yes, it's a good idea👍. wsl2 ver.5.10.16.3 works @win10 ver. 21359, but not work when update 21364! tks. |
This need more investigation... For now... creating the ".wsl2config" file with the content:
It Works!! |
Repro Steps Duplicate the situation, now that I got my WSL to work , I'm went back to delete the config file: ".wslconfig" in the User Profile folder, run cmd "wsl --shutdown". Reboot not necessary. Start WSL and now I'm back to square one! So, I can't open WSL. Then try to recover with the following WSL Settings Options: I did uninstall all distro, remove the WSL Update, uncheck WSL Feature, then Reboot machine Check back the WSL Feature, Reboot machine, install back the WSL Update then manually create the WSL config file "wslconfig" in your Windows User Profile folder" c:\Users\username" with the following entries:
Proceed to Download and Install UBUNTU-20.04 Bottom-line: WSL needs to have the configuration file ".wslconfig" , or it won't start. So, you didn't need to uninstall WSL to get it to work. |
This issue is well-understood. Unless something unexpected happens this should be fixed with next week's Insider Dev build. |
The fix mentioned here didn't work for me. After putting into %userprofile%\.wslconfig I get another error: {Application Error} |
Did you do open a PowerShell console (as Admin), and ran the command: "wsl --shutdown"? |
Yes I did it, I get the same message |
I already did it. I put into %userprofile%\.wslconfig and I did, as administrator, wsl.exe --shutdown but I get another message, namely: That is 21364.1 build |
Please, can you provide a print-screen of the message you're getting? |
|
That message, I haven't seen it. I ended up with the pain of resetting and reinstalling everything (all components/features) to finally get it to work. Today I updated my Windows 10 Insider to Build 21370. This time WSL works! But now fighting with Docker-Desktop(3.3.1), which installs but doesn't work in WSL2. |
@MaximoTrinidad I'm running it right now without problem. I had to add |
My advice regarding Docker is to install it on WSL directly. |
This works for me. After so many Trials finally Docker is running. Thanks so much |
Fixed adding .wslconfig file to %UserProfile%. Thank you
|
TKS. I will have a try. |
This did not do anything for me.. Restarted machine & WSL and reinstalled WSL with the |
The fix for this issue (not a workaround) is in build 21376. |
|
Build 21376 releases today. We encourage you to turn GUI applications back on, as that should now be fixed (you can remove guiapplications=false from .wslconfig). |
Confirmed, GUI is now working |
Can u give me a link or the way to enable GUI? |
|
In my case, after 3hrs installing Windows Insider build 21376, on my old Lenovo T430s, and removing the line: "Windows SubSystem for Linus was terminated. I had to use the command in the PowerShell console:
`Then, I was able to enable open WSL2with graphics enabled. What a ride! I'm glad this is finally resolved! |
Works now, thanks! |
Windows Build Number
Microsoft Windows [Version 10.0.21364.1]
WSL Version
Kernel Version
5.10.16
Distro Version
Ubuntu 20.04
Other Software
No response
Repro Steps
Start ubuntu. After the new insider release it doesn't work with following error.
Expected Behavior
Doesn't work.
Actual Behavior
Should work.
Diagnostic Logs
wsl.zip
The text was updated successfully, but these errors were encountered: