安装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 # 启动
原文地址:https://www.cnblogs.com/arci/p/12122775.html
时间: 2024-11-09 02:23:19