在win10上WSL怎么显示GUI

https://techcommunity.microsoft.com/t5/windows-dev-appconsult/running-wsl-gui-apps-on-windows-10/ba-p/1493242

First option: VcXsrv Windows X Server

使用 VcXsrv

安装完之后,防火墙也设置了之后,在WSL上

https://github.com/microsoft/WSL/issues/6181

使用这样的命令进行测试
DISPLAY=172.30.96.1:0.0 xeyes

原文地址:https://www.cnblogs.com/lake-of-embedded-system/p/14074795.html