安装oracle10g,报错must be&…

来源:互联网 发布:军车模型淘宝 编辑:程序博客网 时间:2024/06/05 07:01
1.用oracle用户安装报错
Checking monitor: must be configured to display at least 256 colors Failed <<<<
>>> Could not execute auto check for display colors using command /usr/X11R6/bin/xdpyinfo. Check if the DISPLAY variable is set.

2.用root用户安装就不会报这个错
Checking Temp space: must be greater than 80 MB. Actual 49369 MB Passed
Checking swap space: must be greater than 150 MB. Actual 1999MB Passed
Checking monitor: must be configured to display at least 256 colors. Actual 16777216 Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2011-05-22_03-47-59PM. Please wait ...
The user is root. Oracle Universal Installer cannot continue installation if the user is root.
: Success


解决方法:

1、root 下先执行#xhost +
2、su oracle
3、export DISPLAY=:0.0




北京质恒汗蒸
0 0
原创粉丝点击