Job Seekers   Employers
dbapool: Authors | Submissions | Contact Us
   Forgot password? | Sign up
  Home   Discussion Forum   Articles   Interview Questions   FAQs   Scripts   Rewards   Analyzer   White Papers   Blog   Certification   Downloads   Tools
 

Topic: Oracle on Unix/Linux >> Exception in thread "main" java.lang.InternalError: Can't connect to X11 window

Disclaimer: The purpose of all dbapool forums including OCP and Other Oracle Certification forums is to help each other with specific issues but not to share dump and copyrighted exam content, materials or intellectual property. You may review the entire Oracle Certification Program Candidate Agreement online Here.



  


 Title: Exception in thread "main" java.lang.InternalError: Can't connect to X11 window
 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

  




Forum Rules & Description


Who Can Read The Forum? Any registered user or guest
Who Can Post New Topics? Any registered user
Who Can Post Replies? Any registered user




 








Get FREE Magazines

Top 10 Forum User

  Murtuja Khokhar857
  Mohammed Taj746
  positive fanatic483
  Jayanta Sur479
  Vigyan Kaushik386
  Gopu Gopi327
  Gitesh Trivedi322
  Vinoth Kumar264
  neeraj sharma258
  Ramesh Jois246






oracle Mag



  About Us Advertise Terms of Use Privacy Newsletters Contact Us    

Home   Discussion Forum   FAQs  Articles  Jobs   Newsletters  Directory  Downloads 

Our Premium Sponsor
Confio Software