1. [
創(chuàng)新互聯(lián)是一家專業(yè)提供
興安企業(yè)網(wǎng)站建設(shè),專注與
成都網(wǎng)站制作、成都做網(wǎng)站、
H5技術(shù)、小程序制作等業(yè)務(wù)。10年已為興安眾多企業(yè)、政府機(jī)構(gòu)等服務(wù)。創(chuàng)新互聯(lián)專業(yè)的建站公司優(yōu)惠進(jìn)行中。oracle@11GR2-test ~]$ export DISPLAY=192.168.181.128:1
在虛擬機(jī)中安裝ORACLE, 設(shè)置完DISPLAY變量后,運(yùn)行xhost +命令無(wú)法找到,明顯為xhost相對(duì)應(yīng)的rpm包未安裝.
用yum命令加參數(shù)whatprovides 加xhost查到相對(duì)應(yīng)的包為xorg-x11-server-utils-7.7-14.el6.x86_64,如下圖.
2. [root@11GR2-test ~]# yum whatprovides */xhost
Loaded plugins: refresh-packagekit, security, ulninfo
xorg-x11-server-utils-7.7-14.el6.x86_64 : X.Org X11 X server utilities
Repo : public_ol6_latest
Matched from:
Filename : /usr/bin/xhost
3. yum安裝xorg-x11-server-utils-7.7-14.el6.x86_64包
[root@11GR2-test ~]# yum install -y xorg-x11-server-utils-7.7-14.el6.x86_64
Loaded plugins: refresh-packagekit, security, ulninfo
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package xorg-x11-server-utils.x86_64 0:7.7-14.el6 will be installed
--> Processing Dependency: mcpp for package: xorg-x11-server-utils-7.7-14.el6.x86_64
--> Running transaction check
---> Package mcpp.x86_64 0:2.7.2-4.1.el6 will be installed
--> Processing Dependency: libmcpp.so.0()(64bit) for package: mcpp-2.7.2-4.1.el6.x86_64
--> Running transaction check
---> Package libmcpp.x86_64 0:2.7.2-4.1.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
==================================================================
Package Arch Version Repository Size
==================================================================
Installing:
xorg-x11-server-utils x86_64 7.7-14.el6 public_ol6_latest 156 k
Installing for dependencies:
libmcpp x86_64 2.7.2-4.1.el6 public_ol6_latest 68 k
mcpp x86_64 2.7.2-4.1.el6 public_ol6_latest 23 k
Transaction Summary
====================================================================
Install 3 Package(s)
Total download size: 246 k
Installed size: 548 k
Downloading Packages:
------------------------------------------------------------------------------------------------------------------------------------
Total 11 MB/s | 246 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : libmcpp-2.7.2-4.1.el6.x86_64 1/3
Installing : mcpp-2.7.2-4.1.el6.x86_64 2/3
Installing : xorg-x11-server-utils-7.7-14.el6.x86_64 3/3
Verifying : xorg-x11-server-utils-7.7-14.el6.x86_64 1/3
Verifying : libmcpp-2.7.2-4.1.el6.x86_64 2/3
Verifying : mcpp-2.7.2-4.1.el6.x86_64 3/3
Installed:
xorg-x11-server-utils.x86_64 0:7.7-14.el6
Dependency Installed:
libmcpp.x86_64 0:2.7.2-4.1.el6 mcpp.x86_64 0:2.7.2-4.1.el6
Complete!
4. 安裝完xorg-x11-server-utils-7.7-14.el6.x86_64包后,產(chǎn)生了xhost +
[oracle@11GR2-test ~]$ xhost +
access control disabled, clients can connect from any host
當(dāng)前題目:xhost+commandnotfound-創(chuàng)新互聯(lián)
標(biāo)題路徑:http://m.rwnh.cn/article18/cciogp.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供網(wǎng)站改版、營(yíng)銷型網(wǎng)站建設(shè)、域名注冊(cè)、網(wǎng)站設(shè)計(jì)公司、自適應(yīng)網(wǎng)站、電子商務(wù)
廣告
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來(lái)源:
創(chuàng)新互聯(lián)