Forrest logo
back to the xeyes tool

xeyes:tldr:257aa

xeyes: Launch xeyes on a remote machine's display 0, screen 0.
$ xeyes -display ${remote_host}:${0}.${0}
try on your machine

This command launches the "xeyes" application program with a specific display configuration.

The "xeyes" program is a graphical application that shows a pair of eyes that follow the movement of the cursor on the screen. It is often used for testing and demonstrating the X Window System.

The "-display ${remote_host}:${0}.${0}" part of the command specifies the display configuration to be used for running the "xeyes" program on a remote host.

  • ${remote_host} is a placeholder for the hostname or IP address of the remote host where the program should be executed. It needs to be replaced with the actual remote host details.
  • ${0} refers to the display number that will be used for the X Windows System. The "." represents the screen number, and since ${0}.${0} is used, it means the program will use the same display number and screen number.
    • For example, if ${0} equals 1, then the display used will be ":1.1", representing display number 1 and screen number 1.

By specifying the remote host and display configuration, the "xeyes" program will run on the remote host but display its graphical output on the local machine, allowing the user to see the eyes following the cursor movement.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the xeyes tool