What program provides 'xclock/xeyes' X11 test functionality in new versions of RHEL?
Environment
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux 10
Issue
- How to install the
xclockin Red Hat Enterprise Linux 8? - Need a simple X11 application to test X11 forwarding in RHEL.
- Unable to find
xclockorxeyesapplications in RHEL8 or newer.
Resolution
-
The
xclockorxeyesapplications are provided byxorg-x11-appspackage. Thexorg-x11-appspackage has been provided in the CodeReady Linux Builder Repository(CRB) for RHEL8. -
Starting with RHEL 9 the package
xorg-x11-appshas been removed and is no longer available from Red Hat.
A standalonexclockpackage is available in RHEL 9 via EPEL How to use Extra Packages for Enterprise Linux (EPEL)?. -
Testing of basic X11 forwarding functionality can instead be done using the
xtermapplication which is currently provided by Red Hat for all versions of RHEL. This can also be used to test X11 functionality in all version of Red Hat Enterprise Linux.
Steps to install the package for
xclock/xeyes- ( RHEL8 only)
-
Enable the CRB repository on the system:
# subscription-manager repos --enable=codeready-builder-for-rhel-8-$(arch)-rpms -
To install the package:
# yum install xorg-x11-apps -
To test X11 functionality:
$ xclock or # xeyes
Steps to install the package for
xterm- ( All versions of RHEL )
-
To install the package:
# dnf install xterm -
To test X11 functionality:
$ xterm
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments