Solved

Running oracle 10g install get the error Xlib: connection to "localhost:10.0" refused by server

Posted on 2008-10-06
8
5,821 Views
Last Modified: 2013-12-18
I am using Putty to install Oracle 10gR1 on my RHEL4 server.
Specified X11 forwarding on Putty and I am able to use the graphical components of RHEL like lvm for example. But every time I run ./runInstaller from my Disk1 oracle install disk, i get the following error:

Checking installer requirements...

Checking operating system version: must be redhat-2.1, redhat-3, redhat-4, SuSE-9, SuSE-8 or UnitedLinux-1.0
                                      Passed


All installer requirements met.

Preparing to launch Oracle Universal Installer from /home/tmp/OraInstall2008-10-06_05-30-59PM. Please wait ...[oracle@CJPLUSDB Disk1]$ Xlib: connection to "localhost:10.0" refused by server
Xlib: PuTTY X11 proxy: wrong authentication protocol attempted
Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using 'localhost:10.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)
0
Comment
Question by:jose_rijos
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
8 Comments
 
LVL 19

Expert Comment

by:jools
ID: 22654851
You still need an xserver running on the PC so it can connect to the display.

0
 
LVL 19

Expert Comment

by:jools
ID: 22654858
0
 
LVL 4

Expert Comment

by:hqassap
ID: 22657573

Set the Remote X11 authentication protocol to MIT-Magic-Cookie-1 in PuTTY
0
 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

 

Author Comment

by:jose_rijos
ID: 22658877
I have Xmimg already running on my PC and it works fine for other services running on the server like system-config-lvm and firefox.
The problem is basically with the Oracle 10gR1 runInstaller.

Here are the last lines I found on the Xming log ( I masked the IP with x):

AUDIT: Mon Oct 06 17:01:00 2008: 608 C:\Program Files\Xming\Xming.exe: client 4 rejected from IP xx.xx.xx.xx
AUDIT: Mon Oct 06 17:01:16 2008: 608 C:\Program Files\Xming\Xming.exe: client 4 rejected from IP xx.xx.xx.xx
AUDIT: Mon Oct 06 17:01:26 2008: 608 C:\Program Files\Xming\Xming.exe: client 4 rejected from IP xx.xx.xx.xx
AUDIT: Mon Oct 06 17:01:36 2008: 608 C:\Program Files\Xming\Xming.exe: client 4 rejected from IP xx.xx.xx.xx
0
 

Author Comment

by:jose_rijos
ID: 22658898
I also have the Remote X11 authentication protocol set to MIT-Magic-Cookie-1 in Putty.

Thanks.
0
 
LVL 19

Expert Comment

by:jools
ID: 22659880
I'd usually fix this by typing xhost +.

Just downloading xming now to see what happens.
0
 

Author Comment

by:jose_rijos
ID: 22660710
It looks like it is a permissions issue. If  I try xclock with root it works. With the Oracle user I get this error:
Xlib: connection to "localhost:10.0" refused by server
Xlib: PuTTY X11 proxy: wrong authentication protocol attempted
Error: Can't open display: localhost:10.0
[1]+  Exit 1                  xclock
 Does anybody know wat I need to change to make it work for other users beside root?
0
 

Accepted Solution

by:
jose_rijos earned 0 total points
ID: 22662644
Finally I was able to execute the  runInstaller!

I was able to do it using XDM-Authorization-1 instead of MIT-Magic-Cookie-1.

Thank you all!!
0

Featured Post

Ready to get started with anonymous questions?

It's easy! Check out this step-by-step guide for asking an anonymous question on Experts Exchange.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.
Suggested Courses

635 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question