I followed this tutorial to install Oracle database 12c in Ubuntu 16.04
However I am getting the following error on executing the command
/tmp/database/runInstaller 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,
What to do now?
DISPLAY=hostname:0.0 export DISPLAY xclock
Now I get the following error:
Error: Can't open display: [myhostname]:0.0
My error is probably because X server is most likely not listening on a TCP socket.