[Share Experiences] 现在在 Windows 10,你可以直接运行 Linux GUI 程序
Tofloor
poster avatar
MeowVing
deepin
2021-04-26 05:25
Author

其实早几天前就可以了,只不过我才在白板上折腾出来~

有图有真相:

 

 

要实现此功能,你的 Windows 10 需要满足以下两点:

一、版本号在 21364 及以上(这要求你的电脑位于 Insider Preview Dev 通道);

二、电脑上已部署至少一个基于 WSL2 的 Linux 发行版。

 

然后,以管理员模式打开 Windows PowerShell,运行:

wsl --update

等待操作完成后,按照操作执行:

wsl --shutdown

即可使用 GUI 程序,目前仅支持在命令行启动。

 

和以往自己在本地搭建显示服务器再安装桌面环境的方法相比,显然这样更加简便快捷。

从我这边的测试来看,GTK 应用均可完美支持运行,Microsoft 的开发者甚至成功运行了 Edge for Linux ~

不过对于那些特殊适配的应用(比如 deepin 的 DTK 应用)来说,就……不好说了

 

有关更多信息,请参阅:The Initial Preview of GUI app support is now available for the Windows Subsystem for Linux | Windows Command Line (microsoft.com)

Reply Favorite View the author
All Replies
铁山老道孔乙己
deepin
2021-04-26 05:29
#1

Linux压力倍增啊!

Reply View the author
MeowVing
deepin
2021-04-26 05:32
#2
铁山老道孔乙己

Linux压力倍增啊!

确实,Windows 10 已经是全球最佳“发行版”了

Reply View the author
186******51
deepin
2021-04-26 06:32
#3

WSL编译性能极差,只适合轻度体验,不适合用做开发环境

Reply View the author
SamLukeYes
deepin
2021-04-26 06:46
#4

其实我想要的只是一个方便定制而不自作聪明的系统,这一点 Windows 不满足

Reply View the author
139******14
deepin
2021-04-26 17:40
#5

非预览版可以参考这个文章使wsl 运行linux GUI 程序

https://blog.csdn.net/weixin_44259233/article/details/108398813

Reply View the author
enforcee
deepin
2021-04-26 19:50
#6

快进到Microsoft GNU/Linux

真以为Windows 10支持再多GNU/Linux应用,GNU/Linux爱好者就会喜欢他吗?

我讨厌的就是WIndows 10!

Reply View the author
Comments
PossibleVing
2021-04-26 19:56
哈哈哈
duanyao
deepin
2021-04-27 03:01
#7

说“完美”恐怕还早,能用 wine 运行的 windows 程序也很多嘛。

Reply View the author
Linux大宝
deepin
2021-04-27 20:51
#8

为了玩游戏,继续 Linux

Reply View the author
lookfor
deepin
2021-04-29 04:08
#9

 Windows 10 太卡了

Reply View the author
Comments
PossibleVing
2021-04-29 05:24
emmm确实是的
Kahin
deepin
2022-11-14 08:24
#10

这win10怎么deep里deep气的

/dege

Reply View the author