I am trying to install Oracle on suse. I am getting the error message back:
>>> Could not execute auto check for display colors using command /usr/bin/xdpyinfo. Check if the DISPLAY variable is set. Failed <<<<
When i try to run /usr/bin/xdpyinfo, i am getting:
Invalid MIT-MAGIC-COOKIE-1 key/usr/bin/xdpyinfo: unable to open display “:0”
do you guys have any clue why?
An X-display (the logical display you are looking at) is secured from being used by other people (else evrerybody on the network could open windows on your display). You can allow others (other programs not run directly from your display) either by xhost + (see man xhost for details) or by using cookies (different from HTML cookies ;)), see the links at the end of the xhost man -page. I would start first doing an
in a terminal in your display session (not as root, but just as you) and retry your Oracle test.
shows you the value of the actual display variable. It will end in :0 because that is normaly the only physical surface you have. It starts with the hostname/IP address of the system where the X-server runs, it may be empty in your case because everything is on the same system. Result:
as seen in the error message.