在centos上安装软件时出现Could not execute auto check for display colors using

来源:岁月联盟 编辑:exp 时间:2011-10-20

 

在centos上安装软件时出现Could not execute auto check for display colors using command

 

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

摘自:tingtingego 博客