# export DISPLAY= your_IPaddress :0.0

解决方案 »

  1.   

    # xhost localhost
    # su - oracle
    # /home/ora9i/Disk1/runInstaller
      

  2.   

    宁哥:
    [root@yhong Disk1]# export DISPLAY=192.168.0.3:0.0
    [root@yhong Disk1]# xhost localhost
    Xlib: connection to "192.168.0.3:0.0" refused by server
    Xlib: No protocol specifiedxhost:  unable to open display "192.168.0.3:0.0"
    这是什么原因呀.xhost是什么东西呀。是需要在linux安装吗?
      

  3.   

    xhost + 必须在xwindow下执行
      

  4.   

    參考http://www.dbanotes.net/Oracle/Install-Oracle10g-RHEL3.htm
      

  5.   

    如果使在linux的Xwindows界面应该可以不用设置这个的,其他要设
    出现xlib错误,可以检查你的内核版本: 
    $ uname -a
    如果是2.4.19或2.4.18之类的可以设置
    export LD_ASSUME_KERNEL=2.4.1
    然后再试试
      

  6.   

    xhost 是用来控制X server访问权限的。 通常当你从hostA登陆到hostB上运行hostB上的应用程序时, 做为应用程序来说,hostA是client,但是作为图形来说, 是在hostA上显示的,需要使用hostA的Xserver,所以hostA是 server.因此在登陆到hostB前,需要在hostA上运行xhost + 来使其它用户能够访问hostA的Xserver. xhost + 是使所有用户都能访问Xserver. xhost + ip使ip上的用户能够访问Xserver. xhost + nis:user@domain使domain上的nis用户user能够访问 xhost + inet:user@domain使domain上的inet用户能够访问
      

  7.   

    用oracle登陆,vi .bash_profile
    增加export DISPLAY=127.0.0.1:0.0
    保存后退出重新登陆
      

  8.   

    宁哥:
    1、运行xhost + 是以root登陆还是oracle账户登陆服务器,运行startx后在xwindows
    下面运行?
    2、我以root身分登陆到xwindows后运行xhost + 没有任何显示?
      我现在的操作都是在服务器端的xwindows下运行的。
    我的环境是vmware虚拟服务器 ,内存只有128兆
    3、如果可以,能否将你的qq或者msn给我,我请教一下
    谢谢
      

  9.   

    运行/home/ora9i/Disk1/runinstaller后出现以下信息,是什么原因
    Initializing Java Virtual Machine from /tmp/OraInstall2005-01-11_10-18-19AM/jre/bin/java. Please wait...
    Initializing Java Virtual Machine from /tmp/OraInstall2005-01-11_10-18-10AM/jre/bin/java. Please wait...
    Error occurred during initialization of VM
    Unable to load native library: /tmp/OraInstall2005-01-11_10-18-19AM/jre/lib/i386/libjava.so: symbol __libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link time reference