CentOS 安装配置vncserver
2016-06-02 12:27
609 查看
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 #禁用
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 #禁用
相关文章推荐