Solved

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

Posted on 2008-10-06
8
5,616 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL Workhours Count beetween Workhours 3 49
Oracle programming for starter 14 74
Oracle performance tuning 2 55
Sorting a SQL script 5 41
I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
This video shows how to recover a database from a user managed backup

732 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