If you run the installation from a remote terminal, or if you use an
su command to change users you might receive an error similar to the following:
Could not execute auto check for display colors using command /usr/X11R6/bin/xdpyinfo
This can occur if the
DISPLAY variable is not set, or the user running the installation is not authorized to open an X window. For instance, if you use an
su command to change from a user that is authorized to open an X window to a user account that is not authorized to open an X window on the display, such as a lower-privileged user opening windows on the
root user’s console display.
To troubleshoot this issue, run the command
echo $DISPLAY to ensure that the display variable is set to the correct visual or to the correct host. If the display variable is set correctly then either ensure that you are logged in as the user authorized to open an X window, or run the command
xhost + to allow any user to open an X window.