AIX 配置vncserver  引用 http://dbzone.iteye.com/blog/686632  作修改

 

我們安裝資料庫時,很多情況下客戶現場並沒有配置圖形介面,這是就需要自己配置圖形介面。vnc就是一個很好的工具
vnc rpm包(vnc-3.3.3r2-6.aix5.1.ppc.rpm)下載地址為
http://gnome.bullfreeware.com/aixtoolbox/RPMS/ppc/vnc/
vnc用戶端下載地址為
http://dl.pconline.com.cn/html_2/1/86/id=9986&pn=0&linkPage=1.html

在伺服器上安裝vnc服務端

引用

# rpm -ivh vnc-3.3.3r2-6.aix5.1.ppc.rpm
vnc ##################################################



安裝好之後啟動vncserver,注意第一次啟動時需要輸入用戶名密碼

引用

# vncserver

You will require a password to access your desktops.

Password:
Verify:



用用戶端登陸
http://192.168.5.14:5801/ 
啟動之後沒有出現圖形介面,只出現字元功能表
查看 //.vnc/mcsvr:1.log日誌顯示:

引用

New 'X' desktop is mcsvr:1

Creating default startup script //.vnc/xstartup
Starting applications specified in //.vnc/xstartup
Log file is //.vnc/mcsvr:1.log



停止服務端進程

引用

# vncserver -kill :1
Killing Xvnc process ID 151732



使用CDE介面

引用

#vi ~/.vnc/xstartup



將所有行注釋,並加入:

#!/bin/sh
if [ -f /usr/dt/bin/Xsession ]
then
    export XSTATION=1 DTXSERVERLOCATION=local
    /usr/dt/bin/Xsession &
else
   xrdb $HOME/.Xresources
   xsetroot -solid grey
   xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
   twm &
fi



再次啟動vncserver

 

創作者介紹
創作者 Thomas 的IBM BLOG 的頭像
thomas5613

Thomas 的IBM BLOG

thomas5613 發表在 痞客邦 留言(0) 人氣( 1610 )