Lỗi encountered an error during setup trên ubuntu năm 2024
I'm trying to install an Ubuntu distro to WSL. My CPU is Core i8, has virtualization support enabled, and followed the manual installation instructions at: https://docs.microsoft.com/en-us/windows/wsl/install-manual When I run the command
2, I get the following error:
4 Soon after, a search took place and I learned that the disabled
5service was causing this error (Link to article: 3815)So I ran the following commands in order:
And this is what I get:
It says the service is already running. And when I check in
9, it is indeed running. So I suspect that although the service is running, the WSL on my machine is not able to communicate with the service. So I stopped the service, put it back to the DISABLED state, went into Windows Features to disable WSL, rebooted the machine, and turned WSL back on, then restarted the computer. At this point, I tried running WSL, and it gave me error 0x80070422. This is understandable, since I'm leaving the LxssManager service in the DISABLED state. Then I re-enable the service with the command:
0, and this is what I get:
(Please note that I have disabled UAC on my computer, and run Windows Terminal as administrator. Windows Defender is also completely disabled using Group Policy and Registry, so there should be no conflict here) I repeatedly run the following commands:
1 And after reboot:
Now it's time for me to install my distro, and I verify the service is running, via the above commands: |