gaohan 发表于 2016-1-7 14:14:17

在VMware 下的 ubuntu server 中安装oracle 10g遇到 “xhost unable to open display”问题

  今天想在宿舍自己的本本上安装一个 oracle 10g 学习一下 oracle 的,具体的安装过程参照网址:
  
  http://wenku.baidu.com/view/2beb88ccda38376baf1fae8e.html ,在这里我就不细说了。我主要讲一下我在安
  
  装的时候遇到的几个问题,下面介绍一下这几个问题:
  
  (1)使用远程SSH启动Xserver失败的问题,无可奈何只好放弃SSH启动,直接在VMware终端上启动:startx
  
  (2)在./runInstaller 安装 oracle 的时候,出现错误:
  
  no protocol specified。xhost unable to open display  0.0 。 这个错误是由于在 sudo 用户切换到 oracledba
  
  用户的时候没有使用 “xhost +“ 命令的缘故,xhost + 使所有用户都能访问Xserver。解决方法是回到超级用户下执行
  
  xhost + ,然后再回到 oracledba 用户下执行./runInstaller 安装 oracle ,搞定!
页: [1]
查看完整版本: 在VMware 下的 ubuntu server 中安装oracle 10g遇到 “xhost unable to open display”问题