DISPLAY设置显示设备
1、临时设置:export DISPLAY=192.168.137.1:0.0
2、修改方式1:
- 直接修改~/.bashrc:
-
vim ~/.bashrc source ~/.bashrc - 命令修改~/.bashrc:
-
echo "export DISPLAY=192.168.137.1:0">>~/.bashrc source ~/.bashrc
1、临时设置: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