1、临时设置:export DISPLAY=192.168.137.1:0.0
export DISPLAY=192.168.137.1:0.0
2、修改方式1:
vim ~/.bashrc source ~/.bashrc
echo "export DISPLAY=192.168.137.1:0">>~/.bashrc source ~/.bashrc