[root@localhost ~]# vncserver
New 'localhost:1 (root)' desktop is localhost:1
sudo -i
export DISPLAY=ubuntu-Super-Server1:16
xhost +
chentianyu 2022-01-17 13:50 原文
[root@localhost ~]# vncserver
New 'localhost:1 (root)' desktop is localhost:1
sudo -i
export DISPLAY=ubuntu-Super-Server1:16
xhost +