【问题标题】:I get this error while trying to launch the command ./runInstaller尝试启动命令 ./runInstaller 时出现此错误
【发布时间】:2014-09-07 18:21:13
【问题描述】:

尝试启动命令 ./runInstaller 时出现此错误 无法使用 ':0.0' 作为 DISPLAY 变量的值连接到 X11 窗口服务器。

【问题讨论】:

  • DISPLAY 是必须显示屏幕的某个 IP 地址吗?我把它和蜂鸟一起用了。

标签: oracle oracle11g redhat


【解决方案1】:

如果您是通过 Putty 执行此操作,那么我建议您查看 Xming,这可以让您拥有一个 Putty 远程 ssh 会话,并将您的显示转发到您的 Windows 机器...

如果您在没有 gui 的 Linux 服务器上执行此操作,则需要远程连接到安装了 GUI(Gnome、KDE ​​等)的 PC,或者您需要直接在服务器。

使用终端上的命令检查是否尚未安装 $ startx

【讨论】:

  • 腻子是什么意思,我该如何使用它
【解决方案2】:

错误是可以重现的:

$ export DISPLAY=:0.0
$ ./runInstaller
ERROR: Unable to verify the graphical display setup. This application requires X display. Make sure that xdpyinfo exist under PATH variable.

Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.

OP 的 X 服务器是 Hummingbird Exceed。 Xming 也可以。

实际解决方案取决于:

  • 您是否需要使用其他登录帐户进行预言机。
  • 您是否使用 X11 转发。
  • X11 转发使用的实际端口,可以是 6010 或其他端口。

如果您已登录然后 su'd 到 oracle,则将 ~/.Xauthority 复制到 oracle 帐户。

如果你使用的是X11转发,转发端口是6010,那么DISPLAY=localhost:10.0是正确的。

如果您没有使用 X11 转发,并且如果您的 PC 上的端口 6000 可以从 oracle 服务器访问,则 export DISPLAY=your.pc.ip.address:0.0 是正确的。

安装 xterm 并使用 xterm 测试 X 窗口。

一定要安装 xdpyinfo。

更多详情请参考我的文章X windows for Oracle DBAs

【讨论】:

    【解决方案3】:

    来自Oracle help docs

    sudo yum install xorg-x11-utils -y
    

    为我工作。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-07-02
      • 1970-01-01
      • 1970-01-01
      • 2013-07-08
      相关资源
      最近更新 更多