CentOS 安装配置vncserver
yum 安装tiger vncserver
yum install tigervnc-server安装后输入 vncserver
设置密码
3.配置用户
vim /etc/sysconfig/vncservers
VNCSERVERS=”1:root”
VNCSERVERARGS[2]=” -geometry 800x600 tcp”
注意去掉 local, nolisten
4.关闭CentOS防火墙
centos 7:
systemctl stop firewalld.service #停止
systemctl disable firewalld.service #禁用
之前的版本:
service iptables stop #停止
chkconfig iptables off #禁用