亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

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

 更新時(shí)間:2017年03月16日 10:15:49   作者:黃杉  
這篇文章主要給大家介紹了關(guān)于在ORACLE 11g安裝中出現(xiàn)xhost: unable to open display問題的解決方法,文中介紹的非常詳細(xì),對(duì)大家具有一定的參考價(jià)值,需要的朋友們下面來一起看看吧。

一、Xhosts報(bào)錯(cuò)

安裝好vncserver,本地pc筆記本能通過vnc viewer遠(yuǎn)程連接Oracle服務(wù)器,但是在執(zhí)行xhost+報(bào)錯(cuò),嘗試過localhost,嘗試過127.0.0.1,也試過本機(jī)ip地址,都是unable toopen displa,如下所示

[root@orcltest ~]# export DISPLAY=localhost:1
[root@orcltest ~]# xhost
xhost: unable to open display "localhost:1"
[root@orcltest ~]#
 
[root@orcltest ~]# export DISPLAY=127.0.0.1:1
[root@orcltest ~]# xhost
xhost: 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.12
xhost: unable to open display "192.51.3.12:1"

二、去查看后臺(tái)的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到了一些資料,有準(zhǔn)備安裝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 ~]#

之后再執(zhí)行xdpyinfo,可以xhsot +成功,如下所示,就可以啟動(dòng)./runInstaller安裝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 ~]#

總結(jié)

以上就是這篇文章的全部內(nèi)容了,希望本文的內(nèi)容對(duì)大家的學(xué)習(xí)或者工作能帶來一定的幫助,如果有疑問大家可以留言交流,謝謝大家對(duì)腳本之家的支持。

相關(guān)文章

  • oracle創(chuàng)建新用戶以及用戶權(quán)限配置、查詢語句

    oracle創(chuàng)建新用戶以及用戶權(quán)限配置、查詢語句

    在Oracle數(shù)據(jù)庫中要?jiǎng)?chuàng)建一個(gè)用戶并僅賦予查詢權(quán)限,你可以按照以下步驟進(jìn)行操作,這篇文章主要給大家介紹了關(guān)于oracle創(chuàng)建新用戶以及用戶權(quán)限配置、查詢語句的相關(guān)資料,需要的朋友可以參考下
    2024-03-03
  • Oracle數(shù)據(jù)庫查看與修改內(nèi)存配置的方法

    Oracle數(shù)據(jù)庫查看與修改內(nèi)存配置的方法

    在使用Oracle時(shí)我們需要關(guān)注數(shù)據(jù)庫的內(nèi)存使用情況,以確保其正確高效地運(yùn)行,下面這篇文章主要給大家介紹了關(guān)于Oracle數(shù)據(jù)庫查看與修改內(nèi)存配置的相關(guān)資料,需要的朋友可以參考下
    2023-11-11
  • sql – Oracle中匿名TABLE/VARRAY類型示例詳解

    sql – Oracle中匿名TABLE/VARRAY類型示例詳解

    這篇文章主要給大家介紹了關(guān)于Oracle中匿名TABLE/VARRAY類型的相關(guān)資料,文中通過示例代碼介紹的非常詳細(xì),對(duì)大家學(xué)習(xí)或者使用oracle具有一定的參考學(xué)習(xí)價(jià)值,需要的朋友們下面隨著小編來一起學(xué)習(xí)學(xué)習(xí)吧
    2018-10-10
  • 在Tomcat服務(wù)器下使用連接池連接Oracle數(shù)據(jù)庫

    在Tomcat服務(wù)器下使用連接池連接Oracle數(shù)據(jù)庫

    本文為大家介紹下在Tomcat服務(wù)器下使用連接池來連接數(shù)據(jù)庫的操作,下面有個(gè)不錯(cuò)的示例,大家可以參考下
    2014-01-01
  • Oracle 存儲(chǔ)過程發(fā)送郵件實(shí)例學(xué)習(xí)

    Oracle 存儲(chǔ)過程發(fā)送郵件實(shí)例學(xué)習(xí)

    接下來將介紹下如何使用存儲(chǔ)過程發(fā)送郵件這一案例實(shí)現(xiàn),感興趣的你可以參考下本文或許對(duì)你有所幫助
    2013-03-03
  • Oracle 10g的DBA無法登錄解決方案

    Oracle 10g的DBA無法登錄解決方案

    很多時(shí)候當(dāng)裝好Oracle10g后,登錄http://kcsqlbi:5560/isqlplus/dba彈出的Windows認(rèn)證窗口,盡管輸入什么帳號(hào),都無法登錄。
    2009-05-05
  • Oracle case函數(shù)使用介紹

    Oracle case函數(shù)使用介紹

    這篇文章主要通過實(shí)例簡要介紹case函數(shù)的用法,學(xué)習(xí)oracle的朋友可以參考下
    2013-09-09
  • 在Oracle數(shù)據(jù)庫表中加載多個(gè)數(shù)據(jù)文件的方法詳解

    在Oracle數(shù)據(jù)庫表中加載多個(gè)數(shù)據(jù)文件的方法詳解

    這篇文章主要給大家介紹了在Oracle數(shù)據(jù)庫表中加載多個(gè)數(shù)據(jù)文件的方法,本文中,我將展示 SQL 加載器 + Unix 腳本實(shí)用程序的強(qiáng)大功能,其中 SQL 加載器可以使用自動(dòng) shell 腳本加載多個(gè)數(shù)據(jù)文件,需要的朋友可以參考下
    2024-01-01
  • Oracle系統(tǒng)表外鍵的更名

    Oracle系統(tǒng)表外鍵的更名

    Oracle系統(tǒng)表外鍵的更名...
    2007-03-03
  • 如何使用log miner分析oracle日志

    如何使用log miner分析oracle日志

    日常生活中,我們經(jīng)常因?yàn)椴僮魇д`丟失數(shù)據(jù)或者是更改數(shù)據(jù),如何進(jìn)行恢復(fù)吶?這篇文章就是幫助我們解決這一困擾,需要的朋友可以參考下
    2015-07-07

最新評(píng)論