zoukankan      html  css  js  c++  java
  • 在Ubuntu上安装oracle出现时出现错误

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

     

  • 相关阅读:
    hdu4726
    hdu2709
    hdu4706
    hdu4715
    快速幂取模
    快速幂
    asp.net中页面传值
    微信小程序支付
    sql 查询重复记录值取一条
    bower使用
  • 原文地址:https://www.cnblogs.com/kakafra/p/2734550.html
Copyright © 2011-2022 走看看