centos5.4下安装vnc server

十二月 12th, 2009 Posted in Centos | 阅读次数: 1,352 次

Author:高进波
time:2009-12-12

centos5.4远程控制,通过以下方法可以非常方便的实现远程操作linux服务器,还有图形界面,非常实用。

 

1.安装软件

yum -y install vnc-server

 

2.修改配置文件

vi /etc/sysconfig/vncservers
VNCSERVERS="2:root"
VNCSERVERARGS[2]="-geometry 1024x768"

 

3.设置密码

vncpasswd

 

4.启动服务

service vncserver start

 

5.修改桌面

cd ~/.vnc
vi xstartup
gnome-session &    #使用gnome桌面
#twm &             #禁用默认的桌面

 

6.重启服务

service vncserver restart

 

7.客户端连接

http://vncserver:5802

 

完成!

随机日志

Tags:

3 Responses to “centos5.4下安装vnc server”

  1. gaojinbo Says:

    这个文档很实用,通过vnc可以进入图形界面,就能安装图形化的软件了:)


  2. Resources Says:

    Interesting Article…

    [...]some interesting sites worth visitng. We recommend all our readers go and check these out[...]……


  3. natural tinnitus remedy Says:

    Visitor recommendations trackback……

    [...]one of our visitors recently recommended the following website[...]………


留下您的脚印