• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

xeyes: command not found

by admin

While running the xeyes command, you may encounter the below error:

-bash: xeyes: command not found

xeyes is an X Window application that pops up a pair of eyes that follow your mouse pointer around the screen.

xeyes - Command Not Found

If you are getting the “xeyes command not found” error, you may install the pakacge x11-apps as per the distribution of your choice.

Distribution Command
Debian apt-get install x11-apps
Ubuntu apt-get install x11-apps
Arch Linux pacman -S xorg-xeyes
Kali Linux apt-get install x11-apps
CentOS yum install xorg-xeyes
Fedora dnf install xorg-xeyes
Raspbian apt-get install x11-apps

xeyes Command Examples

1. Launch xeyes on the local machine’s default display:

$ xeyes

2. Launch xeyes on a remote machine’s display 0, screen 0:

$ xeyes -display {{remote_host}}:{{0}}.{{0}}

Note: The xclock or xeyes applications are provided by xorg-x11-apps package. The xorg-x11-apps package has been provided in the CodeReady Linux Builder Repository(CRB) for RHEL8. This package is deprecated in RHEL9. Use xterm or any other GUI based application to test SSH X11Forwarding in RHEL9.

To enable the CRB repository on the system:

# subscription-manager repos --enable=codeready-builder-for-rhel-8-x86_64-rpms
How to resolve the error “-bash: xclock: command not found” in CentOS / RHEL

Filed Under: Linux

Some more articles you might also be interested in …

  1. localectl Command Examples in Linux
  2. mkinitcpio: command not found
  3. How to remove the multipath device after unmapping the storage LUN from server
  4. daemon Command Examples in Linux
  5. phar: command not found
  6. cmus : command not found
  7. Examples of using dmsetup command in Linux
  8. How to Set Proxy Settings on Linux command line or Terminal
  9. How to Find the Original Installation OS Version in CentOS/RHEL
  10. passwd: command not found

You May Also Like

Primary Sidebar

Recent Posts

  • qm Command Examples in Linux
  • qm wait Command Examples in Linux
  • qm start Command Examples in Linux
  • qm snapshot Command Examples in Linux

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright