OCI X11 MobaXterm

A dica de hoje é de como usar o X11 em ambientes linux na OCI para instalação do Oracle database ou qualquer utilitário que necessite de interface gráfica usando o MobaXterm.

1 – Instalar pacotes necessários para usar o X11 para instalação do Oracle database:

[opc@instance-20220624-1723 ~]$ sudo -i
[root@instance-20220624-1723 ~]# yum install  xorg-x11-server-Xorg xorg-x11-xauth xorg-x11-apps -y
Loaded plugins: langpacks, ulninfo
ol7_MySQL80                                                                                                                                                                                                      | 3.0 kB  00:00:00
ol7_MySQL80_connectors_community                                                                                                                                                                                 | 2.9 kB  00:00:00
ol7_MySQL80_tools_community                                                                                                                                                                                      | 2.9 kB  00:00:00
ol7_UEKR6                                                                                                                                                                                                        | 3.0 kB  00:00:00
ol7_addons                                                                                                                                                                                                       | 3.0 kB  00:00:00
ol7_ksplice                                                                                                                                                                                                      | 3.0 kB  00:00:00
ol7_latest                                                                                                                                                                                                       | 3.6 kB  00:00:00
ol7_oci_included                                                                                                                                                                                                 | 2.9 kB  00:00:00
ol7_optional_latest                                                                                                                                                                                              | 3.0 kB  00:00:00
ol7_software_collections                                                                                                                                                                                         | 3.0 kB  00:00:00
(1/20): ol7_MySQL80/x86_64/primary_db                                                                                                                                                                            | 204 kB  00:00:01
(2/20): ol7_MySQL80_tools_community/x86_64/primary_db                                                                                                                                                            |  16 kB  00:00:00
(3/20): ol7_MySQL80_connectors_community/x86_64/updateinfo                                                                                                                                                       |   71 B  00:00:01
(4/20): ol7_UEKR6/x86_64/updateinfo                                                                                                                                                                              | 535 kB  00:00:00
(5/20): ol7_addons/x86_64/updateinfo                                                                                                                                                                             | 146 kB  00:00:00
(6/20): ol7_addons/x86_64/primary_db                                                                                                                                                                             | 237 kB  00:00:00
(7/20): ol7_MySQL80/x86_64/updateinfo                                                                                                                                                                            |   71 B  00:00:01
(8/20): ol7_ksplice/updateinfo                                                                                                                                                                                   | 8.1 kB  00:00:00
(9/20): ol7_latest/x86_64/group_gz                                                                                                                                                                               | 136 kB  00:00:00
(10/20): ol7_ksplice/primary_db                                                                                                                                                                                  | 2.9 MB  00:00:00
(11/20): ol7_latest/x86_64/updateinfo                                                                                                                                                                            | 3.4 MB  00:00:00
(12/20): ol7_MySQL80_tools_community/x86_64/updateinfo                                                                                                                                                           |   71 B  00:00:01
(13/20): ol7_oci_included/x86_64/primary_db                                                                                                                                                                      | 1.1 MB  00:00:00
(14/20): ol7_MySQL80_connectors_community/x86_64/primary_db                                                                                                                                                      |  35 kB  00:00:01
(15/20): ol7_software_collections/x86_64/updateinfo                                                                                                                                                              | 8.9 kB  00:00:00
(16/20): ol7_optional_latest/x86_64/updateinfo                                                                                                                                                                   | 1.4 MB  00:00:00
(17/20): ol7_software_collections/x86_64/primary_db                                                                                                                                                              | 5.9 MB  00:00:00
(18/20): ol7_optional_latest/x86_64/primary_db                                                                                                                                                                   | 5.7 MB  00:00:00
(19/20): ol7_UEKR6/x86_64/primary_db                                                                                                                                                                             |  41 MB  00:00:02
(20/20): ol7_latest/x86_64/primary_db                                                                                                                                                                            |  40 MB  00:00:02
Resolving Dependencies
--> Running transaction check
---> Package xorg-x11-apps.x86_64 0:7.7-7.el7 will be installed
--> Processing Dependency: libSM.so.6()(64bit) for package: xorg-x11-apps-7.7-7.el7.x86_64
--> Processing Dependency: libX11.so.6()(64bit) for package: xorg-x11-apps-7.7-7.el7.x86_64
--> Processing Dependency: libXaw.so.7()(64bit) for package: xorg-x11-apps-7.7-7.el7.x86_64
--> Processing Dependency: libXcursor.so.1()(64bit) for package: xorg-x11-apps-7.7-7.el7.x86_64
--> Processing Dependency: libXext.so.6()(64bit) for package: xorg-x11-apps-7.7-7.el7.x86_64
--> Processing Dependency: libXft.so.2()(64bit) for package: xorg-x11-apps-7.7-7.el7.x86_64
--> Processing Dependency: libXmu.so.6()(64bit) for package: xorg-x11-apps-7.7-7.el7.x86_64
--> Processing Dependency: libXmuu.so.1()(64bit) for package: xorg-x11-apps-7.7-7.el7.x86_64
--> Processing Dependency: libXrender.so.1()(64bit) for package: xorg-x11-apps-7.7-7.el7.x86_64
--> Processing Dependency: libXt.so.6()(64bit) for package: xorg-x11-apps-7.7-7.el7.x86_64
--> Processing Dependency: libXxf86vm.so.1()(64bit) for package: xorg-x11-apps-7.7-7.el7.x86_64
--> Processing Dependency: libfontconfig.so.1()(64bit) for package: xorg-x11-apps-7.7-7.el7.x86_64
--> Processing Dependency: libfontenc.so.1()(64bit) for package: xorg-x11-apps-7.7-7.el7.x86_64
--> Processing Dependency: libxkbfile.so.1()(64bit) for package: xorg-x11-apps-7.7-7.el7.x86_64
---> Package xorg-x11-server-Xorg.x86_64 0:1.20.4-17.el7_9 will be installed
--> Processing Dependency: xorg-x11-server-common >= 1.20.4-17.el7_9 for package: xorg-x11-server-Xorg-1.20.4-17.el7_9.x86_64
--> Processing Dependency: libGL.so.1()(64bit) for package: xorg-x11-server-Xorg-1.20.4-17.el7_9.x86_64
--> Processing Dependency: libXau.so.6()(64bit) for package: xorg-x11-server-Xorg-1.20.4-17.el7_9.x86_64
--> Processing Dependency: libXdmcp.so.6()(64bit) for package: xorg-x11-server-Xorg-1.20.4-17.el7_9.x86_64
--> Processing Dependency: libXfont2.so.2()(64bit) for package: xorg-x11-server-Xorg-1.20.4-17.el7_9.x86_64
--> Processing Dependency: libdrm.so.2()(64bit) for package: xorg-x11-server-Xorg-1.20.4-17.el7_9.x86_64
--> Processing Dependency: libepoxy.so.0()(64bit) for package: xorg-x11-server-Xorg-1.20.4-17.el7_9.x86_64
--> Processing Dependency: libgbm.so.1()(64bit) for package: xorg-x11-server-Xorg-1.20.4-17.el7_9.x86_64
--> Processing Dependency: libpciaccess.so.0()(64bit) for package: xorg-x11-server-Xorg-1.20.4-17.el7_9.x86_64
--> Processing Dependency: libxshmfence.so.1()(64bit) for package: xorg-x11-server-Xorg-1.20.4-17.el7_9.x86_64
---> Package xorg-x11-xauth.x86_64 1:1.0.9-1.el7 will be installed
--> Running transaction check
---> Package fontconfig.x86_64 0:2.13.0-4.3.el7 will be installed
--> Processing Dependency: dejavu-sans-fonts for package: fontconfig-2.13.0-4.3.el7.x86_64
---> Package libSM.x86_64 0:1.2.2-2.el7 will be installed
--> Processing Dependency: libICE.so.6()(64bit) for package: libSM-1.2.2-2.el7.x86_64
---> Package libX11.x86_64 0:1.6.7-4.el7_9 will be installed
--> Processing Dependency: libX11-common >= 1.6.7-4.el7_9 for package: libX11-1.6.7-4.el7_9.x86_64
--> Processing Dependency: libxcb.so.1()(64bit) for package: libX11-1.6.7-4.el7_9.x86_64
---> Package libXau.x86_64 0:1.0.8-2.1.el7 will be installed
---> Package libXaw.x86_64 0:1.0.13-4.el7 will be installed
--> Processing Dependency: libXpm.so.4()(64bit) for package: libXaw-1.0.13-4.el7.x86_64
---> Package libXcursor.x86_64 0:1.1.15-1.el7 will be installed
--> Processing Dependency: libXfixes.so.3()(64bit) for package: libXcursor-1.1.15-1.el7.x86_64
---> Package libXdmcp.x86_64 0:1.1.2-6.el7 will be installed
---> Package libXext.x86_64 0:1.3.3-3.el7 will be installed
---> Package libXfont2.x86_64 0:2.0.3-1.el7 will be installed
---> Package libXft.x86_64 0:2.3.2-2.el7 will be installed
---> Package libXmu.x86_64 0:1.1.2-2.el7 will be installed
---> Package libXrender.x86_64 0:0.9.10-1.el7 will be installed
---> Package libXt.x86_64 0:1.1.5-3.el7 will be installed
---> Package libXxf86vm.x86_64 0:1.1.4-1.el7 will be installed
---> Package libdrm.x86_64 0:2.4.97-2.el7 will be installed
---> Package libepoxy.x86_64 0:1.5.2-1.el7 will be installed
---> Package libfontenc.x86_64 0:1.1.3-3.el7 will be installed
---> Package libglvnd-glx.x86_64 1:1.0.1-0.8.git5baa1e5.el7 will be installed
--> Processing Dependency: libglvnd(x86-64) = 1:1.0.1-0.8.git5baa1e5.el7 for package: 1:libglvnd-glx-1.0.1-0.8.git5baa1e5.el7.x86_64
--> Processing Dependency: mesa-libGL(x86-64) >= 13.0.4-1 for package: 1:libglvnd-glx-1.0.1-0.8.git5baa1e5.el7.x86_64
--> Processing Dependency: libGLdispatch.so.0()(64bit) for package: 1:libglvnd-glx-1.0.1-0.8.git5baa1e5.el7.x86_64
---> Package libpciaccess.x86_64 0:0.14-1.el7 will be installed
---> Package libxkbfile.x86_64 0:1.0.9-3.el7 will be installed
---> Package libxshmfence.x86_64 0:1.2-1.el7 will be installed
---> Package mesa-libgbm.x86_64 0:18.3.4-12.el7_9 will be installed
--> Processing Dependency: mesa-libglapi = 18.3.4-12.el7_9 for package: mesa-libgbm-18.3.4-12.el7_9.x86_64
--> Processing Dependency: libwayland-server.so.0()(64bit) for package: mesa-libgbm-18.3.4-12.el7_9.x86_64
---> Package xorg-x11-server-common.x86_64 0:1.20.4-17.el7_9 will be installed
--> Processing Dependency: xkbcomp for package: xorg-x11-server-common-1.20.4-17.el7_9.x86_64
--> Processing Dependency: xkeyboard-config for package: xorg-x11-server-common-1.20.4-17.el7_9.x86_64
--> Running transaction check
---> Package dejavu-sans-fonts.noarch 0:2.33-6.el7 will be installed
--> Processing Dependency: dejavu-fonts-common = 2.33-6.el7 for package: dejavu-sans-fonts-2.33-6.el7.noarch
---> Package libICE.x86_64 0:1.0.9-9.el7 will be installed
---> Package libX11-common.noarch 0:1.6.7-4.el7_9 will be installed
---> Package libXfixes.x86_64 0:5.0.3-1.el7 will be installed
---> Package libXpm.x86_64 0:3.5.12-1.el7 will be installed
---> Package libglvnd.x86_64 1:1.0.1-0.8.git5baa1e5.el7 will be installed
---> Package libwayland-server.x86_64 0:1.15.0-1.el7 will be installed
---> Package libxcb.x86_64 0:1.13-1.el7 will be installed
---> Package mesa-libGL.x86_64 0:18.3.4-12.el7_9 will be installed
--> Processing Dependency: libXdamage.so.1()(64bit) for package: mesa-libGL-18.3.4-12.el7_9.x86_64
---> Package mesa-libglapi.x86_64 0:18.3.4-12.el7_9 will be installed
---> Package xkeyboard-config.noarch 0:2.24-1.el7 will be installed
---> Package xorg-x11-xkb-utils.x86_64 0:7.7-14.el7 will be installed
--> Running transaction check
---> Package dejavu-fonts-common.noarch 0:2.33-6.el7 will be installed
---> Package libXdamage.x86_64 0:1.1.4-4.1.el7 will be installed
--> Finished Dependency Resolution
 
Dependencies Resolved
 
========================================================================================================================================================================================================================================
 Package                                                       Arch                                          Version                                                            Repository                                         Size
========================================================================================================================================================================================================================================
Installing:
 xorg-x11-apps                                                 x86_64                                        7.7-7.el7                                                          ol7_latest                                        307 k
 xorg-x11-server-Xorg                                          x86_64                                        1.20.4-17.el7_9                                                    ol7_latest                                        1.5 M
 xorg-x11-xauth                                                x86_64                                        1:1.0.9-1.el7                                                      ol7_latest                                         29 k
Installing for dependencies:
 dejavu-fonts-common                                           noarch                                        2.33-6.el7                                                         ol7_latest                                         64 k
 dejavu-sans-fonts                                             noarch                                        2.33-6.el7                                                         ol7_latest                                        1.4 M
 fontconfig                                                    x86_64                                        2.13.0-4.3.el7                                                     ol7_latest                                        254 k
 libICE                                                        x86_64                                        1.0.9-9.el7                                                        ol7_latest                                         66 k
 libSM                                                         x86_64                                        1.2.2-2.el7                                                        ol7_latest                                         39 k
 libX11                                                        x86_64                                        1.6.7-4.el7_9                                                      ol7_latest                                        607 k
 libX11-common                                                 noarch                                        1.6.7-4.el7_9                                                      ol7_latest                                        164 k
 libXau                                                        x86_64                                        1.0.8-2.1.el7                                                      ol7_latest                                         28 k
 libXaw                                                        x86_64                                        1.0.13-4.el7                                                       ol7_latest                                        191 k
 libXcursor                                                    x86_64                                        1.1.15-1.el7                                                       ol7_latest                                         30 k
 libXdamage                                                    x86_64                                        1.1.4-4.1.el7                                                      ol7_latest                                         20 k
 libXdmcp                                                      x86_64                                        1.1.2-6.el7                                                        ol7_latest                                         34 k
 libXext                                                       x86_64                                        1.3.3-3.el7                                                        ol7_latest                                         38 k
 libXfixes                                                     x86_64                                        5.0.3-1.el7                                                        ol7_latest                                         18 k
 libXfont2                                                     x86_64                                        2.0.3-1.el7                                                        ol7_latest                                        143 k
 libXft                                                        x86_64                                        2.3.2-2.el7                                                        ol7_latest                                         58 k
 libXmu                                                        x86_64                                        1.1.2-2.el7                                                        ol7_latest                                         70 k
 libXpm                                                        x86_64                                        3.5.12-1.el7                                                       ol7_latest                                         55 k
 libXrender                                                    x86_64                                        0.9.10-1.el7                                                       ol7_latest                                         25 k
 libXt                                                         x86_64                                        1.1.5-3.el7                                                        ol7_latest                                        172 k
 libXxf86vm                                                    x86_64                                        1.1.4-1.el7                                                        ol7_latest                                         17 k
 libdrm                                                        x86_64                                        2.4.97-2.el7                                                       ol7_latest                                        151 k
 libepoxy                                                      x86_64                                        1.5.2-1.el7                                                        ol7_latest                                        210 k
 libfontenc                                                    x86_64                                        1.1.3-3.el7                                                        ol7_latest                                         30 k
 libglvnd                                                      x86_64                                        1:1.0.1-0.8.git5baa1e5.el7                                         ol7_latest                                         89 k
 libglvnd-glx                                                  x86_64                                        1:1.0.1-0.8.git5baa1e5.el7                                         ol7_latest                                        124 k
 libpciaccess                                                  x86_64                                        0.14-1.el7                                                         ol7_latest                                         26 k
 libwayland-server                                             x86_64                                        1.15.0-1.el7                                                       ol7_latest                                         38 k
 libxcb                                                        x86_64                                        1.13-1.el7                                                         ol7_latest                                        213 k
 libxkbfile                                                    x86_64                                        1.0.9-3.el7                                                        ol7_latest                                         82 k
 libxshmfence                                                  x86_64                                        1.2-1.el7                                                          ol7_latest                                        6.5 k
 mesa-libGL                                                    x86_64                                        18.3.4-12.el7_9                                                    ol7_latest                                        165 k
 mesa-libgbm                                                   x86_64                                        18.3.4-12.el7_9                                                    ol7_latest                                         39 k
 mesa-libglapi                                                 x86_64                                        18.3.4-12.el7_9                                                    ol7_latest                                         45 k
 xkeyboard-config                                              noarch                                        2.24-1.el7                                                         ol7_latest                                        833 k
 xorg-x11-server-common                                        x86_64                                        1.20.4-17.el7_9                                                    ol7_latest                                         55 k
 xorg-x11-xkb-utils                                            x86_64                                        7.7-14.el7                                                         ol7_latest                                        102 k
 
Transaction Summary
========================================================================================================================================================================================================================================
Install  3 Packages (+37 Dependent packages)
 
Total download size: 7.4 M
Installed size: 26 M
Downloading packages:
(1/40): dejavu-sans-fonts-2.33-6.el7.noarch.rpm                                                                                                                                                                  | 1.4 MB  00:00:00
(2/40): fontconfig-2.13.0-4.3.el7.x86_64.rpm                                                                                                                                                                     | 254 kB  00:00:00
(3/40): dejavu-fonts-common-2.33-6.el7.noarch.rpm                                                                                                                                                                |  64 kB  00:00:00
(4/40): libICE-1.0.9-9.el7.x86_64.rpm                                                                                                                                                                            |  66 kB  00:00:00
(5/40): libSM-1.2.2-2.el7.x86_64.rpm                                                                                                                                                                             |  39 kB  00:00:00
(6/40): libX11-common-1.6.7-4.el7_9.noarch.rpm                                                                                                                                                                   | 164 kB  00:00:00
(7/40): libXau-1.0.8-2.1.el7.x86_64.rpm                                                                                                                                                                          |  28 kB  00:00:00
(8/40): libX11-1.6.7-4.el7_9.x86_64.rpm                                                                                                                                                                          | 607 kB  00:00:00
(9/40): libXcursor-1.1.15-1.el7.x86_64.rpm                                                                                                                                                                       |  30 kB  00:00:00
(10/40): libXaw-1.0.13-4.el7.x86_64.rpm                                                                                                                                                                          | 191 kB  00:00:00
(11/40): libXdmcp-1.1.2-6.el7.x86_64.rpm                                                                                                                                                                         |  34 kB  00:00:00
(12/40): libXext-1.3.3-3.el7.x86_64.rpm                                                                                                                                                                          |  38 kB  00:00:00
(13/40): libXfixes-5.0.3-1.el7.x86_64.rpm                                                                                                                                                                        |  18 kB  00:00:00
(14/40): libXfont2-2.0.3-1.el7.x86_64.rpm                                                                                                                                                                        | 143 kB  00:00:00
(15/40): libXft-2.3.2-2.el7.x86_64.rpm                                                                                                                                                                           |  58 kB  00:00:00
(16/40): libXdamage-1.1.4-4.1.el7.x86_64.rpm                                                                                                                                                                     |  20 kB  00:00:00
(17/40): libXpm-3.5.12-1.el7.x86_64.rpm                                                                                                                                                                          |  55 kB  00:00:00
(18/40): libXrender-0.9.10-1.el7.x86_64.rpm                                                                                                                                                                      |  25 kB  00:00:00
(19/40): libXt-1.1.5-3.el7.x86_64.rpm                                                                                                                                                                            | 172 kB  00:00:00
(20/40): libXmu-1.1.2-2.el7.x86_64.rpm                                                                                                                                                                           |  70 kB  00:00:00
(21/40): libdrm-2.4.97-2.el7.x86_64.rpm                                                                                                                                                                          | 151 kB  00:00:00
(22/40): libepoxy-1.5.2-1.el7.x86_64.rpm                                                                                                                                                                         | 210 kB  00:00:00
(23/40): libXxf86vm-1.1.4-1.el7.x86_64.rpm                                                                                                                                                                       |  17 kB  00:00:00
(24/40): libfontenc-1.1.3-3.el7.x86_64.rpm                                                                                                                                                                       |  30 kB  00:00:00
(25/40): libglvnd-1.0.1-0.8.git5baa1e5.el7.x86_64.rpm                                                                                                                                                            |  89 kB  00:00:00
(26/40): libpciaccess-0.14-1.el7.x86_64.rpm                                                                                                                                                                      |  26 kB  00:00:00
(27/40): libwayland-server-1.15.0-1.el7.x86_64.rpm                                                                                                                                                               |  38 kB  00:00:00
(28/40): libxcb-1.13-1.el7.x86_64.rpm                                                                                                                                                                            | 213 kB  00:00:00
(29/40): libglvnd-glx-1.0.1-0.8.git5baa1e5.el7.x86_64.rpm                                                                                                                                                        | 124 kB  00:00:00
(30/40): libxshmfence-1.2-1.el7.x86_64.rpm                                                                                                                                                                       | 6.5 kB  00:00:00
(31/40): mesa-libGL-18.3.4-12.el7_9.x86_64.rpm                                                                                                                                                                   | 165 kB  00:00:00
(32/40): mesa-libgbm-18.3.4-12.el7_9.x86_64.rpm                                                                                                                                                                  |  39 kB  00:00:00
(33/40): mesa-libglapi-18.3.4-12.el7_9.x86_64.rpm                                                                                                                                                                |  45 kB  00:00:00
(34/40): libxkbfile-1.0.9-3.el7.x86_64.rpm                                                                                                                                                                       |  82 kB  00:00:00
(35/40): xorg-x11-apps-7.7-7.el7.x86_64.rpm                                                                                                                                                                      | 307 kB  00:00:00
(36/40): xkeyboard-config-2.24-1.el7.noarch.rpm                                                                                                                                                                  | 833 kB  00:00:00
(37/40): xorg-x11-server-Xorg-1.20.4-17.el7_9.x86_64.rpm                                                                                                                                                         | 1.5 MB  00:00:00
(38/40): xorg-x11-xauth-1.0.9-1.el7.x86_64.rpm                                                                                                                                                                   |  29 kB  00:00:00
(39/40): xorg-x11-server-common-1.20.4-17.el7_9.x86_64.rpm                                                                                                                                                       |  55 kB  00:00:00
(40/40): xorg-x11-xkb-utils-7.7-14.el7.x86_64.rpm                                                                                                                                                                | 102 kB  00:00:00
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                                   4.0 MB/s | 7.4 MB  00:00:01
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : libXau-1.0.8-2.1.el7.x86_64                                                                                                                                                                                         1/40
  Installing : libxcb-1.13-1.el7.x86_64                                                                                                                                                                                            2/40
  Installing : libfontenc-1.1.3-3.el7.x86_64                                                                                                                                                                                       3/40
  Installing : libxshmfence-1.2-1.el7.x86_64                                                                                                                                                                                       4/40
  Installing : mesa-libglapi-18.3.4-12.el7_9.x86_64                                                                                                                                                                                5/40
  Installing : libICE-1.0.9-9.el7.x86_64                                                                                                                                                                                           6/40
  Installing : libSM-1.2.2-2.el7.x86_64                                                                                                                                                                                            7/40
  Installing : libpciaccess-0.14-1.el7.x86_64                                                                                                                                                                                      8/40
  Installing : libdrm-2.4.97-2.el7.x86_64                                                                                                                                                                                          9/40
  Installing : libXfont2-2.0.3-1.el7.x86_64                                                                                                                                                                                       10/40
  Installing : libX11-common-1.6.7-4.el7_9.noarch                                                                                                                                                                                 11/40
  Installing : libX11-1.6.7-4.el7_9.x86_64                                                                                                                                                                                        12/40
  Installing : libXext-1.3.3-3.el7.x86_64                                                                                                                                                                                         13/40
  Installing : libXrender-0.9.10-1.el7.x86_64                                                                                                                                                                                     14/40
  Installing : libXt-1.1.5-3.el7.x86_64                                                                                                                                                                                           15/40
  Installing : libXmu-1.1.2-2.el7.x86_64                                                                                                                                                                                          16/40
  Installing : libXfixes-5.0.3-1.el7.x86_64                                                                                                                                                                                       17/40
  Installing : libXxf86vm-1.1.4-1.el7.x86_64                                                                                                                                                                                      18/40
  Installing : libxkbfile-1.0.9-3.el7.x86_64                                                                                                                                                                                      19/40
  Installing : xorg-x11-xkb-utils-7.7-14.el7.x86_64                                                                                                                                                                               20/40
  Installing : libXcursor-1.1.15-1.el7.x86_64                                                                                                                                                                                     21/40
  Installing : libXdamage-1.1.4-4.1.el7.x86_64                                                                                                                                                                                    22/40
  Installing : libXpm-3.5.12-1.el7.x86_64                                                                                                                                                                                         23/40
  Installing : libXaw-1.0.13-4.el7.x86_64                                                                                                                                                                                         24/40
  Installing : libXdmcp-1.1.2-6.el7.x86_64                                                                                                                                                                                        25/40
  Installing : libepoxy-1.5.2-1.el7.x86_64                                                                                                                                                                                        26/40
  Installing : 1:libglvnd-1.0.1-0.8.git5baa1e5.el7.x86_64                                                                                                                                                                         27/40
  Installing : 1:libglvnd-glx-1.0.1-0.8.git5baa1e5.el7.x86_64                                                                                                                                                                     28/40
  Installing : mesa-libGL-18.3.4-12.el7_9.x86_64                                                                                                                                                                                  29/40
  Installing : dejavu-fonts-common-2.33-6.el7.noarch                                                                                                                                                                              30/40
  Installing : dejavu-sans-fonts-2.33-6.el7.noarch                                                                                                                                                                                31/40
  Installing : fontconfig-2.13.0-4.3.el7.x86_64                                                                                                                                                                                   32/40
  Installing : libXft-2.3.2-2.el7.x86_64                                                                                                                                                                                          33/40
  Installing : xkeyboard-config-2.24-1.el7.noarch                                                                                                                                                                                 34/40
  Installing : xorg-x11-server-common-1.20.4-17.el7_9.x86_64                                                                                                                                                                      35/40
  Installing : libwayland-server-1.15.0-1.el7.x86_64                                                                                                                                                                              36/40
  Installing : mesa-libgbm-18.3.4-12.el7_9.x86_64                                                                                                                                                                                 37/40
  Installing : xorg-x11-server-Xorg-1.20.4-17.el7_9.x86_64                                                                                                                                                                        38/40
  Installing : xorg-x11-apps-7.7-7.el7.x86_64                                                                                                                                                                                     39/40
  Installing : 1:xorg-x11-xauth-1.0.9-1.el7.x86_64                                                                                                                                                                                40/40
  Verifying  : libXext-1.3.3-3.el7.x86_64                                                                                                                                                                                          1/40
  Verifying  : libpciaccess-0.14-1.el7.x86_64                                                                                                                                                                                      2/40
  Verifying  : fontconfig-2.13.0-4.3.el7.x86_64                                                                                                                                                                                    3/40
  Verifying  : libXaw-1.0.13-4.el7.x86_64                                                                                                                                                                                          4/40
  Verifying  : libXrender-0.9.10-1.el7.x86_64                                                                                                                                                                                      5/40
  Verifying  : 1:libglvnd-glx-1.0.1-0.8.git5baa1e5.el7.x86_64                                                                                                                                                                      6/40
  Verifying  : libXxf86vm-1.1.4-1.el7.x86_64                                                                                                                                                                                       7/40
  Verifying  : libwayland-server-1.15.0-1.el7.x86_64                                                                                                                                                                               8/40
  Verifying  : libXcursor-1.1.15-1.el7.x86_64                                                                                                                                                                                      9/40
  Verifying  : libXt-1.1.5-3.el7.x86_64                                                                                                                                                                                           10/40
  Verifying  : xorg-x11-xkb-utils-7.7-14.el7.x86_64                                                                                                                                                                               11/40
  Verifying  : libICE-1.0.9-9.el7.x86_64                                                                                                                                                                                          12/40
  Verifying  : libxkbfile-1.0.9-3.el7.x86_64                                                                                                                                                                                      13/40
  Verifying  : xorg-x11-server-Xorg-1.20.4-17.el7_9.x86_64                                                                                                                                                                        14/40
  Verifying  : xkeyboard-config-2.24-1.el7.noarch                                                                                                                                                                                 15/40
  Verifying  : dejavu-fonts-common-2.33-6.el7.noarch                                                                                                                                                                              16/40
  Verifying  : xorg-x11-server-common-1.20.4-17.el7_9.x86_64                                                                                                                                                                      17/40
  Verifying  : 1:libglvnd-1.0.1-0.8.git5baa1e5.el7.x86_64                                                                                                                                                                         18/40
  Verifying  : libxcb-1.13-1.el7.x86_64                                                                                                                                                                                           19/40
  Verifying  : libXft-2.3.2-2.el7.x86_64                                                                                                                                                                                          20/40
  Verifying  : libdrm-2.4.97-2.el7.x86_64                                                                                                                                                                                         21/40
  Verifying  : mesa-libGL-18.3.4-12.el7_9.x86_64                                                                                                                                                                                  22/40
  Verifying  : libXpm-3.5.12-1.el7.x86_64                                                                                                                                                                                         23/40
  Verifying  : libepoxy-1.5.2-1.el7.x86_64                                                                                                                                                                                        24/40
  Verifying  : libXfont2-2.0.3-1.el7.x86_64                                                                                                                                                                                       25/40
  Verifying  : dejavu-sans-fonts-2.33-6.el7.noarch                                                                                                                                                                                26/40
  Verifying  : libXmu-1.1.2-2.el7.x86_64                                                                                                                                                                                          27/40
  Verifying  : mesa-libglapi-18.3.4-12.el7_9.x86_64                                                                                                                                                                               28/40
  Verifying  : 1:xorg-x11-xauth-1.0.9-1.el7.x86_64                                                                                                                                                                                29/40
  Verifying  : xorg-x11-apps-7.7-7.el7.x86_64                                                                                                                                                                                     30/40
  Verifying  : mesa-libgbm-18.3.4-12.el7_9.x86_64                                                                                                                                                                                 31/40
  Verifying  : libxshmfence-1.2-1.el7.x86_64                                                                                                                                                                                      32/40
  Verifying  : libXau-1.0.8-2.1.el7.x86_64                                                                                                                                                                                        33/40
  Verifying  : libSM-1.2.2-2.el7.x86_64                                                                                                                                                                                           34/40
  Verifying  : libX11-1.6.7-4.el7_9.x86_64                                                                                                                                                                                        35/40
  Verifying  : libXdmcp-1.1.2-6.el7.x86_64                                                                                                                                                                                        36/40
  Verifying  : libXdamage-1.1.4-4.1.el7.x86_64                                                                                                                                                                                    37/40
  Verifying  : libXfixes-5.0.3-1.el7.x86_64                                                                                                                                                                                       38/40
  Verifying  : libfontenc-1.1.3-3.el7.x86_64                                                                                                                                                                                      39/40
  Verifying  : libX11-common-1.6.7-4.el7_9.noarch                                                                                                                                                                                 40/40
 
Installed:
  xorg-x11-apps.x86_64 0:7.7-7.el7                                       xorg-x11-server-Xorg.x86_64 0:1.20.4-17.el7_9                                       xorg-x11-xauth.x86_64 1:1.0.9-1.el7
 
Dependency Installed:
  dejavu-fonts-common.noarch 0:2.33-6.el7             dejavu-sans-fonts.noarch 0:2.33-6.el7      fontconfig.x86_64 0:2.13.0-4.3.el7          libICE.x86_64 0:1.0.9-9.el7                libSM.x86_64 0:1.2.2-2.el7
  libX11.x86_64 0:1.6.7-4.el7_9                       libX11-common.noarch 0:1.6.7-4.el7_9       libXau.x86_64 0:1.0.8-2.1.el7               libXaw.x86_64 0:1.0.13-4.el7               libXcursor.x86_64 0:1.1.15-1.el7
  libXdamage.x86_64 0:1.1.4-4.1.el7                   libXdmcp.x86_64 0:1.1.2-6.el7              libXext.x86_64 0:1.3.3-3.el7                libXfixes.x86_64 0:5.0.3-1.el7             libXfont2.x86_64 0:2.0.3-1.el7
  libXft.x86_64 0:2.3.2-2.el7                         libXmu.x86_64 0:1.1.2-2.el7                libXpm.x86_64 0:3.5.12-1.el7                libXrender.x86_64 0:0.9.10-1.el7           libXt.x86_64 0:1.1.5-3.el7
  libXxf86vm.x86_64 0:1.1.4-1.el7                     libdrm.x86_64 0:2.4.97-2.el7               libepoxy.x86_64 0:1.5.2-1.el7               libfontenc.x86_64 0:1.1.3-3.el7            libglvnd.x86_64 1:1.0.1-0.8.git5baa1e5.el7
  libglvnd-glx.x86_64 1:1.0.1-0.8.git5baa1e5.el7      libpciaccess.x86_64 0:0.14-1.el7           libwayland-server.x86_64 0:1.15.0-1.el7     libxcb.x86_64 0:1.13-1.el7                 libxkbfile.x86_64 0:1.0.9-3.el7
  libxshmfence.x86_64 0:1.2-1.el7                     mesa-libGL.x86_64 0:18.3.4-12.el7_9        mesa-libgbm.x86_64 0:18.3.4-12.el7_9        mesa-libglapi.x86_64 0:18.3.4-12.el7_9     xkeyboard-config.noarch 0:2.24-1.el7
  xorg-x11-server-common.x86_64 0:1.20.4-17.el7_9     xorg-x11-xkb-utils.x86_64 0:7.7-14.el7
 
Complete!
[root@instance-20220624-1723 ~]#
ShellScript

2 – Reconectar no servidor:

[root@instance-20220624-1723 ~]# exit
logout
[opc@instance-20220624-1723 ~]$ exit
logout
ShellScript

3 – Copiar arquivo Xauthority do usuário opc para o usuário oracle:

[opc@instance-20220624-1723 ~]$ sudo -i
[root@instance-20220624-1723 ~]# cp /home/opc/.Xauthority /home/oracle/
[root@instance-20220624-1723 ~]# chown oracle:oinstall /home/oracle/.Xauthority
[root@instance-20220624-1723 ~]# ls -lat /home/oracle/.Xauthority
-rw-------. 1 oracle oinstall 68 Jun 24 20:35 /home/oracle/.Xauthority
ShellScript

4 – Verificar variavel utilizada no display do usuário opc:

[opc@instance-20220624-1723 ~]$ echo $DISPLAY
localhost:10.0
ShellScript

5 – Com o usuário oracle, export variavel DISPLAY usada no usuário opc e testar o X11 com o xclock:

[opc@instance-20220624-1723 ~]$ sudo -i
[root@instance-20220624-1723 ~]# su - oracle
Last login: Fri Jun 24 20:29:54 GMT 2022 on pts/0
[oracle@instance-20220624-1723 ~]$ DISPLAY=localhost:10.0; export DISPLAY
[oracle@instance-20220624-1723 ~]$ xclock
Warning: Missing charsets in String to FontSet conversion
ShellScript

6 – Caso ocorra o erro MoTTY X11 proxy: Authorisation not recognised:

Realize o passo 4 novamente.
ShellScript

Leave a Reply

Your email address will not be published. Required fields are marked *

search previous next tag category expand menu location phone mail time cart zoom edit close