28,659 questions
Hi.
WSL 闪退的可能原因有以下几种:
- 你没有启用适用于 Linux 的 Windows 子系统可选组件。你可以通过打开“控制面板”->“程序和功能”->“打开或关闭 Windows 功能”-> 选中“适用于 Linux 的 Windows 子系统”,或使用 PowerShell 命令来启用它。
- 你没有设置默认的 Linux 发行版。你可以通过运行
wsl -l -v
命令来查看当前安装的发行版,然后通过运行wsl --setdefault <distribution>
命令来设置默认发行版。 - WSL 内核需要更新。你可以通过运行
wsl --update
命令来更新 WSL 内核,然后通过运行wsl -l -shutdown
命令来重启 WSL 内核。
Hope the information is helpful.
Best Regards,
Hania Lian
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.