« 瑞典游记-正章- Drottningholm | Blog首页 | 瑞典游记-预告篇 »
在Solaris下安装VNC 远程安装Oracle
作者:eygle | 【转载请注出处】|【云和恩墨 领先的zData数据库一体机 | zCloud PaaS云管平台 | SQM SQL审核平台 | ZDBM 数据库备份一体机】
链接:https://www.eygle.com/archives/2005/07/ousolarisieavnc.html
1.下载安装文件链接:https://www.eygle.com/archives/2005/07/ousolarisieavnc.html
可以到官方站点下载Free Edtion,也可以到其它网站下载。
也可以从本站下载。
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 |
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.此时即可通过客户端浏览器访问
http://ip:5801
如果存在防火墙,需要开放5801和5901端口。
常见问题解答可以参考:
http://www.softpanorama.org/Xwindows/VNC/vnc_on_solaris.shtml
历史上的今天...
>> 2020-07-28文章:
>> 2011-07-28文章:
>> 2010-07-28文章:
>> 2008-07-28文章:
>> 2007-07-28文章:
>> 2006-07-28文章:
http://www.softpanorama.org/Xwindows/VNC/vnc_on_solaris.shtml
历史上的今天...
>> 2020-07-28文章:
>> 2011-07-28文章:
>> 2010-07-28文章:
>> 2008-07-28文章:
>> 2007-07-28文章:
>> 2006-07-28文章:
By eygle on 2005-07-28 15:47 | Comments (9) | FAQ | 351 |
Cool, I will have a try next week. I configured in Linux, but cannot start...
Linux上也是可以的,我试过了。
GOOD
os:solairs 9
按照你的安装过程:
启动vncserver后:
You will require a password to access your desktops.
/usr/bin/vncpasswd: syntax error at line 1: `(' unexpected
我没有在Solaris9上测试过,你看看有无新的VNC版本.
或者看下相应的脚本,debug下.
受益非浅
可是
第二次登录时必须在BASH里输入
PATH=$PATH:/usr/local/bin:/usr/openwin/bin:/usr/openwin/lib:/usr/ccs/bin:/usr/ucb:/usr/dt/bin
export PATH
才能运行,否则出现
-bash-3.00$ vncserver
vncserver: couldn't find "xauth" on your PATH.
请高手指教,家目录下有loacl.cshrc
loacal.login
local.profile等文件
系统:
欢迎使用 Sun Java Enterprise System 2005Q1!
你用什么用户启动的VNC啊?用root,这些path变量应该是已经设置过的。
学校的服务器,没有ROOT权限
平时登上去都不知道能做些什么
你要能做到提升得到root权限就厉害了:)