Display an X app on a remote machine

From Finninday
Jump to: navigation, search

Elliott loves the idea of teasing someone by running an instance of xeyes on their computer without their consent. I keep forgetting how to do this, so I'm writing down the steps so that I can come up with the steps in the heat of the moment.

  • log into mom's computer via the server
  • export DISPLAY=:0
  • xhost +
  • xeyes &
  • repeat the last step ad nauseum

For further excitement start xeyes up with these options:

xeyes -fg red -center blue -geometry 500x500 &