how to install the vnc on linux,How to install the VNC on the RedHat Enterprise Linux 5(rhel5 32bit)...

--Step 1: At first we must prepare two packages named

vnc-4.1.2-9.el5.i386.rpm and

vnc-server-4.1.2-9.el5.i386.rpm, You can find the two

packages from the Operation install CDs of rhel5.

--Step 2: Login the user of root and copy the two

packages to where you will to be located of.

--Step 3: Install packages: (Open the terminal and cd to

the folder where you located the two packages).

# rpm –ivh vnc-4.1.2-9.el5.i386.rpm

#  vnc-server-4.1.2-9.el5.i386.rpm

--Step 4: configure the environment of VNC(At forst the

three users must be created: root, oracle and rrosen )

#vi /etc/sysconfig/vncservers

#add lines as follows

VNCSERVERS="1:root 2:oracle 3:rrosen"

VNCSERVERARGS[1]="-geometry 1024x768 -depth 16"

VNCSERVERARGS[2]="-geometry 1024x768 -depth 16"

VNCSERVERARGS[3]="-geometry 1024x768 -depth 16"

--Step 5: configure the password and the environment for

the Vncserver users.

--For example: configure the user of root.

$su – root

Passwd:

#vncserver

# vi .vnc/xstartup

# add lines as follows

unset SESSION_MANAGER

exec /etc/X11/xinit/xinitrc

--The same operation for the other user. ( vi

/home/oracle/.vnc/xstart , vi /home/rrosen/.vnc/xstart )

--Attention 1: You must to execute “# vncserver” in

order to start the VNC server and automatic create the file

“xstartup” before you execute “# vi .vnc/xstartup” , the same

for other users.

--Attention 2: If you are not install the Desktop

Environment, you must at first do it as follow:

# yum groupinstall "GNOME Desktop Environment"

--command for the VNC:

--Start the vncserver

# service vncserver start

--Start the vncserver automatic when you start the PC

# chkconfig --level 35 vncserver on

--Look for the VNC port stations on you PC

#chkconfig --list vncserver

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值