日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

Solaris 9安装VNC

發(fā)布時間:2025/3/18 编程问答 20 豆豆
生活随笔 收集整理的這篇文章主要介紹了 Solaris 9安装VNC 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

先從realVNC下載vnc http://www.realvnc.com/products/enterprise/index.html

下載包 /vnc-E4_5-sparc_solaris.tar.gz
解壓
gunzip vnc-E4_5-sparc_solaris.tar.gz
tar -xvf vnc-E4_5-sparc_solaris.tar.gz
安裝vnc
./vncinstall
報錯

[root@solaris9 vnc-E4_5_r22160-sparc_solaris]./vncinstall
Can’t install manual pages to /usr/local/man/man1
Copying Xvnc to /usr/local/bin
cp: cannot create /usr/local/bin: No such file or directory
chmod: WARNING: can’t access /usr/local/bin/Xvnc
Copying vncviewer to /usr/local/bin
cp: cannot create /usr/local/bin: No such file or directory

查看果真沒有/usr/local這個目錄
[root@solaris9 vnc-E4_5_r22160-sparc_solaris]mkdir -p /usr/local/man/man1
然后執(zhí)行./vncinstall 安裝成功
加入PATH環(huán)境變量
export PATH=$PATH:/usr/local/bin:/usr/openwin/bin
添加license

[root@solaris9 /]vnclicense -add VKQEQ-HTY2P-WN49X-YZJ5S-4WG2A
[root@solaris9 /]vnclicense -check
0/1044088 desktops.
[root@solaris9 /]vnclicense -list
1 1044088 desktops2028/07/20 [full]

啟動 vncserver

[root@solaris9 /]vncserver :1
VNC Server Enterprise Edition E4.5 (r22160) - built Mar 31 2009 00:09:42
Copyright (C) 2002-2009 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
Running applications in /etc/vnc/xstartup

Log file is //.vnc/solaris9:1.log
New desktop is solaris9:1 (192.168.1.215:1)
[root@solaris9 /]netstat -an | grep 5901
*.5901 *.* 0 0 65536 0 LISTEN
*.5901 *.* 0 0 65536 0 LISTEN
*.5901 *.* 0 0 65536 0 LISTEN

關(guān)閉

[root@solaris9 /]vncserver -kill :1
VNC Server Enterprise Edition E4.5 (r22160) - built Mar 31 2009 00:09:42
Copyright (C) 2002-2009 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.

啟動后,用客戶端vncviewer 登錄發(fā)現(xiàn)錯誤,No matching security types.接著客戶端退出。

在服務(wù)器端查看日志
[root@solaris9 /]vi .vnc/solaris9/:1.log
發(fā)現(xiàn)里面有下面的錯誤片段,原來是啟動有錯誤發(fā)生了。

error opening security policy file /usr/openwin/lib/X11/xserver/SecurityPolicy
Could not init font path element /usr/openwin/lib/X11/fonts/F3/, removing from
list!
Could not init font path element /usr/openwin/lib/X11/fonts/Speedo/, removing f
rom list!

查找 SecurityPolicy文件,在/usr/openwin/lib/X11/xserver/SecurityPolicy沒有該文件
[root@solaris9 /]find /usr/openwin/ -name SecurityPolicy
/usr/openwin/server/etc/SecurityPolicy
建立一個軟連接試試。
[root@solaris9 vnc-E4_5_r22160-x86_solaris]ln -s /usr/openwin/server/etc/SecurityPolicy /usr/openwin/lib/X11/SecurityPolicy
現(xiàn)在就OK了。

?

轉(zhuǎn)自:http://blog.csdn.net/inthirties/archive/2010/03/27/5422792.aspx

總結(jié)

以上是生活随笔為你收集整理的Solaris 9安装VNC的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。