• Register
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?


7.5k points

Please log in or register to answer this question.

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.


38.6k points

Related questions

0 votes
1 answer 17 views
Problem: Sub process /usr/bin/dpkg returned an error code (1)?
asked Jun 26 Mezbah 130k points
0 votes
1 answer 9 views
Problem: Has anyone had this complication before : E sub-process /usr/bin/dpkg returned an error code (1)?
asked Jun 25 Chi Omega 168k points
0 votes
1 answer 12 views
Problem: I try several commands like apt-get -f install apt-get clean but id not work, I need help.
asked Jun 24 Isac Christiaan 103k points
0 votes
1 answer 24 views
Problem: Is there anyone who knows how to fix this problem : Sub-process /usr/bin/dpkg returned an error code (1) ubuntu?
asked Jun 22 Nahil 128k points
0 votes
1 answer 64 views
Problem: While installing weblogic server, I am getting this error. I have tried pretty much but I couldn't sort it out.I tried by this below commands,# xhost +yum install xorg-x11-xauth.How can solve?
asked May 3 sumaiya simi 43.9k points
0 votes
1 answer 41 views
Problem: I am unable to understand this problem .. Please suggest me a better solution to solve it .. Sudo: unable to execute /bin/rm: argument list too long
asked May 7 Ifra 43.4k points
0 votes
1 answer 85 views
Problem: Every once in a while, I'm getting su: failed to execute /bin/bash: Resource temporarily unavailable error message when trying to run a set of bash commands in a docker container. The problematic part of my script looks like this: docker run \ "${ ... of four times I end up getting the su: failed to execute /bin/bash: Resource temporarily unavailable message. What could cause this issue?
asked May 3 muktaa 34.6k points
0 votes
1 answer 35 views
Problem: Which command instructs oracle 12c to create a new table?
asked May 10 Junia Phoebe 83.8k points
0 votes
1 answer 7 views
Problem: Oracle 12c new features for developers
asked Jul 24 Sawyer Parviz 168k points
1 vote
1 answer 165 views
Problem : I am very new to Oracle. I can very clearly see from the SQLPLUS startup output that my database is not starting up because in my init.ora file local_listener is setup as the LISTENER and now it says that it is unable to resolve that name. ... figure out my mistake. I need Oracle experts help to fix my bellow error: Ora 00119 invalid specification for system parameter local_listener .
asked Apr 22, 2020 stewart 4k points