Solved

while run ./runInstaller i unable to connect X11

Posted on 2008-10-21
4
700 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
LINUX ZIP - UNCOMPRESS WINDOWS PATH 3 108
Linux: disable vim auto-comment 7 155
to update from RHEL 6.0 to 6.8 anything needed other than "yum update"? 7 121
aix unix tar error 3 81
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

713 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