WSL2 with Ubuntu not starting anymore - Blinking cursor
- Dominant language
- C++
- Stars
- 33.7k
- Forks
- 1.8k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 116
Description
### Windows Version
Microsoft Windows [Versione 10.0.22631.3958]
### WSL Version
2.2.4.0
### Are you using WSL 1 or WSL 2?
- [X] WSL 2
- [ ] WSL 1
### 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:
```
WSL Version: 2.2.4.0
Kernel Version: 5.15.153.1-2
WSLg Version: 1.0.61
MSRDC Version: 1.2.5326
Direct3D Version: 1.611.1-81528511
DXCore Version: 10.0.26091.1-240325-1447.ge-release
Windows Version: 10.0.22631.3958
```
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](https://github.com/user-attachments/files/16609231/WslLogs-2024-08-14_09-33-45.zip)
Contributor guide
Research direction
Start by reproducing the hang with wsl.exe -l -v and compare it with the reported wsl -v output. Review the attached WslLogs-2024-08-14_09-33-45.zip and the Docker Desktop bootstrapping error; done requires identifying a reproducible cause and a confirmed fix, but the issue does not name a source file or test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, ubuntu
- Domain
- devops, operating-systems
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100