General
cancel
Showing results for 
Search instead for 
Did you mean: 

Can't connect to X11 window server using 'localhost:0.0 <<<< help please

 
SOLVED
Go to solution
Highlighted
Regular Advisor

Can't connect to X11 window server using 'localhost:0.0 <<<< help please

Hi all,

I am new to oracle, and its my first time to install oralce 9i to our hp ux version 11.23 remotely(ssh), and i got this error messages,

$ ./runInstaller
$ Initializing Java Virtual Machine from /data/OraInstall2008-06-17_05-21-49PM/jre/bin/java. Please wait...
Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using 'md2:0.0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:63)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:58)
at java.awt.Window.(Window.java:188)
at java.awt.Frame.(Frame.java:315)
at java.awt.Frame.(Frame.java:262)
at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:593)

$ xhost +
xhost: unable to open display "md2:0.0"
$ export DISPLAY=127.0.0.1:0.0
$ xhost +
xhost: unable to open display "127.0.0.1:0.0"
$ export DISPLAY=:0
$ xhost +
xhost: unable to open display ":0"

I already followed all the suggestion from the forum, like in

http://forums.oracle.com/forums/thread.jspa?messageID=930278

but still got the same error, someone please help ?? please...
25 REPLIES 25
Highlighted
Acclaimed Contributor
Solution

Re: Can't connect to X11 window server using 'localhost:0.0 <<<< help please

If you work remotely, you need to export the DISPLAY to the remote system, not to the local host.

What is your remote OS?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Highlighted
Regular Advisor

Re: Can't connect to X11 window server using 'localhost:0.0 <<<< help please

i mean, i ssh to the unix machine...like here

me(in stockholm) (ssh)----> hp ux(in copenhangen)....

any suggestion ? its quite very and i am new recruit :( ...

we have no oracle expert as well.....help please..

Highlighted
Acclaimed Contributor

Re: Can't connect to X11 window server using 'localhost:0.0 <<<< help please

Better question: What is the OS on the system in front of you?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Highlighted
Regular Advisor

Re: Can't connect to X11 window server using 'localhost:0.0 <<<< help please

win XP :)
Highlighted
Acclaimed Contributor

Re: Can't connect to X11 window server using 'localhost:0.0 <<<< help please

OK, you need a Xserver application for your PC (for example xming).

once this is running, use putty to connect to your hp-ux server:

> putty -X hpux-server

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Highlighted
Regular Advisor

Re: Can't connect to X11 window server using 'localhost:0.0 <<<< help please

hi torsten.

i really have to do that ? is there any others way ?

so i will install the xserver application, and and re do the step as instructed in oracle installation guide....

thanks !!
Highlighted
Acclaimed Contributor

Re: Can't connect to X11 window server using 'localhost:0.0 <<<< help please

That's the way it works ...

You need a Xserver on the local system (your PC).

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Highlighted
Regular Advisor

Re: Can't connect to X11 window server using 'localhost:0.0 <<<< help please

i give it a try tomorrow.....but i think its hard to install a new software since the company is very strict in installing new software...

pardon my english :)
Highlighted
Acclaimed Contributor

Re: Can't connect to X11 window server using 'localhost:0.0 <<<< help please

See

http://en.wikipedia.org/wiki/X_Window_System_protocols_and_architecture

the application that want to "draw" something is the client.

The application that "owns" the screen and does the drawing is the server.

So you need a local X-server if you want to see something on your pc.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!