Could not execute auto check for display colors using command /usr/bin/xdpyinfo. Check if the DISPLAY variable is set.

Starting Oracle Universal Installer...

Checking Temp space: must be greater than 80 MB. Actual 10115 MB Passed

Checking swap space: must be greater than 150 MB. Actual 2047 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 failed. You must fulfill these requirements before

continuing with the installation,at which time they will be rechecked.

Continue? (y/n) [n]

解决办法:

把系统注销,然后使用Oracle用户直接登录系统进入即可!

另外注意:环境变量配置文件中,如果加上官方文档中的一个参数

  • export DISPLAY=local_host:0.0

  • 会导致不能以Oracle用户的身份登录到图形界面,提示什么10s什么的