在redhat as5上安装oracle11g时不能启动GUI报错如下:
[oracle@sense disk1]$ ./runInstaller
Starting Oracle Universal Installer...

Checking Temp space: must be greater than 80 MB.   Actual 1184 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 3027 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安装用户重新登录系统即可解决,比如之前已经创建好的安装用户oracle,使用oracle用户登录系统就可以解决问题

[oracle@sense disk1]$ ./runInstaller
Starting Oracle Universal Installer...

Checking Temp space: must be greater than 80 MB.   Actual 1184 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 3027 MB    Passed
Checking monitor: must be configured to display at least 256 colors.    Actual 16777216    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2009-01-03_05-06-47PM. Please wait .