CentOS7上安装配置vncserver
安装配置
想在Windows10上,用vnc远程访问CentOS7。CentOS7上安装tiger-vncserver, Windows10上安装tiger-vncclient。具体的安装配置参考下面的链接。
https://www.linuxtechi.com/install-configure-vnc-server-centos-7-rhel-7/
问题
在使用过程中,突然连不上了。提示错误如下:
CentOS7 终端输入vncserver, 提示如下:
从这个错误来看,:1~:5的端口都不可用了。:7才可以用。到Window10上使用:7,确实成功了。
这么看来,如果连接不上,可以尝试往上递增端口号。万一一直不行,那只能到server端主机上查找原因了。可以像上面一样输入vncserver查看输出,另外相关的目录及文件有:
/tmp/.X11-unix
/etc/systemd/system
/lib/systemd/system/[email protected]
/home//.vnc/