环境:centos 6.0  安装oracle,执行./runInstaller时出现错误提示。Preparing to launch Oracle Universal Installer from /tmp/OraInstall2012-04-19_08-37-10AM. Please wait ...-bash-4.1$ No protocol specified
Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
    at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
    at sun.awt.X11GraphicsEnvironment.<clinit>(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown Source)
    at java.awt.Window.init(Unknown Source)
    at java.awt.Window.<init>(Unknown Source)
    at java.awt.Frame.<init>(Unknown Source)
    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:378)
    at oracle.sysman.oio.oioc.OiocOneClickInstaller.main(OiocOneClickInstaller.java:2091)

解决方案 »

  1.   

    Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
     
    远程安装的吧。是不是display设置的显示地址有错误。是本机地址吗
      

  2.   

    Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
    DISPLAY有问题
      

  3.   

    LZ是远程安装的吧。那么需要将display设置为我们本地主机的ip地址。比如,如果我们客户端的ip为152.68.32.9,则将display设置为:
    #export DISPLAY=152.68.32.9:0.0