-
Notifications
You must be signed in to change notification settings - Fork 867
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 with Ubuntu not starting anymore - Blinking cursor #11923
Comments
View similar issuesPlease view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it! Open similar issues:
Closed similar issues:
Diagnostic information
|
You can try to see if the "Window Update Health Tools" is running in the background. |
Thank you @gennaris. Looks like WSL is stuck. Can you capture share process dump of when WSL is in that state ? /dumps |
I have the same problem since this morning. Suddenly nothing is working anymore. I have multiple WSL instances of Ubuntu installed. Neither of them is starting since today. I have the same versions as in the original post:
Most of the instances have the same behavior like @gennaris described. But one instance (my oldest one) shows after some cursor blinking (1 or 2 minutes) this error (sorry for the german language 😀):
So maybe there is something going on with the network? I also cannot access my WSL file systems in the windows explorer. It simply shows nothing and the round waiting indicator in the Linux Tab on top keeps spinning: Commands like |
I have just checked again for Windows updates. And there really was a new one. This seemed to fix the problem. After updating everything is working again. This are the version numbers now:
The only part that changed is the windows version (from 10.0.22631.3958 to 10.0.22631.4037) So @gennaris maybe you should check for available Windows updates |
@fscheuMoba I downloaded and applied the latest mentioned Windows Update, and after a reboot, I was able to successfully launch WSL and use the Ubuntu CLI. @OneBlue How can i provide the process share dump? I tried :
but nothing got written on disk. |
I've had a chance to do some more testing these days (uninstalling/reinstalling) but I'm not getting to the bottom of it. I managed to get the situation where WSL works correctly with any distribution after reboot, but as soon as I launch “Docker Desktop” , WSL crashes and enters the situation described at the beginning of the ticket - At that point a reboot is needed to make WSL working again. |
Windows Version
Microsoft Windows [Versione 10.0.22631.3958]
WSL Version
2.2.4.0
Are you using WSL 1 or WSL 2?
Kernel Version
No response
Distro Version
Ubuntu (Windows Store)
Other Software
Docker Desktop 4.33.1
Repro Steps
WSL2, which I use with Ubuntu, suddenly stopped working without any apparent reason, only showing a blinking cursor when launched.
I suspect that the issue might be somehow related to Docker Desktop, as the problem started after I updated it to the latest version.
When I launch Docker Desktop, I get the following error:
bootstrapping in the main distro: listing WSL distros: running WSL command wsl.exe C:\Windows\System32\wsl.exe -l -v --all: context deadline exceeded
Running wsl -v returns:
However, wsl -l -v hangs indefinitely.
I have already tried the following steps without success:
Uninstalling/reinstalling "Ubuntu" from the Windows Store
Completely uninstalling/reinstalling Docker Desktop
Disabling/re-enabling WSL and Virtual Machine Platform from the Windows Features.
I am attaching the logs generated by the diagnostic script for your reference.
Expected Behavior
I expect wsl.exe running correctly, I have used it for over a year without any problems
Actual Behavior
WSL shows a blinking cursor when launched
Diagnostic Logs
WslLogs-2024-08-14_09-33-45.zip
The text was updated successfully, but these errors were encountered: