用oracle用户登录运行./runInstaller出现如下:
Starting Oracle Universal Installer...Checking installer requirements...Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
                                      Passed
All installer requirements met.Preparing to launch Oracle Universal Installer from /tmp/OraInstall2008-10-15_12-20-55PM. Please wait ...
DISPLAY not set. Please set the DISPLAY and try again.
Depending on the Unix Shell, you can use one of the following commands as examples to set the DISPLAY environment variable:
- For csh:   % setenv DISPLAY 192.168.1.128:0.0
- For sh, ksh and bash:  $ DISPLAY=192.168.1.128:0.0; export DISPLAY
Use the following command to see what shell is being used:
echo $SHELL
Use the following command to view the current DISPLAY environment variable setting:
echo $DISPLAY
- Make sure that client users are authorized to connect to the X Server.
To enable client users to access the X Server, open an xterm, dtterm or xconsole as the user that started the session and type the following command:
% xhost +
To test that the DISPLAY environment variable is set correctly, run a X11 based program that comes with the native operating system such as 'xclock':
% <full path to xclock.. see below>
If you are not able to run xclock successfully, please refer to your PC-X Server or OS vendor for further assistance.
Typical path for xclock: /usr/X11R6/bin/xclock
====
然后我设置了DISPLAY=16.158.103.90:0.0
export DISPLAY
再运行 xhost +
xhost:  unable to open display "16.158.103.90:0.0"这个如何解决呢?

解决方案 »

  1.   

    我用的不是图形界面,是用putty以ssh连接的。
      

  2.   

    执行/usr/X11R6/bin/xclock   我在/usr/X11R6/bin目录下没有看到 xclock文件
      

  3.   

    http://blog.csdn.net/fengdkm/archive/2007/06/26/1667446.aspx
      

  4.   

    需要在linux的x界面下安装或者在本地安装xmanager的工具,把DISPLAY设置成本地的ip地址.
      

  5.   

    xmanager的作用就是能把远端Unix/Linux的桌面无缝地带到你的Windows上
    但是如果我的linux本身就没有图形界面,那么装这个还不是没用?
    因为我的linux是定制的,没有图形界面
      

  6.   

    那说来说去,要在linux理装oracle还是需要图形界面?
      

  7.   

    http://blog.csdn.net/fengdkm/archive/2007/06/26/1667446.aspx
    这篇文章讲得很清楚啊,可以不用图形界面,lz为什么不看看?
      

  8.   

     wiler
    不好意思,我看了,但是这篇文章讲的是装oracle的客户端。
    那个文件都不一样,
    或者麻烦你指点下。
      

  9.   

    为什么不用图形界面? 
    我敢说, 即使是文本下的高手,用起图形来也会高效很多redhat linux as4 自带vncserver,
    用ie都可以连上去用方法:
    1. 用putty ssh上去,命令行下执行vncserver
    2. 开启ie,输入http://服务器IP:5801/
       如果那个log为1的话是5801,如果为2就是5802
    3. 输入vncserver的密码,注意这个密码可以和操作系统的用户密码相同,也可以不同
      

  10.   

    哦,那你看看这个吧
    http://blog.csdn.net/isadream/archive/2008/01/10/2033699.aspx
      

  11.   

    那说来说去,要在linux理装oracle还是需要图形界面?
    ==============================================
    是这样。
      

  12.   

    果然我装了一个有图形界面的linux,运行./runInstall 就可以出现oui,
    用putty连接,执行./runInstall就会报这个错误。
      

  13.   

    发表于:2008-10-16 15:02:3510楼 得分:0 
    哦,那你看看这个吧 
    http://blog.csdn.net/isadream/archive/2008/01/10/2033699.aspx 这里面有静默安装的方法,比图形安装快多了
      

  14.   

     后然还是下了一个 xming sever,
    虽然server端没有界面,putty连接也没有图形界面,但是通过xming工具,直接运行./runInstall,就会出现图形界面,就可以装了,
    谢谢楼上各位。