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

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • 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. rc-service: command not found
  2. pulseaudio Command Examples in Linux
  3. create_ap: command not found
  4. a2query: command not found
  5. How to uninstall julia-common package from Ubuntu
  6. lolcat Command Examples in Linux
  7. iperf Command Examples in Linux
  8. fly: Command-line tool for concourse-ci
  9. What are makefiles in Linux
  10. createrepo: command not found

You May Also Like

Primary Sidebar

Recent Posts

  • gixy Command Examples
  • gitsome Command Examples
  • gitmoji Command Examples
  • gitlint Command Examples

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright