linux下安装VNC

yum install tigervnc tigervnc-server -y

设置密码:

vncpasswd

修改:

vi /etc/sysconfig/vncservers 
添加如下两行:
VNCSERVERS="2:root"
VNCSERVERARGS[2]="-geometry 1024x768"

service iptables stop
yum groupinstall "X Window System"
yum groupinstall "Desktop" -y
yum groupinstall "Chinese Support" -y
service iptables stop
/etc/init.d/vncserver start
关闭防火墙:

chkconfig --level 35 iptables off


本机安装vnc客户端,连接

linux下安装VNC_第1张图片

输入之前设置的密码,OK!!

你可能感兴趣的:(linux下安装VNC)