[默认] Redhat Linux 的VNC远程安装
转载本站文章请注明,转载自:扶凯[http://www.php-oa.com]
本文链接: http://www.php-oa.com/2007/10/17/redhat-linux-vnc.html
1、检查vnc服务器端是否已经安装?
rpm -q vnc-server
2、将用户名成加入到vnc中
vim /etc/sysconfig/vncservers
添加如下两行
VNCSERVERS="1:root" VNCSERVERARGS[1]="-geometry 800x600 "
3、设置当前用户的 vnc 密码.注意安全
vncpasswd
4、启动 vnc 服务,这时对外的端口就会打开
/etc/init.d/vncserver start
5、更改vnc的-window配置
注释掉一下行
#xterm -geometry 80×24+10+10 -ls -title “$VNCDESKTOP Desktop” & #startkde & #kde desktop #twm & #Text interface
添加:
gnome-session & #set starting GNOME desktop
重启vnc服务.
/etc/init.d/vncserver restart
6、浏览器中访问
客户端可以不安装,浏览器也是可以的
http://xx.xx.xx.xx:5802
即可访问,xx这些是服务器的IP


















