I get an error to install Oracle's Universal Installer in Linux 7.1. The error states that xlib:connection to ":0.0" regused by server xlib:client is not authorized to connect to server Exception in thread "main" java.lang.internalerror can'g connect to X11 window server using ':0.0' as the value of the DISPLAY variable
I am not an oracle person but from the error message it looks like you may need to set your DISPLAY environment variable correctly. I presume you are running XWindows when you try to install oracle, because if you are not it looks like maybe you should be.
You might be getting the connection refused because you logged in as sophia and then ran the oracle install script as user 'oracle'. Make sure to do an xhost+ or xhost +<myhostname> as the user that you logged in with (sophia in this case). Then as user oracle running the install script, export DISPLAY=<myhostname>:0.0 and run the script. That is all provided you are on the same machine.... If you are on a different machines, do the xhost+ on the machine you are sitting at, and the export DISPLA.... on the remote machine. Good Luck, Randy
Sorry my last post had some stuff ripped out of the text. The xhost command can be xhost + to accept any incoming X program or xhost +myhostname for just one particular host. Sorry I had some less-than and greater-than's that must have filtered out.
Thanks for all. Randy.You are right. I used my id to set xhost +. Finally, I get correct. As I use root to set xhost + and use a non-root id to run oracle script. Thank you
Just one general hint for installing Oracle under Linux: http://www.suse.com/oracle The documentation was very helpful for me. There are also some predefined scripts.
Yes, of course, and I accept that blame. In fact, i covet that blame. As does this tiny ad:
a bit of art, as a gift, the permaculture playing cards