在安装Oracle 12c的时候,发现在安装验证的时候,会报如下的错误:
Checking monitor: must be configured to display at least 256 colors >>> Could not execute auto
check for display colors using command /usr/openwin/bin/xdpyinfo. Check if the DISPLAY variable
is set. Failed <<<<
上网查了一下,发现在以root登录后,如果是本机安装,则执行xhost +;否则export DISPLAY=hostname:0.0 ,hostname也可以是IP地址; 设置完后,执行xclock,出现时钟,再以oracle用户进行登录就可以了!
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/22275400/viewspace-766534/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/22275400/viewspace-766534/