经过vnc安装linux 版的oracle 11g 遇到 没法使用命令/usr/bin/xdpyinfo自动检查显示器颜色,能够经过如下方法解决。linux
1.在root下执行oracle
#xdpyinfo |grep name ,记下name of display:后的字符串,:1.0字符串
2. #xhost +cli
返回信息为: access control disabled,clients can connect from any hostgrep
3.切换到Oracle用户:方法
#su - oracledi
4.在Oracle用户下执行命令:co
export DISPLAY=:1.0display
5.在Oracle下执行xdpyinfo命令,若是能正常显示,说明设置成功字符