• Register
Welcome to Kodlogs, programming questions and answer website.
0 votes

Problem :

I am facing the below error while trying to execute my below command in linux for installing the oracle on EC2 instance.

Starting Oracle Universal Installer...
Checking Temp space: must be greater than 500 MB.   Actual 9321 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 1023 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 have failed. You must fulfill these requirements before

Anyone who knows the solution on my error?


by (7.5k points)  

1 Answer

0 votes

Solution :

This can occur if your DISPLAY variable is not properly set, or the user who is running the installation is not completely authorized to open the X window. For example, if you use the su command to change from the user who is authorized to open the X window to the user account which is not authorized to open the X window on your display.

To resolve this issue, you need to run the below command:


To make sure that your display variable is properly set to a correct visual or to a correct host. If your display variable is set correctly then either make sure that you are logged in as a user authorized to open the X window, or use xhost + to allow any user to open the X window.


by (34.3k points)