Chinaunix首页 | 论坛 | 博客
  • 博客访问: 78013
  • 博文数量: 66
  • 博客积分: 2546
  • 博客等级: 少校
  • 技术积分: 740
  • 用 户 组: 普通用户
  • 注册时间: 2009-10-27 10:35
文章存档

2011年(1)

2010年(1)

2009年(64)

我的朋友

分类:

2009-10-27 10:52:35

Solaris或HP-UX下安装VNC

1.下载安装文件
可以到官方站点下载,也可以到下载。
也可以从
2.
解压缩

# ls

vnc-3.3.4-solaris_2.5.tar.gz

# gzip -d vnc*

# ls

vnc-3.3.4-solaris_2.5.tar

# tar -xvf *.tar

x vnc-3.3.4-solaris_2.5, 0 bytes, 0 tape blocks

x vnc-3.3.4-solaris_2.5/README, 7763 bytes, 16 tape blocks

x vnc-3.3.4-solaris_2.5/vncinstall, 1991 bytes, 4 tape blocks

x vnc-3.3.4-solaris_2.5/Xvnc, 1748460 bytes, 3415 tape blocks

x vnc-3.3.4-solaris_2.5/Xvnc.man, 6114 bytes, 12 tape blocks

x vnc-3.3.4-solaris_2.5/vncviewer, 320376 bytes, 626 tape blocks

x vnc-3.3.4-solaris_2.5/vncviewer.man, 14590 bytes, 29 tape blocks

x vnc-3.3.4-solaris_2.5/vncpasswd, 14620 bytes, 29 tape blocks

x vnc-3.3.4-solaris_2.5/vncpasswd.man, 1537 bytes, 4 tape blocks

x vnc-3.3.4-solaris_2.5/vncconnect, 7848 bytes, 16 tape blocks

x vnc-3.3.4-solaris_2.5/vncconnect.man, 1815 bytes, 4 tape blocks

x vnc-3.3.4-solaris_2.5/vncserver, 13687 bytes, 27 tape blocks

x vnc-3.3.4-solaris_2.5/vncserver.man, 4237 bytes, 9 tape blocks

x vnc-3.3.4-solaris_2.5/LICENCE.TXT, 18000 bytes, 36 tape blocks

x vnc-3.3.4-solaris_2.5/classes, 0 bytes, 0 tape blocks

x vnc-3.3.4-solaris_2.5/classes/DesCipher.class, 7143 bytes, 14 tape blocks

x vnc-3.3.4-solaris_2.5/classes/animatedMemoryImageSource.class, 1329 bytes, 3 tape blocks

x vnc-3.3.4-solaris_2.5/classes/authenticationPanel.class, 2068 bytes, 5 tape blocks

x vnc-3.3.4-solaris_2.5/classes/clipboardFrame.class, 1761 bytes, 4 tape blocks

x vnc-3.3.4-solaris_2.5/classes/index.vnc, 597 bytes, 2 tape blocks

x vnc-3.3.4-solaris_2.5/classes/optionsFrame.class, 3489 bytes, 7 tape blocks

x vnc-3.3.4-solaris_2.5/classes/rfbProto.class, 8033 bytes, 16 tape blocks

x vnc-3.3.4-solaris_2.5/classes/shared.vnc, 565 bytes, 2 tape blocks

x vnc-3.3.4-solaris_2.5/classes/vncCanvas.class, 6271 bytes, 13 tape blocks

x vnc-3.3.4-solaris_2.5/classes/vncviewer.class, 7489 bytes, 15 tape blocks

x vnc-3.3.4-solaris_2.5/classes/vncviewer.jar, 20370 bytes, 40 tape blocks

# cd vnc*

# ls

LICENCE.TXT     Xvnc            classes         vncconnect.man  vncpasswd       vncserver       vncviewer

README          Xvnc.man        vncconnect      vncinstall      vncpasswd.man   vncserver.man   vncviewer.man

 

 


3.
组织相应的文件到系统目录

# mkdir -p /usr/local/vnc/classes

# ls

LICENCE.TXT     Xvnc            classes         vncconnect.man  vncpasswd       vncserver       vncviewer

README          Xvnc.man        vncconnect      vncinstall      vncpasswd.man   vncserver.man   vncviewer.man

# cp classes/* /usr/local/vnc/classes

# cp *vnc* /usr/bin      

# mkdir $HOME/.vnc

# PATH=$PATH:/usr/local/bin:/usr/openwin/bin:/usr/openwin/lib:/usr/ccs/bin:/usr/ucb:/usr/dt/bin

export PATH

LANG=C

export LANG

 


4.
启动vncserver
此时需要输入口令,这个口令被用于登陆认证。

# vncserver

You will require a password to access your desktops.

Password:

Verify:  

xauth:  creating new authority file //.Xauthority

New 'X' desktop is smsyw13:1

Creating default startup script //.vnc/xstartup

Starting applications specified in //.vnc/xstartup

Log file is //.vnc/smsyw13:1.log

 

 

 

 

 


5.
此时即可通过客户端浏览器访问

如果存在防火墙,需要开放58015901端口。

常见问题解答可以参考:
-----

 

阅读(331) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~