Linux VNC 安装
VNC服务端配置,依次执行如下命令
1、安装VNC
# yum install vnc //安装的是tightvnc
# yum install vnc-server
2、修改配置文件
# vim /etc/sysconfig/vncservers
修改为:
VNCSERVERS=”1:root”
VNCSERVERARGS[1]=”-geometry 800x600 -nolisten tcp -localhost”
3、设置登录密码
# vncpasswd
4、重启VNC服务
# service vncserver start