(转)Could not execute auto check for display colors using command /usr/bin/xdpyinfo. Check if the DISPL

转自:http://blog.csdn.net/huashnag/article/details/9357517

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什么的
# 配置vncserver
vim /etc/sysconfig/vncservers
# 以用户root启动第一个和第二个桌面
VNCSERVERS="1:root 2:oracle"
# 调整分辨率
VNCSERVERARGS[1]="-geometry 1024x768"
VNCSERVERARGS[2]="-geometry 1024x768"
#设置密码
su - oracle
/usr/bin/vncpasswd
service vncserver restart


posted @ 2015-05-18 17:22  艾阳君  阅读(1846)  评论(0编辑  收藏  举报