- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Can't connect to X11 window server using 'localhos...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2008 08:32 AM - last edited on тАО10-28-2020 10:42 PM by Parvez_Admin
тАО06-17-2008 08:32 AM - last edited on тАО10-28-2020 10:42 PM by Parvez_Admin
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
https://community.oracle.com/tech/developers/discussion/298443/cant-connect-to-x11-window-server-using-127-0-0-1-0-0
but still got the same error, someone please help ?? please...
Moderator Note: [Updated with new links]
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2008 08:39 AM
тАО06-17-2008 08:39 AM
SolutionWhat 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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2008 08:52 AM
тАО06-17-2008 08:52 AM
Re: Can't connect to X11 window server using 'localhost:0.0 <<<< help please
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..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2008 08:59 AM
тАО06-17-2008 08:59 AM
Re: Can't connect to X11 window server using 'localhost:0.0 <<<< help please
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2008 09:01 AM
тАО06-17-2008 09:01 AM
Re: Can't connect to X11 window server using 'localhost:0.0 <<<< help please
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2008 09:10 AM
тАО06-17-2008 09:10 AM
Re: Can't connect to X11 window server using 'localhost:0.0 <<<< help please
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!

- Tags:
- Xming
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2008 10:53 AM
тАО06-17-2008 10:53 AM
Re: Can't connect to X11 window server using 'localhost:0.0 <<<< help please
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 !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2008 10:58 AM
тАО06-17-2008 10:58 AM
Re: Can't connect to X11 window server using 'localhost:0.0 <<<< help please
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2008 11:03 AM
тАО06-17-2008 11:03 AM
Re: Can't connect to X11 window server using 'localhost:0.0 <<<< help please
pardon my english :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2008 11:11 AM
тАО06-17-2008 11:11 AM
Re: Can't connect to X11 window server using 'localhost:0.0 <<<< help please
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2008 11:12 AM
тАО06-17-2008 11:12 AM
Re: Can't connect to X11 window server using 'localhost:0.0 <<<< help please
so i install the xming, then just run the command as normal ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2008 11:13 AM
тАО06-17-2008 11:13 AM
Re: Can't connect to X11 window server using 'localhost:0.0 <<<< help please
sorry for my non sense question, never using oracle before..you been a great help !!!
thanks !!!!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2008 12:34 PM
тАО06-17-2008 12:34 PM
Re: Can't connect to X11 window server using 'localhost:0.0 <<<< help please
If so, you may try "unset DISPLAY".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2008 02:32 PM - last edited on тАО10-28-2020 10:47 PM by Parvez_Admin
тАО06-17-2008 02:32 PM - last edited on тАО10-28-2020 10:47 PM by Parvez_Admin
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2008 10:53 PM
тАО06-17-2008 10:53 PM
Re: Can't connect to X11 window server using 'localhost:0.0 <<<< help please
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 ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2008 03:52 AM
тАО06-18-2008 03:52 AM
Re: Can't connect to X11 window server using 'localhost:0.0 <<<< help please
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2008 07:51 AM - last edited on тАО10-28-2020 10:45 PM by Parvez_Admin
тАО06-18-2008 07:51 AM - last edited on тАО10-28-2020 10:45 PM by Parvez_Admin
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2008 07:57 AM
тАО06-18-2008 07:57 AM
Re: Can't connect to X11 window server using 'localhost:0.0 <<<< help please
> 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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2008 10:03 AM
тАО06-18-2008 10:03 AM
Re: Can't connect to X11 window server using 'localhost:0.0 <<<< help please
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2008 11:30 PM
тАО06-19-2008 11:30 PM
Re: Can't connect to X11 window server using 'localhost:0.0 <<<< help please
oracle user have no permissiom by default.
FYI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2008 11:38 PM
тАО06-19-2008 11:38 PM
Re: Can't connect to X11 window server using 'localhost:0.0 <<<< help please
"xhost +" on a windows system?
Maybe with cygwinX only ...
@DnD:
Does it work now?
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2008 10:12 AM
тАО06-20-2008 10:12 AM
Re: Can't connect to X11 window server using 'localhost:0.0 <<<< help please
Xhost.exe comes with xming, and (IIRC)Cygwin.
(But not with WRQ/Attachmate's Reflection X,
nor with Starnet's X-Win32).
(X-Win32 has an xhost-like list you can edit)
(Refelction X has an xhosts.txt file)
DnD: don't forget points :)
thanks,
Stan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2008 10:26 AM
тАО06-20-2008 10:26 AM
Re: Can't connect to X11 window server using 'localhost:0.0 <<<< help please
I just discovered that xming can do XDMCP.
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2008 10:49 AM
тАО06-20-2008 10:49 AM
Re: Can't connect to X11 window server using 'localhost:0.0 <<<< help please
YOu could install X-manager software on your Windows host and start dtlogin and xfs daemons on HP-UX server
# /sbin/init.d/dtlogin.rc start
# /sbin/init.d/xfs start
Once you login via emulation software, the display variable is automatically set to Windows hosts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2008 03:44 PM
тАО06-20-2008 03:44 PM
Re: Can't connect to X11 window server using 'localhost:0.0 <<<< help please
Good point...it's not in the default package.
It is in the Xming-tools-and-clients package,
available at http://sourceforge.net/project/showfiles.php?group_id=156984, among others.
BTW, the xming xhost works fine with WRQ Reflection X. (I suspect it should work
with any PC X server.)