首页 > 技术文章 > vnc couldn't connect to display ":97"

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 +

推荐阅读