CentOS 安装配置vncserver

  1. yum 安装tiger vncserver
    yum install tigervnc-server

  2. 安装后输入 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 #禁用

posted on 2016-06-02 12:27  norsd  阅读(153)  评论(0编辑  收藏  举报

导航