WSL2可以支持GUI了。 使用WSL 运行 Linux GUI 应用docs.microsoft.com/zh-cn/windows/wsl/tutorials/gui-apps 前提条件: Windows 11 内部版本 22000或更高版本 已安装适用于 GPU 的驱动程序 安装命令: # 全新安装, 然后重启 wsl --install -d Ubuntu # 现有WSL升级 wsl --update wsl --shutdown 常用软...
wsl --update (3) 重启WSL wsl --shutdown Linux GUI apps are only supported with WSL 2 and will not work with a Linux distribution configured for WSL 1. Read about how to change your distribution from WSL 1 to WSL 2. 就是这么简单. 说白了就是升级一下, 自然就支持了! 安装GUI应用 文档...
Enter the WSL update command: PowerShell wsl--update You will need to restart WSL for the update to take effect. You can restart WSL by running the shutdown command in PowerShell. PowerShell wsl--shutdown Anteckning Linux GUI apps are only supported with WSL 2 and will not work with ...
WSL2的preview版本开始支持systemd了,我没有安装应用商店的WSL,需要去Releases · microsoft/WSL · GitHub下载msixbundle文件,双击安装更新。 wsl.exe --update --web-download echo -e "[boot]\nsystemd=true" | sudo tee -a /etc/wsl.conf 配置后需要通过wsl --shutdown命令关闭wsl,来进行wsl的完整重启。
wsl --update (3) 重启WSL wsl --shutdown Linux GUI apps are only supported with WSL 2 and will not work with a Linux distribution configured for WSL 1. Read abouthow to change your distribution from WSL 1 to WSL 2. 就是这么简单. 说白了就是升级一下, 自然就支持了!
WSL全称为Windows Subsystem for Linux,官网译为:适用于 Linux 的 Windows 子系统 (WSL)。 为什么要WSL2 官方解释:可让开发人员直接在 Windows 上按原样运行 GNU/Linux 环境(包括大多数命令行工具、实用工具和应用程序),且不会产生传统虚拟机或双启动设置开销。
WSL 2和这些新的GPU有望解决一些突出的WSL问题。微软一直在努力解决WSL原始版本的兼容性和文件I/O性能问题,预计本月下旬Windows 10将发布WSL 2,这是WSL 2关注的一个大领域。 相关报道: https://www.theverge.com/2020/5/19/21263377/microsoft-windows-10-linux-gui-apps-gpu-acceleration-wsl-features...
wsl--update 需要重启 WSL,更新才能生效。 可通过在 PowerShell 中运行关闭命令来重启 WSL。 代码语言:javascript 代码运行次数:0 复制 Cloud Studio代码运行 wsl--shutdown 3. 注意事项 Linux GUI 应用仅由 WSL 2 支持,无法在配置为 WSL 1 的 Linux 发行版中使用。如果需要,可以了解如何将发行版从 ...
wsl--update You will need to restart WSL for the update to take effect. You can restart WSL by running the shutdown command in PowerShell. PowerShell wsl--shutdown Piezīme Linux GUI apps are only supported with WSL 2 and will not work with a Linux distribution configured for WSL 1. ...
Enter the WSL update command: PowerShell Copy wsl --update You will need to restart WSL for the update to take effect. You can restart WSL by running the shutdown command in PowerShell. PowerShell Copy wsl --shutdown Note Linux GUI apps are only supported with WSL 2 and will not...