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 # 启动

猜你喜欢

转载自www.cnblogs.com/arci/p/12122775.html