Solved

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

Posted on 2008-10-06
8
5,371 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

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.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
grouping on time windows 6 51
PL/SQL Display based on value 4 26
Select and Insert Query running slow 4 32
Component is listed with a Protocol more than once 3 26
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
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.
This video shows how to recover a database from a user managed backup

816 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

13 Experts available now in Live!

Get 1:1 Help Now