今天在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,成功解决!

 

相关文章:

  • 2022-01-08
  • 2021-07-19
  • 2021-06-27
  • 2021-09-13
  • 2021-07-16
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-25
  • 2021-07-20
  • 2021-12-20
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-14
相关资源
相似解决方案