Solved

while run ./runInstaller i unable to connect X11

Posted on 2008-10-21
4
701 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
reinstall 1 96
Linux : can't create transaction lock error 1 94
ftpcommand 2 82
UNiX Script filesystem space usage Part2 54 105
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

734 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