No se ha podido ejecutar la comprobación automática de colores de visualización con el comando /usr/bin/xdpyinfo.

Categorías:

Al intentar instalar Oracle Database de forma remota en Linux usando la orden ssh con el parámetro -CX , se genera el siguiente mensaje de error.

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
[oracle@oracle database]$ ./runInstaller
Iniciando Oracle Universal Installer...
Comprobando el espacio temporal: debe ser mayor que 500 MB. Real 5995 MB Correcto
Comprobando el espacio de intercambio: debe ser mayor que 150 MB. Real 1023 MB Correcto
Comprobando el monitor: debe estar configurado para mostrar al menos 256 colores
>>> No se ha podido ejecutar la comprobación automática de colores de visualización con el comando /usr/bin/xdpyinfo. Compruebe si está definida la variable DISPLAY. Fallo <<<<
Fallo de algunas comprobaciones de requisitos. Debe cumplir estos requisitos antes de
continuar con la instalación,
¿Desea continuar? (s/n) [n]
Seleccionado por el Usuario: No
Saliendo de Oracle Universal Installer, no se ha encontrado el log de esta sesión en /tmp/OraInstall2018-11-07_04-29-30PM/installActions2018-11-07_04-29-30PM.log
[oracle@oracle database]$
[oracle@oracle database]$ ./runInstaller Iniciando Oracle Universal Installer... Comprobando el espacio temporal: debe ser mayor que 500 MB. Real 5995 MB Correcto Comprobando el espacio de intercambio: debe ser mayor que 150 MB. Real 1023 MB Correcto Comprobando el monitor: debe estar configurado para mostrar al menos 256 colores >>> No se ha podido ejecutar la comprobación automática de colores de visualización con el comando /usr/bin/xdpyinfo. Compruebe si está definida la variable DISPLAY. Fallo <<<< Fallo de algunas comprobaciones de requisitos. Debe cumplir estos requisitos antes de continuar con la instalación, ¿Desea continuar? (s/n) [n] Seleccionado por el Usuario: No Saliendo de Oracle Universal Installer, no se ha encontrado el log de esta sesión en /tmp/OraInstall2018-11-07_04-29-30PM/installActions2018-11-07_04-29-30PM.log [oracle@oracle database]$
[oracle@oracle database]$ ./runInstaller 
Iniciando Oracle Universal Installer...

Comprobando el espacio temporal: debe ser mayor que 500 MB.   Real 5995 MB    Correcto
Comprobando el espacio de intercambio: debe ser mayor que 150 MB.   Real 1023 MB    Correcto
Comprobando el monitor: debe estar configurado para mostrar al menos 256 colores
    >>> No se ha podido ejecutar la comprobación automática de colores de visualización con el comando /usr/bin/xdpyinfo. Compruebe si está definida la variable DISPLAY.    Fallo <<<<

Fallo de algunas comprobaciones de requisitos. Debe cumplir estos requisitos antes de

continuar con la instalación,

¿Desea continuar? (s/n) [n]    

Seleccionado por el Usuario: No

Saliendo de Oracle Universal Installer, no se ha encontrado el log de esta sesión en /tmp/OraInstall2018-11-07_04-29-30PM/installActions2018-11-07_04-29-30PM.log
[oracle@oracle database]$

Para descartar que sea problemas de permiso, ejecuté un aplicativo X , por ejemplo xterm.

El sistema me trae la pantalla sin problema

Lo cual indica entonces que el lío es algún paquete, y efectivamente, así fue.

Me faltaba instalar  xorg-x11-utils y xauth, procedo con la instalación de los paquetes…. y una vez termina, vuelvo a ejecutar el proceso de instalación del motor de base de datos.

 

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
[root@oracle ~]# yum install xorg-x11-util*
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: centos.brisanet.com.br
* extras: centos.ufes.br
* updates: mirror.edatel.net.co
Resolving Dependencies
--> Running transaction check
---> Package xorg-x11-util-macros.noarch 0:1.19.0-3.el7 will be installed
---> Package xorg-x11-utils.x86_64 0:7.5-22.el7 will be installed
--> Processing Dependency: libdmx.so.1()(64bit) for package: xorg-x11-utils-7.5-22.el7.x86_64
--> Processing Dependency: libXxf86dga.so.1()(64bit) for package: xorg-x11-utils-7.5-22.el7.x86_64
--> Running transaction check
---> Package libXxf86dga.x86_64 0:1.1.4-2.1.el7 will be installed
---> Package libdmx.x86_64 0:1.1.3-3.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=================================================================================================================
Package Arch Version Repository Size
=================================================================================================================
Installing:
xorg-x11-util-macros noarch 1.19.0-3.el7 base 51 k
xorg-x11-utils x86_64 7.5-22.el7 base 114 k
Installing for dependencies:
libXxf86dga x86_64 1.1.4-2.1.el7 base 19 k
libdmx x86_64 1.1.3-3.el7 base 16 k
Transaction Summary
=================================================================================================================
Install 2 Packages (+2 Dependent packages)
Total download size: 200 k
Installed size: 478 k
Is this ok [y/d/N]: y
Downloading packages:
(1/4): libdmx-1.1.3-3.el7.x86_64.rpm | 16 kB 00:00:00
(2/4): libXxf86dga-1.1.4-2.1.el7.x86_64.rpm | 19 kB 00:00:00
(3/4): xorg-x11-util-macros-1.19.0-3.el7.noarch.rpm | 51 kB 00:00:01
(4/4): xorg-x11-utils-7.5-22.el7.x86_64.rpm | 114 kB 00:00:01
-----------------------------------------------------------------------------------------------------------------
Total 147 kB/s | 200 kB 00:00:01
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : libdmx-1.1.3-3.el7.x86_64 1/4
Installing : libXxf86dga-1.1.4-2.1.el7.x86_64 2/4
Installing : xorg-x11-utils-7.5-22.el7.x86_64 3/4
Installing : xorg-x11-util-macros-1.19.0-3.el7.noarch 4/4
Verifying : libXxf86dga-1.1.4-2.1.el7.x86_64 1/4
Verifying : libdmx-1.1.3-3.el7.x86_64 2/4
Verifying : xorg-x11-util-macros-1.19.0-3.el7.noarch 3/4
Verifying : xorg-x11-utils-7.5-22.el7.x86_64 4/4
Installed:
xorg-x11-util-macros.noarch 0:1.19.0-3.el7 xorg-x11-utils.x86_64 0:7.5-22.el7
Dependency Installed:
libXxf86dga.x86_64 0:1.1.4-2.1.el7 libdmx.x86_64 0:1.1.3-3.el7
Complete!
[root@oracle ~]# logout
[oracle@oracle database]$ ./runInstaller
Iniciando Oracle Universal Installer...
Comprobando el espacio temporal: debe ser mayor que 500 MB. Real 5993 MB Correcto
Comprobando el espacio de intercambio: debe ser mayor que 150 MB. Real 1023 MB Correcto
Comprobando el monitor: debe estar configurado para mostrar al menos 256 colores. Real 16777216 Correcto
Preparando para iniciar Oracle Universal Installer desde /tmp/OraInstall2018-11-07_04-30-49PM. Espere...[oracle@oracle database]$
[root@oracle ~]# yum install xorg-x11-util* Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile * base: centos.brisanet.com.br * extras: centos.ufes.br * updates: mirror.edatel.net.co Resolving Dependencies --> Running transaction check ---> Package xorg-x11-util-macros.noarch 0:1.19.0-3.el7 will be installed ---> Package xorg-x11-utils.x86_64 0:7.5-22.el7 will be installed --> Processing Dependency: libdmx.so.1()(64bit) for package: xorg-x11-utils-7.5-22.el7.x86_64 --> Processing Dependency: libXxf86dga.so.1()(64bit) for package: xorg-x11-utils-7.5-22.el7.x86_64 --> Running transaction check ---> Package libXxf86dga.x86_64 0:1.1.4-2.1.el7 will be installed ---> Package libdmx.x86_64 0:1.1.3-3.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================================================= Package Arch Version Repository Size ================================================================================================================= Installing: xorg-x11-util-macros noarch 1.19.0-3.el7 base 51 k xorg-x11-utils x86_64 7.5-22.el7 base 114 k Installing for dependencies: libXxf86dga x86_64 1.1.4-2.1.el7 base 19 k libdmx x86_64 1.1.3-3.el7 base 16 k Transaction Summary ================================================================================================================= Install 2 Packages (+2 Dependent packages) Total download size: 200 k Installed size: 478 k Is this ok [y/d/N]: y Downloading packages: (1/4): libdmx-1.1.3-3.el7.x86_64.rpm | 16 kB 00:00:00 (2/4): libXxf86dga-1.1.4-2.1.el7.x86_64.rpm | 19 kB 00:00:00 (3/4): xorg-x11-util-macros-1.19.0-3.el7.noarch.rpm | 51 kB 00:00:01 (4/4): xorg-x11-utils-7.5-22.el7.x86_64.rpm | 114 kB 00:00:01 ----------------------------------------------------------------------------------------------------------------- Total 147 kB/s | 200 kB 00:00:01 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : libdmx-1.1.3-3.el7.x86_64 1/4 Installing : libXxf86dga-1.1.4-2.1.el7.x86_64 2/4 Installing : xorg-x11-utils-7.5-22.el7.x86_64 3/4 Installing : xorg-x11-util-macros-1.19.0-3.el7.noarch 4/4 Verifying : libXxf86dga-1.1.4-2.1.el7.x86_64 1/4 Verifying : libdmx-1.1.3-3.el7.x86_64 2/4 Verifying : xorg-x11-util-macros-1.19.0-3.el7.noarch 3/4 Verifying : xorg-x11-utils-7.5-22.el7.x86_64 4/4 Installed: xorg-x11-util-macros.noarch 0:1.19.0-3.el7 xorg-x11-utils.x86_64 0:7.5-22.el7 Dependency Installed: libXxf86dga.x86_64 0:1.1.4-2.1.el7 libdmx.x86_64 0:1.1.3-3.el7 Complete! [root@oracle ~]# logout [oracle@oracle database]$ ./runInstaller Iniciando Oracle Universal Installer... Comprobando el espacio temporal: debe ser mayor que 500 MB. Real 5993 MB Correcto Comprobando el espacio de intercambio: debe ser mayor que 150 MB. Real 1023 MB Correcto Comprobando el monitor: debe estar configurado para mostrar al menos 256 colores. Real 16777216 Correcto Preparando para iniciar Oracle Universal Installer desde /tmp/OraInstall2018-11-07_04-30-49PM. Espere...[oracle@oracle database]$
[root@oracle ~]# yum install xorg-x11-util*
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: centos.brisanet.com.br
 * extras: centos.ufes.br
 * updates: mirror.edatel.net.co
Resolving Dependencies
--> Running transaction check
---> Package xorg-x11-util-macros.noarch 0:1.19.0-3.el7 will be installed
---> Package xorg-x11-utils.x86_64 0:7.5-22.el7 will be installed
--> Processing Dependency: libdmx.so.1()(64bit) for package: xorg-x11-utils-7.5-22.el7.x86_64
--> Processing Dependency: libXxf86dga.so.1()(64bit) for package: xorg-x11-utils-7.5-22.el7.x86_64
--> Running transaction check
---> Package libXxf86dga.x86_64 0:1.1.4-2.1.el7 will be installed
---> Package libdmx.x86_64 0:1.1.3-3.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=================================================================================================================
 Package                   Arch             Version                Repository                    Size
=================================================================================================================
Installing:
 xorg-x11-util-macros      noarch           1.19.0-3.el7           base                          51 k
 xorg-x11-utils            x86_64           7.5-22.el7             base                         114 k
Installing for dependencies:
 libXxf86dga               x86_64           1.1.4-2.1.el7          base                          19 k
 libdmx                    x86_64           1.1.3-3.el7            base                          16 k

Transaction Summary
=================================================================================================================
Install  2 Packages (+2 Dependent packages)

Total download size: 200 k
Installed size: 478 k
Is this ok [y/d/N]: y
Downloading packages:
(1/4): libdmx-1.1.3-3.el7.x86_64.rpm                                             |  16 kB  00:00:00     
(2/4): libXxf86dga-1.1.4-2.1.el7.x86_64.rpm                                      |  19 kB  00:00:00     
(3/4): xorg-x11-util-macros-1.19.0-3.el7.noarch.rpm                              |  51 kB  00:00:01     
(4/4): xorg-x11-utils-7.5-22.el7.x86_64.rpm                                      | 114 kB  00:00:01     
-----------------------------------------------------------------------------------------------------------------
Total                                                                                                                 147 kB/s | 200 kB  00:00:01     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : libdmx-1.1.3-3.el7.x86_64                                              1/4 
  Installing : libXxf86dga-1.1.4-2.1.el7.x86_64                                       2/4 
  Installing : xorg-x11-utils-7.5-22.el7.x86_64                                       3/4 
  Installing : xorg-x11-util-macros-1.19.0-3.el7.noarch                               4/4 
  Verifying  : libXxf86dga-1.1.4-2.1.el7.x86_64                                       1/4 
  Verifying  : libdmx-1.1.3-3.el7.x86_64                                              2/4 
  Verifying  : xorg-x11-util-macros-1.19.0-3.el7.noarch                               3/4 
  Verifying  : xorg-x11-utils-7.5-22.el7.x86_64                                       4/4 

Installed:
  xorg-x11-util-macros.noarch 0:1.19.0-3.el7                                    xorg-x11-utils.x86_64 0:7.5-22.el7                                   

Dependency Installed:
  libXxf86dga.x86_64 0:1.1.4-2.1.el7                                            libdmx.x86_64 0:1.1.3-3.el7                                           

Complete!
[root@oracle ~]# logout
[oracle@oracle database]$ ./runInstaller 
Iniciando Oracle Universal Installer...

Comprobando el espacio temporal: debe ser mayor que 500 MB.   Real 5993 MB    Correcto
Comprobando el espacio de intercambio: debe ser mayor que 150 MB.   Real 1023 MB    Correcto
Comprobando el monitor: debe estar configurado para mostrar al menos 256 colores.    Real 16777216    Correcto
Preparando para iniciar Oracle Universal Installer desde /tmp/OraInstall2018-11-07_04-30-49PM. Espere...[oracle@oracle database]$ 

Instalación de xauth

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
[root@srvwmsdb Packages]# yum localinstall xorg-x11-xauth-1.0.9-1.el7.x86_64.rpm
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
Examining xorg-x11-xauth-1.0.9-1.el7.x86_64.rpm: 1:xorg-x11-xauth-1.0.9-1.el7.x86_64
Marking xorg-x11-xauth-1.0.9-1.el7.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package xorg-x11-xauth.x86_64 1:1.0.9-1.el7 will be installed
--> Processing Dependency: libXmuu.so.1()(64bit) for package: 1:xorg-x11-xauth-1.0.9-1.el7.x86_64
--> Running transaction check
---> Package libXmu.x86_64 0:1.1.2-2.el7 will be installed
--> Processing Dependency: libXt.so.6()(64bit) for package: libXmu-1.1.2-2.el7.x86_64
--> Running transaction check
---> Package libXt.x86_64 0:1.1.5-3.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=================================================================================================================
Package Arch Version Repository Size
=================================================================================================================
Installing:
xorg-x11-xauth x86_64 1:1.0.9-1.el7 /xorg-x11-xauth-1.0.9-1.el7.x86_64 48 k
Installing for dependencies:
libXmu x86_64 1.1.2-2.el7 centos 71 k
libXt x86_64 1.1.5-3.el7 centos 173 k
Transaction Summary
=================================================================================================================
Install 1 Package (+2 Dependent packages)
Total size: 292 k
Total download size: 244 k
Installed size: 636 k
Is this ok [y/d/N]: y
Downloading packages:
(1/2): libXmu-1.1.2-2.el7.x86_64.rpm | 71 kB 00:00:01
(2/2): libXt-1.1.5-3.el7.x86_64.rpm | 173 kB 00:00:01
----------------------------------------------------------------------------------------------------------------
Total 152 kB/s | 244 kB 00:00:01
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : libXt-1.1.5-3.el7.x86_64 1/3
Installing : libXmu-1.1.2-2.el7.x86_64 2/3
Installing : 1:xorg-x11-xauth-1.0.9-1.el7.x86_64 3/3
Verifying : libXmu-1.1.2-2.el7.x86_64 1/3
Verifying : 1:xorg-x11-xauth-1.0.9-1.el7.x86_64 2/3
Verifying : libXt-1.1.5-3.el7.x86_64 3/3
Installed:
xorg-x11-xauth.x86_64 1:1.0.9-1.el7
Dependency Installed:
libXmu.x86_64 0:1.1.2-2.el7 libXt.x86_64 0:1.1.5-3.el7
Complete!
[root@srvwmsdb Packages]# yum localinstall xorg-x11-xauth-1.0.9-1.el7.x86_64.rpm Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager This system is not registered with an entitlement server. You can use subscription-manager to register. Examining xorg-x11-xauth-1.0.9-1.el7.x86_64.rpm: 1:xorg-x11-xauth-1.0.9-1.el7.x86_64 Marking xorg-x11-xauth-1.0.9-1.el7.x86_64.rpm to be installed Resolving Dependencies --> Running transaction check ---> Package xorg-x11-xauth.x86_64 1:1.0.9-1.el7 will be installed --> Processing Dependency: libXmuu.so.1()(64bit) for package: 1:xorg-x11-xauth-1.0.9-1.el7.x86_64 --> Running transaction check ---> Package libXmu.x86_64 0:1.1.2-2.el7 will be installed --> Processing Dependency: libXt.so.6()(64bit) for package: libXmu-1.1.2-2.el7.x86_64 --> Running transaction check ---> Package libXt.x86_64 0:1.1.5-3.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================================================= Package Arch Version Repository Size ================================================================================================================= Installing: xorg-x11-xauth x86_64 1:1.0.9-1.el7 /xorg-x11-xauth-1.0.9-1.el7.x86_64 48 k Installing for dependencies: libXmu x86_64 1.1.2-2.el7 centos 71 k libXt x86_64 1.1.5-3.el7 centos 173 k Transaction Summary ================================================================================================================= Install 1 Package (+2 Dependent packages) Total size: 292 k Total download size: 244 k Installed size: 636 k Is this ok [y/d/N]: y Downloading packages: (1/2): libXmu-1.1.2-2.el7.x86_64.rpm | 71 kB 00:00:01 (2/2): libXt-1.1.5-3.el7.x86_64.rpm | 173 kB 00:00:01 ---------------------------------------------------------------------------------------------------------------- Total 152 kB/s | 244 kB 00:00:01 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : libXt-1.1.5-3.el7.x86_64 1/3 Installing : libXmu-1.1.2-2.el7.x86_64 2/3 Installing : 1:xorg-x11-xauth-1.0.9-1.el7.x86_64 3/3 Verifying : libXmu-1.1.2-2.el7.x86_64 1/3 Verifying : 1:xorg-x11-xauth-1.0.9-1.el7.x86_64 2/3 Verifying : libXt-1.1.5-3.el7.x86_64 3/3 Installed: xorg-x11-xauth.x86_64 1:1.0.9-1.el7 Dependency Installed: libXmu.x86_64 0:1.1.2-2.el7 libXt.x86_64 0:1.1.5-3.el7 Complete!
[root@srvwmsdb Packages]# yum localinstall xorg-x11-xauth-1.0.9-1.el7.x86_64.rpm 
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
Examining xorg-x11-xauth-1.0.9-1.el7.x86_64.rpm: 1:xorg-x11-xauth-1.0.9-1.el7.x86_64
Marking xorg-x11-xauth-1.0.9-1.el7.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package xorg-x11-xauth.x86_64 1:1.0.9-1.el7 will be installed
--> Processing Dependency: libXmuu.so.1()(64bit) for package: 1:xorg-x11-xauth-1.0.9-1.el7.x86_64
--> Running transaction check
---> Package libXmu.x86_64 0:1.1.2-2.el7 will be installed
--> Processing Dependency: libXt.so.6()(64bit) for package: libXmu-1.1.2-2.el7.x86_64
--> Running transaction check
---> Package libXt.x86_64 0:1.1.5-3.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=================================================================================================================
 Package             Arch               Version             Repository                          Size
=================================================================================================================
Installing:
 xorg-x11-xauth      x86_64             1:1.0.9-1.el7       /xorg-x11-xauth-1.0.9-1.el7.x86_64  48 k
Installing for dependencies:
 libXmu              x86_64             1.1.2-2.el7         centos                              71 k
 libXt               x86_64             1.1.5-3.el7         centos                              173 k

Transaction Summary
=================================================================================================================
Install  1 Package (+2 Dependent packages)

Total size: 292 k
Total download size: 244 k
Installed size: 636 k
Is this ok [y/d/N]: y
Downloading packages:
(1/2): libXmu-1.1.2-2.el7.x86_64.rpm                                          |  71 kB  00:00:01     
(2/2): libXt-1.1.5-3.el7.x86_64.rpm                                           | 173 kB  00:00:01     
----------------------------------------------------------------------------------------------------------------
Total                                                                           152 kB/s | 244 kB  00:00:01     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : libXt-1.1.5-3.el7.x86_64                                                     1/3 
  Installing : libXmu-1.1.2-2.el7.x86_64                                                    2/3 
  Installing : 1:xorg-x11-xauth-1.0.9-1.el7.x86_64                                          3/3 
  Verifying  : libXmu-1.1.2-2.el7.x86_64                                                    1/3 
  Verifying  : 1:xorg-x11-xauth-1.0.9-1.el7.x86_64                                          2/3 
  Verifying  : libXt-1.1.5-3.el7.x86_64                                                     3/3 

Installed:
  xorg-x11-xauth.x86_64 1:1.0.9-1.el7                                                                                                                                   

Dependency Installed:
  libXmu.x86_64 0:1.1.2-2.el7                                                         libXt.x86_64 0:1.1.5-3.el7                                                        

Complete!

Completada la instalación de estos paquetes, revisamos que en /etc/sshd/sshd_config estén activados estos parámetros con los siguientes valores

X11Forwarding yes
X11UseLocalhost no

De no ser así es necesario configurarlos y reiniciar el servicio sshd.

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
[root@srvwmsdb ~]# systemctl restart sshd
[root@srvwmsdb ~]# systemctl restart sshd
[root@srvwmsdb ~]# systemctl restart sshd

Con esto ya deberíamos poder trabajar usando herramientas gráficas.

 

Y como se puede apreciar, podemos iniciar la instalación en ambiente gráfico.

 

Y eso es todo….

Sin respuestas

Deja un comentario