Solved

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

Posted on 2008-10-06
8
5,471 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
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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

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…
In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

828 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