麻豆小视频在线观看_中文黄色一级片_久久久成人精品_成片免费观看视频大全_午夜精品久久久久久久99热浪潮_成人一区二区三区四区

首頁 > 數據庫 > Oracle > 正文

ORACLE 11g安裝中出現xhost: unable to open display問題解決步驟

2024-08-29 13:59:50
字體:
來源:轉載
供稿:網友

一、Xhosts報錯

安裝好vncserver,本地pc筆記本能通過vnc viewer遠程連接Oracle服務器,但是在執行xhost+報錯,嘗試過localhost,嘗試過127.0.0.1,也試過本機ip地址,都是unable toopen displa,如下所示

[root@orcltest ~]# export DISPLAY=localhost:1[root@orcltest ~]# xhostxhost: unable to open display "localhost:1"[root@orcltest ~]# [root@orcltest ~]# export DISPLAY=127.0.0.1:1[root@orcltest ~]# xhostxhost: unable to open display "127.0.0.1:1"[root@orcltest ~]# xhost +xhost: unable to open display "127.0.0.1:1"[root@orcltest ~]# xhost + 192.51.3.12xhost: unable to open display "192.51.3.12:1"

二、去查看后臺的vnc日志信息,日志信息,看到vnc日志信息正常,沒有啥異常信息

   [root@orcltest ~]# vim /root/.vnc/orcltest:1.log     Xvnc TigerVNC 1.1.0 - built May 11 2016 13:01:55   Copyright (C) 1999-2011 TigerVNC Team and many others (see README.txt)   See http://www.tigervnc.org for information on TigerVNC.   Underlying X server release 11704000, The X.Org Foundation     Tue Mar 14 03:23:26 2017   vncext:  VNC extension running!   vncext:  Listening for VNC connections on all interface(s), port 5901   vncext:  created VNC server for screen 0   GNOME_KEYRING_SOCKET=/tmp/keyring-jRupIx/socket   SSH_AUTH_SOCK=/tmp/keyring-jRupIx/socket.ssh   GNOME_KEYRING_PID=7358   Cleaned 21 files 7 still live   Failed to play sound: Not available    (polkit-gnome-authentication-agent-1:7380): GLib-GObject-WARNING **: cannot register existing type `_PolkitError'    (polkit-gnome-authentication-agent-1:7380): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed    ** (gnome-user-share:7381): WARNING **: gnome-user-share cannot be started as root for security reasons.   Initializing nautilus-gdu extension    ** (gnome-panel:7372): WARNING **: panel-applet-frame.c:1288: failed to load applet OAFIID:GnoteApplet:   (null)    ** (gnome-panel:7372): WARNING **: panel-applet-frame.c:1288: failed to load applet OAFIID:GNOME_FastUserSwitchApplet:   (null)

三、試試xdyinfo

Google到了一些資料,有準備安裝xdyinfo成功的,這里也試試看,先安裝xdpyinfo

   [root@orcltest ~]# xdpyinfo   -bash: xdpyinfo: command not found   [root@orcltest ~]# yum install -y xdpyinfo   Loaded plugins: refresh-packagekit, security   Setting up Install Process   Resolving Dependencies   --> Running transaction check   ---> Package xorg-x11-utils.x86_64 0:7.5-14.el6 will be installed   --> Processing Dependency: libdmx.so.1()(64bit) for package: xorg-x11-utils-7.5-14.el6.x86_64   --> Processing Dependency: libXxf86dga.so.1()(64bit) for package: xorg-x11-utils-7.5-14.el6.x86_64   --> Running transaction check   ---> Package libXxf86dga.x86_64 0:1.1.4-2.1.el6 will be installed   ---> Package libdmx.x86_64 0:1.1.3-3.el6 will be installed   --> Finished Dependency Resolution    Dependencies Resolved    ===============================================================================================================================================================================================================================================================================   Package                Arch               Version                 Repository             Size   ===============================================================================================================================================================================================================================================================================   Installing:   xorg-x11-utils              x86_64              7.5-14.el6                base              101 k   Installing for dependencies:   libXxf86dga               x86_64              1.1.4-2.1.el6               base               18 k   libdmx                x86_64              1.1.3-3.el6                base               15 k    Transaction Summary   ===============================================================================================================================================================================================================================================================================   Install  3 Package(s)    Total download size: 133 k   Installed size: 270 k   Downloading Packages:   (1/3): libXxf86dga-1.1.4-2.1.el6.x86_64.rpm                                                    | 18 kB  00:00    (2/3): libdmx-1.1.3-3.el6.x86_64.rpm                                                     | 15 kB  00:00    (3/3): xorg-x11-utils-7.5-14.el6.x86_64.rpm                                                    | 101 kB  00:00    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------   Total                                                           252 kB/s | 133 kB  00:00    Running rpm_check_debug   Running Transaction Test   Transaction Test Succeeded   Running Transaction   Installing : libXxf86dga-1.1.4-2.1.el6.x86_64                                                       1/3   Installing : libdmx-1.1.3-3.el6.x86_64                                                         2/3   Installing : xorg-x11-utils-7.5-14.el6.x86_64                                                       3/3   Verifying : libdmx-1.1.3-3.el6.x86_64                                                         1/3   Verifying : xorg-x11-utils-7.5-14.el6.x86_64                                                       2/3   Verifying : libXxf86dga-1.1.4-2.1.el6.x86_64                                                       3/3    Installed:   xorg-x11-utils.x86_64 0:7.5-14.el6                                                               Dependency Installed:   libXxf86dga.x86_64 0:1.1.4-2.1.el6                          libdmx.x86_64 0:1.1.3-3.el6                              Complete!   [root@orcltest ~]#

之后再執行xdpyinfo,可以xhsot +成功,如下所示,就可以啟動./runInstaller安裝oracle/25619.html">oracle了。

   [root@orcltest ~]# xdpyinfo   xdpyinfo: unable to open display "localhost:1".   [root@orcltest ~]# xhost + 192.51.3.12   Xhost: unable to open display "localhost:1"   [root@orcltest ~]# export DISPLAY=:1.0    [root@orcltest ~]# xhost +   access control disabled, clients can connect from any host   [root@orcltest ~]#

總結

以上就是這篇文章的全部內容了,希望本文的內容對大家的學習或者工作能帶來一定的幫助,如果有疑問大家可以留言交流,謝謝大家對VeVb武林網的支持。


注:相關教程知識閱讀請移步到oracle教程頻道。
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 狠狠干精品视频 | 亚洲天堂成人在线 | 欧美一级高潮片免费的 | 久草视频国产在线 | 精品国产中文字幕 | 91午夜在线观看 | 久久欧美亚洲另类专区91大神 | 免费99热在线观看 | 视频一区二区三区在线 | 成码无人av片在线观看网站 | 亚洲人成免费 | 青青国产在线视频 | 插插操| 国产福利不卡一区二区三区 | 欧美大电影免费观看 | 99国产精品自拍 | 日韩黄色片免费看 | 国产亚洲综合精品 | 失禁高潮抽搐喷水h | 国产69精品久久久久久野外 | 依人在线视频 | 成人在线观看免费高清 | 素人视频在线观看免费 | 全黄性色大片 | 国产亚洲精品久久久久婷婷瑜伽 | 久久国产亚洲精品 | 欧美成年人在线视频 | 国产免费大片视频 | 精品一区二区三区在线观看国产 | 欧美久久久一区二区三区 | 日本成年网 | lutube成人福利在线观看 | 天使萌一区二区三区免费观看 | 久久精品视频一区 | 国产精品美女久久久久久网站 | 成人性视频欧美一区二区三区 | 国产 日韩 一区 | 毛片网站视频 | 在线看毛片的网站 | 国产精品久久久久一区二区 | 久久成人精品视频 |