Solved

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

Posted on 2008-10-06
8
5,217 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
  • 4
  • 3
8 Comments
 
LVL 19

Expert Comment

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

0
 
LVL 19

Expert Comment

by:jools
Comment Utility
0
 
LVL 4

Expert Comment

by:hqassap
Comment Utility

Set the Remote X11 authentication protocol to MIT-Magic-Cookie-1 in PuTTY
0
 

Author Comment

by:jose_rijos
Comment Utility
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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

Author Comment

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

Thanks.
0
 
LVL 19

Expert Comment

by:jools
Comment Utility
I'd usually fix this by typing xhost +.

Just downloading xming now to see what happens.
0
 

Author Comment

by:jose_rijos
Comment Utility
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
Comment Utility
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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

763 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now