Can't connect to X11 window server using 'localhost:0.0'
MarGurAug 20 2007 — edited Aug 22 2007hello everyone!
please, I wonder if you can help me.
I'm trying to install Oracle 9i 9.2.0.4 on RH4 machine, connect to server through Putty and opening Cygwin for the X session. When I'm doing it from the beginning (i mean after reboot) I'm getting this error:
[oracle@ebisdb2 Disk1]$ sh runInstaller
DISPLAY not set!
Please set DISPLAY and try again.
(the X session is open)
when i'm doing:
[oracle@ebisdb2 Disk1]$ export DISPLAY=127.0.0.1:0.0
[oracle@ebisdb2 Disk1]$ sh runInstaller
[oracle@ebisdb2 Disk1]$ Initializing Java Virtual Machine from /tmp/OraInstall2007-08-20_01-49-04PM/jre/bin/java. Please wait...
Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using '127.0.0.1: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 java.awt.Frame.<init>(Frame.java:366)
at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:593)
i've tried all kind of variations:
export DISPLAY=localhost:0.0
export DISPLAY=:0.0
export DISPLAY=localhost:0
export DISPLAY=:0
I've even put my machine's IP - nothin works..
if i make
[oracle@ebisdb2 Disk1]$ xhost +
xhost: unable to open display "127.0.0.1:0.0"
and further with all kind of IPs that were in DISPLAY variable.
Please, help me or navigate to the right source.
Thank you as usual,
M.