• 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. How to Set Proxy Settings on Linux command line or Terminal
  2. CentOS / RHEL 6 : How to Disable / Enable direct root login via telnet
  3. grub-install Command Options
  4. Linux OS Service ‘rusersd’
  5. Linux OS Service ‘nscd’
  6. How to Install Mokutil package on CentOS/RHEL 7 and 8
  7. How to split iso or file using ‘split’ command in Linux
  8. chacl Command Examples in Linux
  9. How to List and Set SELinux Context for MySQL Server
  10. KVM Virsh Command Examples on CentOS and RHEL

You May Also Like

Primary Sidebar

Recent Posts

  • grpck command – Remove corrupt or duplicate entries in the /etc/group and /etc/gshadow files.
  • xxd command – Expressed in hexadecimal form
  • sesearch: command not found
  • macof: command not found

© 2022 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright