Operating System - HP-UX
1752565 Members
5359 Online
108788 Solutions
New Discussion юеВ

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

 
SOLVED
Go to solution
DnD_1
Regular Advisor

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

another question torsten.

so i install the xming, then just run the command as normal ?
DnD_1
Regular Advisor

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

great, i will give it a try tomorrow.

sorry for my non sense question, never using oracle before..you been a great help !!!

thanks !!!!!!
Dennis Handly
Acclaimed Contributor

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

I'm not sure if oracle has a non-GUI installer?
If so, you may try "unset DISPLAY".
Hein van den Heuvel
Honored Contributor

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

Dennis, Typically you really want to run the GUI for the OUI. There is a 'silent' mode for some version for some platforms.

DnD,

If you want to properly install Oracle 'stuff', then Yes you really have to run an X-server on your PC, or 'an' PC. Several options are avaibale for this. Reflection, RealVNC,...

I use CYGWIN.

That command "xhost +" (or preferably a more restrictive version of that) should be run at the PC, not the HPUX box.

This was discussed not too long ago in:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1159922 ADMIN Note: Broken link removed]


Hope this helps,
Hein.

DnD_1
Regular Advisor

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

hi,

i installed the xming, and run the xhost +

and got this error

xlib:connection to "10.15.177.60:0.0"refused by server.
xlib:no protocol specified.

xhost:unable to open display "10.15.177.60:0.0"

my pc ip is "10.15.177.60"..

any idea ?
Andrew Rutter
Honored Contributor

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

hi,

did you export your display after installing the xming s/w.

if not telnet into the server and export the display to your pc ip address

#export DISPLAY=10.15.177.60:0.0

then try and run the application from server

Andy
Hein van den Heuvel
Honored Contributor

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

So did you actually start the X server?

For cygwin see my reply in the note I referenced earlier, or in:

[ ADMIN Note: Broken link removed]


And uh... before you even attempt OUI, always try xclock or xeyes, first on the PC itself, next on the targetted client.
Only bother to try OUI once those work.

Cheers,
Hein.

Torsten.
Acclaimed Contributor

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

run putty from your PC, it will care about the DISPLAY var:

> 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!   
Stan Sieler
Respected Contributor

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

Hi DnD,

To test X locally with xclock, do:

(on PC)

(start your X server)

(start a dos shell ("command" window))

cd \program files\xming
(or wherever your xserver code is)

dir x*.exe

see if you have an "xclock.exe" or
"xeyes.exe". Let's assume you
have "xclock.exe".

set DISPLAY=localhost:0.0
xclock

Bring your X window to the foreground, and you should see a small rectangle showing an
analog clock (the window for xclock).

Starting xclock may have resulted in a few
warnings that you can probably ignore.
Here's a sample session where I start xclock:

C:\Program Files>cd xming

C:\Program Files\Xming>xclock
Error: Can't open display:

C:\Program Files\Xming> set display=localhost:0.0

C:\Program Files\Xming>xclock
Warning: locale not supported by C library, locale unchanged
Warning: locale not supported by Xlib, locale set to C
Warning: X locale modifiers not supported, using default
Warning: Cannot convert string "-dt-interface user-medium-r-normal-s*-*-*-*-*-*-
*-*-*" to type FontSet
Warning: Unable to load any usable fontset
Warning: Unable to load any usable fontset

(xclock is now running and is visible
on the main X-window .. which I have configured as one big Windows window (some
X servers let you configure it so each new
X window is a new Windows window)

control-C in the DOS window to terminate
xclock, or click on the close gadget of its
window in X Windows.

Hope that helps you test your X setup!
stan lin
Occasional Contributor

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

please su - root , and execute xhost +
oracle user have no permissiom by default.

FYI