I am getting below error while trying to install Oracle 12c release 2 on rhel 7

Hi,

I am getting below error while trying to install oracle 12c release 2 on rhel 7.

[oracle@oracledb database]$ ./runInstaller 
Starting Oracle Universal Installer...

Checking Temp space: must be greater than 500 MB.   Actual 10828 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 2559 MB    Passed
Checking monitor: must be configured to display at least 256 colors
    >>> Could not execute auto check for display colors using command /usr/bin/xdpyinfo. Check if the DISPLAY variable is set.    Failed <<<<

Some requirement checks failed. You must fulfill these requirements before

continuing with the installation,

Continue? (y/n) [n] y
Check if the DISPLAY variable is set.    Failed 

So what does

echo "$DISPLAY"

say?

Hello balasahu,

Also want to add what Scrutinizer has mentioned already, if in case DISPLAY variable is NOT set in the box(way has been provided by Scrutinizer in POST#2) then you could do following too.

DISPLAY=your_box_ip_address:0.0; export DISPLAY;

Then you could run your installable in the box.

NOTE: I hope you aware that there are tools available for displaying GUI installation or un-installation tasks from *NIX boxes to on standard output(your screen), eg--> xming, humming bird etc. For these kind of tools only we have to set this variable mostly.

Thanks,
R. Singh