| vasu |
Posted: May 18, 2005 10:29:33 AM |
Total Post: 50
Joined: Jan, 2003
|
Hi Guys,
I am unable to run Oracle installer. Getting this error.
$ ./runInstaller
$ Initializing Java Virtual Machine from /tmp/OraInstall2005-05-18_10-30-43AM/jre/bin/java. Please wait...
Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using 'localhost:0.0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:59)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:120)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:58)
at java.awt.Window.(Window.java:186)
at java.awt.Frame.(Frame.java:315)
at java.awt.Frame.(Frame.java:262)
at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:593)
I am trying to use ssh with X option to install oracle on a remote server.
Please help.
Vasu |
|
|
Vigyan |
| Posted: May 19, 2005 02:49:36 PM | |
|
Total Post: 386
Joined: May, 2001
|
Open a another window as root and type xhost +
See what it returns.
Vigyan
|
|
|
|
|
vasu |
| Posted: May 19, 2005 02:56:37 PM | |
|
Total Post: 50
Joined: Jan, 2003
|
Thanks for reply.
I am getting.
xhost: unable to open display "localhost:0.0"
|
|
|
|
|
Vigyan |
| Posted: May 20, 2005 03:32:57 PM | |
|
Total Post: 386
Joined: May, 2001
|
Can you make sure your sshd_config file as following entries uncommented?
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost yes
Id not then edit and uncomment them. Restart the ssh once you make these changes.
Hope this helps.
Vigyan
|
|
|
|
|
Sunil |
| Posted: Jan 22, 2006 01:44:07 AM | |
|
Total Post: 3
Joined: Jan, 2006
|
Hi vasu
Just do one thing inorder to overcome this problem
when u go to termainal follow these steps
1. xhost +
2. su - oracle (Oracle user from which u have to run installer)
3. DISPLAY=localhost:0.0
4. export DISPLAY
6. Then go to the path where the runInsataller and run it
Let me know whether this works or not
Regards
Sunil
|
|
|
|
|
| Time Zone: EDT |
Send this thread to your friend |