Solved

while run ./runInstaller i unable to connect X11

Posted on 2008-10-21
4
696 Views
Last Modified: 2013-12-27
Hi experts.
Good morning!
MY OS sunsolaris sparc
My Database oracle8i

Question:
I m try to Install oracle8i database on sunsolaris sparc mechine, i have completed pre-installation process, But when trying to run ./runInstaller the following error i getting. Pls help me .

The error:
$ Initializing Java Virtual Machine from /tmp/OraInstall/jre/bin/jre. Please wait...
java.lang.InternalError: Can't connect to X11 window server using ''who -m | cut -f2 -d'('| cut -f1 -d')'':0.0' as the value of the DISPLAY variable.
        at sun.awt.motif.MToolkit.<init>(Compiled Code)
        at java.awt.Toolkit.getDefaultToolkit(Compiled Code)
        at oracle.sysman.oii.oiif.oiifm.OiifmSplashScreen.getImage(Compiled Code
)
        at oracle.sysman.oii.oiif.oiifm.OiifmSplashScreen.<init>(Compiled Code)
        at oracle.sysman.oii.oiic.OiicInstaller.main(Compiled Code)

thanks
siva
0
Comment
Question by:sivakumar_experts
  • 2
  • 2
4 Comments
 
LVL 38

Accepted Solution

by:
yuzh earned 200 total points
ID: 22773684
If you are at the console, you can manually set the DISPLAY variable:
DISPLAY=`hostname`:0.0
export  DISPLAY
then run the script.
IF you are remote login, you need to make sure your local machine has X server install and it is running on the background.
and set:
DISPLAY="Local-IP":0.0
export DISPLAY
You can also for setup X forwarding for ssh to do the job.
0
 

Author Comment

by:sivakumar_experts
ID: 22773816
hi yuzh sir :

YAP i got it ... sir i need permanent solution for this.

Thanks lots

siva.
0
 
LVL 38

Expert Comment

by:yuzh
ID: 22774342
What type of  "permanent solution " do you need?
How often do you need to run the installer.
You can also write a script to set the DISPLAY and run the installer.
eg:
#!/bin/ksh
export DISPLAY=`who am i | awk '{print $6}' | tr -d "()"`:0.0
/path-to/ runInstaller
exit
# End of script
0
 

Author Closing Comment

by:sivakumar_experts
ID: 31508619
sir thanks lots.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

762 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

20 Experts available now in Live!

Get 1:1 Help Now