linux图形化报错

19 篇文章 0 订阅

windows远程图形化连接linux。

发现xclock能调用出来小闹钟

就是不能调用图形化工具。报错入下:

Checking monitor: must be configured to display at least 256 colors
    >>> Could not execute auto check for display colors using command /usr/bin/xdpyinfo. Check

整个处理过程如下:

 

能显示小闹钟,不能图形化
[grid@11grac1 grid]$ xclock 
^C
[grid@11grac1 grid]$ ./runInstaller 
Starting Oracle Universal Installer...

Checking Temp space: must be greater than 120 MB.   Actual 14568 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 2511 MB    Passed
Checking monitor: must be configured to display at least 256 colors
    >>> Could not execute auto check for display colors using command /usr/bin/xdpyinfo. Check
 if the DISPLAY variable is set.    Failed <<<<
Some requirement checks failed. You must fulfill these requirements before

continuing with the installation,

Continue? (y/n) [n] n

User Selected: No

Exiting Oracle Universal Installer, log for this session can be found at /tmp/OraInstall2020-0
3-07_06-13-43PM/installActions2020-03-07_06-13-43PM.log[grid@11grac1 grid]$ 
[grid@11grac1 grid]$ 
[root@11grac1 ~]# 
[root@11grac1 ~]# 
[root@11grac1 ~]# xdpusr/bin/xdpyinfo. Check
-bash: xdpusr/bin/xdpyinfo.: No such file or directory
[root@11grac1 ~]# yum install xdpyinfo
Loaded plugins: product-id, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-man
ager to register.Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package xorg-x11-utils.x86_64 0:7.5-6.el6 will be installed
--> Processing Dependency: libdmx.so.1()(64bit) for package: xorg-x11-utils-7.5-6.el6.x86_64
--> Processing Dependency: libXxf86dga.so.1()(64bit) for package: xorg-x11-utils-7.5-6.el6.x86
_64--> Running transaction check
---> Package libXxf86dga.x86_64 0:1.1.3-2.el6 will be installed
---> Package libdmx.x86_64 0:1.1.2-2.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================
 Package                    Arch               Version                 Repository        Size
==============================================================================================
Installing:
 xorg-x11-utils             x86_64             7.5-6.el6               base              94 k
Installing for dependencies:
 libXxf86dga                x86_64             1.1.3-2.el6             base              25 k
 libdmx                     x86_64             1.1.2-2.el6             base              21 k

Transaction Summary
==============================================================================================
Install       3 Package(s)

Total download size: 140 k
Installed size: 295 k
Is this ok [y/N]: y
Downloading Packages:
----------------------------------------------------------------------------------------------
Total                                                         6.3 MB/s | 140 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : libXxf86dga-1.1.3-2.el6.x86_64                                             1/3 
  Installing : libdmx-1.1.2-2.el6.x86_64                                                  2/3 
  Installing : xorg-x11-utils-7.5-6.el6.x86_64                                            3/3 
  Verifying  : libdmx-1.1.2-2.el6.x86_64                                                  1/3 
  Verifying  : libXxf86dga-1.1.3-2.el6.x86_64                                             2/3 
  Verifying  : xorg-x11-utils-7.5-6.el6.x86_64                                            3/3 

Installed:
  xorg-x11-utils.x86_64 0:7.5-6.el6                                                           

Dependency Installed:
  libXxf86dga.x86_64 0:1.1.3-2.el6                 libdmx.x86_64 0:1.1.2-2.el6                

Complete!

成功调用
[root@11grac1 ~]# su - grid
[grid@11grac1 grid]$ ./runInstaller 
Starting Oracle Universal Installer...
 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值