Link to home
Start Free TrialLog in
Avatar of rseraji
rseraji

asked on

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
                                      Passed


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?
Avatar of ahoffmann
ahoffmann
Flag of Germany image

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
Avatar of rseraji
rseraji

ASKER

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

Avatar of rseraji

ASKER

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

[oracle@localhost root]$ export DISPLAY=localhost
ASKER CERTIFIED SOLUTION
Avatar of ahoffmann
ahoffmann
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rseraji

ASKER

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 ?