您的位置:首页 > 数据库 > Oracle

在Ubuntu上安装oracle出现时出现错误

2012-10-22 21:17 736 查看
今天在Ubuntu12上安装oracle11g发现出现如下错误:Could not execute auto check for display colors using command /usr/bin/xdpyinfo. Check if the DISPLAY variable is set. 到网上查了下方法有: Two solutions: 1.use oracle login x-window, then ./runInstaller 2.use root login,then#xhost +#su - oracle#./runInstaller xhost 是用来控制X server访问权限的。通常当你从hostA登陆到hostB上运行hostB上的应用程序时,做为应用程序来说,hostA是client,但是作为图形来说,是在hostB上显示的。 因此在登陆到hostB前,需要在hostA上运行xhost + 来使其它用户能够访问hostA的Xserver.xhost + 是使所有用户都能访问Xserver;xhost + ip使ip上的用户能够访问Xserver-------------用方法1,成功解决!
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: