Can't connect to X11 window server using

Posted on 2004-11-27
Last Modified: 2008-01-09
I get this message when trying to install Oracle 10g on Fedora 3:

Starting Oracle Universal Installer...

Checking installer requirements...

Checking operating system version: must be redhat-2.1, redhat-3, SuSE-9, SuSE-8 or UnitedLinux-1.0

All installer requirements met.

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2004-11-27_09-39-19AM. Please wait ...[oracle@localhost root]$ Xlib: connection to ":0.0" refused by server
Xlib: 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>(
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(
        at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(
        at java.awt.Window.init(
        at java.awt.Window.<init>(
        at java.awt.Frame.<init>(
        at oracle.ewt.popup.PopupFrame.<init>(Unknown Source)
        at oracle.ewt.lwAWT.BufferedFrame.<init>(Unknown Source)
        at oracle.sysman.oio.oioc.OiocOneClickInstaller.<init>(
        at oracle.sysman.oio.oioc.OiocOneClickInstaller.main(

Im am on the local box that its being installed on. Ive already tried "export DISPLAY".

Any ideas?
Question by:rseraji
    LVL 51

    Expert Comment

    you either have not set a proper DISPLAY environment variable, or your X server user does not allow connection
    try following when logged as owner of the X server:
       xhost +

    and as user which starts the installer
      DISPLAY hostname-or-IP-where-to-display:0
      export DISPLAY
    LVL 3

    Author Comment

    Im a total Linux newbie. Whats an X server?

    [root@localhost ~]# xhost +
    access control disabled, clients can connect from any host

    [oracle@localhost root]$ DISPLAY localhost
    bash: DISPLAY: command not found

    LVL 3

    Author Comment

    I should have mentioned though that this command works although it doesnt fix the problem.:

    [oracle@localhost root]$ export DISPLAY=localhost
    LVL 51

    Accepted Solution

    dooh, DISPLAY=......  is correct, sorry for typo

    newbie, ok lets start the basics:
      are you loggin to your system directly, not remote?
      if so, please do following:

          echo $DISPLAY
    LVL 3

    Author Comment

    For the love of Pete there is hope!

    Expert Comment

    I have the same problem when i tried to install oracle10gr2 in OpenVMS8.3 , Alpha Ds25 servers, so what to do ? and sometimes i am getting OUI-10207:there is not enough disk space on the OUI swap area.

    so what to do ?

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Join & Write a Comment

    Windows 7 does not have the best desktop search built in. This is something Windows 7 users have struggled with. You type something in, and your search results don’t always match what you are looking for, or it doesn’t actually work at all. There ar…
    Windows 10 is here and for most admins this means frustration and challenges getting that first working Windows 10 image. As in my previous sysprep articles, I've put together a simple help guide to get you through this process. The aim is to achiev…
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now