Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3248
  • Last Modified:

Can't connect to X11 window server using

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>(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:349)
        at oracle.sysman.oio.oioc.OiocOneClickInstaller.main(OiocOneClickInstaller.java:2106)

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

Any ideas?
  • 3
  • 2
1 Solution
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
rserajiAuthor Commented:
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

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

[oracle@localhost root]$ export DISPLAY=localhost
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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
rserajiAuthor Commented:
For the love of Pete there is hope!
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now