WSL子系统安装图形界面

安装Xming X Server for Windows

sudo apt update

sudo apt install xfce4 xfce4-terminal

echo "export DISPLAY=127.0.0.1:0.0" >> ~/.bashrc

source ~/.bashrc

echo $DISPLAY # 检验一下

startxfce4 # 启动

posted @ 2019-12-31 09:24  阿C  阅读(1035)  评论(0编辑  收藏  举报