Remember your dreams

Remember your dreams
Remember your dreams

Thursday, November 10, 2016

Oracle runInstaller fails on Linux, Could not execute auto check for display colors using command /usr/bin/xdpyinfo. Check if the DISPLAY variable is set.

How to get Oracle's runInstaller to run on Linux or Unix environment using from Windows using Cygwin as an xterm emulator.

Download and install Cygwin

Launch Cygwin from the desktop icon


 Run startx from your Windows command line. "cmd" from your Search and run programs dialog.


$startx

Cygwin will launch and with multiple windows. In one of them run the xterm command


xterm from a Cygwin window


 


A new window will launch. This is the window you will now be working in. You will ssh to the machine where the Oracle installer is located.

Run the "ssh" command. Using the "-Y" option. Include the oracle username and the FQDN of the server.



$ssh -Y oracle@remote_hostname

Now you are connected to the remote server where Oracle was downloaded.
Set the Display variable.
I am using tcsh shell. ksh and bash uses different syntax to set variables. 

tcsh use this syntax

$setenv DISPLAY remote_hostname:10.0

sh shell you can use 
$DISPLAY=remote_hostname:10.0

You should be all set. Run the xdpyinfo command to verify your display is working.


/usr/bin/xdpyinfo


Now run Oracle Installer.

/oracle/app/install/12c/database/runInstaller &

 




 
 

No comments:

Post a Comment

Proactive Oracle DBA

This is a series of posts. I am working this to share some of the many scripts I schedule to automatically run to alert me of any current o...