## install packages
yum install tigervnc-server xhost
## start vnc and xhost
vncserver
export DISPLAY=[ip]:2
xhost +
## 关闭
vncserver -kill :2
## 查看端口占用 8561
netstat -apn | grep 5902
lsof -i :5902
## install packages
yum install tigervnc-server xhost
## start vnc and xhost
vncserver
export DISPLAY=[ip]:2
xhost +
## 关闭
vncserver -kill :2
## 查看端口占用 8561
netstat -apn | grep 5902
lsof -i :5902