Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
General
cancel
Showing results for 
Search instead for 
Did you mean: 

Installing Oracle 9i (9.2.0) and Get X11 error

SOLVED
Go to solution
Gunther Schulze
Frequent Advisor

Installing Oracle 9i (9.2.0) and Get X11 error

Please help if you know how to fix this problem.

I'm installing Oracle 9i (9.2.0), and when I try to run the installer as user oracle, I get the following error:

Xlib: connection to "servername:0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using 'servername:0.0' as the value of the DISPLAY variable.

There are some more errors that follow this.

Please help!!!
The only constant in life is change.
5 REPLIES
Jeff Schussele
Honored Contributor
Solution

Re: Installing Oracle 9i (9.2.0) and Get X11 error

Hi Gunther,

I assume this is a local install.
Try
xxx.xxx.xxx.xxx:0.0
or
localhost:0.0
for the DISPLAY variable.
Also you need to run
xhost +
to allow the connection

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Robert-Jan Goossens
Honored Contributor

Re: Installing Oracle 9i (9.2.0) and Get X11 error

Hi,

before you login to the new installed oracle server

# xhost +
login the server
# export DISPLAY=ipadres_local_server:0.0
run the installer command.

HTH
Robert-Jan.
Gunther Schulze
Frequent Advisor

Re: Installing Oracle 9i (9.2.0) and Get X11 error

I ran xhost + and get the following error:

Xlib: connection to "servername:0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
xhost: unable to open display "servername:0.0"

I get the same error when I attempt to do this with the IP address.
The only constant in life is change.
Gunther Schulze
Frequent Advisor

Re: Installing Oracle 9i (9.2.0) and Get X11 error

I ran xhost + as root, and then as oracle, and everything is fine.

Thanks Gentlemen!!!
The only constant in life is change.
Jean-Luc Oudart
Honored Contributor

Re: Installing Oracle 9i (9.2.0) and Get X11 error

did you run xhost + as root ?
~~~~~~~~~~~~~~~~~~~~
Solution Description -------------------- This problem has to to with X windows calls not being set up. The way to get around this problem is to exit out of the oracle user and log in as root. Once you are logged in as root type xhost + and you will get a message back: access control disabled, clients can connect from any host Once this message is returned you can su - oracle, source your environment, then type in oidadmin. Explanation ----------- After the Unix box has been shut down 'xhost +' needs to be run to allow users to connect without using a ACL (access control list). This allows user's to display to their IP address.
~~~~~~~~~~~~~~ from Metalink

Rgds,
JL
fiat lux