- 论坛徽章:
- 0
|
小弟在虚拟机里的sola9里安装oracle10g,允许runInstaller时提示如下错误“
.....................
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2008-04-17_10-15-09AM. Please wait ...bash-2.05$ Xlib: connection to \"192.168.58.233:0.0\" refused by server
Xlib: Client is not authorized to connect to Server
Exception in thread \"main\" java.lang.InternalError: Can\'t connect to X11 window server using \'192.168.58.233:0.0\' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:134)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
at java.awt.Window.init(Window.java:231)
at java.awt.Window.<init>(Window.java:275)
at java.awt.Frame.<init>(Frame.java:401)
at oracle.ewt.popup.PopupFrame.<init>(Unknown Source)
at oracle.ewt.lwAWT.BufferedFrame.<init>(Unknown Source)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.<init>(OiocOneClickInstaller.java:357)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.main(OiocOneClickInstaller.java:2127)
.....................
大致意思就是说我的DISPLAY设置错误,
但是我在bash下是这样设置
$DISPLAY=192.168.58.233:0.0; export DISPLAY
还用$echo DISPLAY查看
显示192.168.58.233:0.0
不知哪里出错了。求高手告知。。。
附:.profile文件内容:
# This is the default standard profile provided to a user.
# They are expected to edit it to meet their own needs.
MAIL=/usr/mail/${LOGNAME }
ORACLE_BASE=/disk2/oracle
ORACLE_HOME=$ORACLE_BASE/product/10.0
ORACLE_SID=ora10g
NLS_LANG=AMERICAN_AMERICA.ZHS16GBK
PATH=$ORACLE_HOME/bin:/bin:/sbin:/usr/ccs/bin:/usr/local/bin
LD_LIBRARY_PATH=$ORACLE_HOME/lib ORACLE_HOME/network/lib:/usr/local/lib:/usr/li
b
TMPDIR=/var/tmp
export ORALCE_BASE ORACLE_HOME ORACLE_SID NLS_LANG PATH
LD_LIBRARY_PATH DISPLAY TMPDIR
umask 022
DISPLAY=192.168.58.233:0.0
PS:我的虚拟机没有安装虚拟显卡驱动,kdmconfig选择第一个# \" 16COLOR 标准显卡680x480\",在虚拟机里的图形界面只有16色。我不管用xmanager还是直接在vmware 里的CDE里都是上述错误。晕 |
|