(My original question is posted on Microsoft community, and I posted here again because I was suggested that this would be a better place for asking such a question.)
Problem:
Fails to use ubuntu 20.04 with wsl2. Running it shows: WSL 2 Press any key to continue..., which basically exits immediately when I press any key, causing it to be unusable. (I had this setup and working correctly before, so it shouldn't be a problem to do with installation.)
Approaches Tried:
- LxssManager service is running. But LxssManagerUser and LxssManagerUser_60d78 are stopped. Manually starting the two services doesn't help as they automatically stop themselves right afterwards.
- Hyper-V service is set to auto. Virtualization mode is enabled (task manager -> performance -> CPU)
- installed the wsl2 update as suggested in my original post, which, after a reboot, fixed the problem. However I am not sure if it will permanently fix it, so I posted here again for more insights/suggestions.
Environment:
OS: Microsoft Windows 10 Family, Insider Preview
Version: 10.0.20152 Version 20152
System Type: x64 based