1

I'm ssh-ing into a Raspberry Pi. I would like to start an X program remotely, on the Pi's display.

I know you can export DISPLAY to have programs open up on your computer when you ssh-in. But I'm looking for the opposite.

What I'd like to have is have a program open up on the Pi's own (HDMI connected) display, when I run a command from ssh.

What I'm looking for is to have a program run on the Pi and display it on the Pi. Pretty much I'd like to just remote control the Pi, using my desktop's keyboard.

I'm on Raspbian / Deb Wheezy.

hyperknot
  • 111

1 Answers1

1

Just run xeyes on the PI (check that you have env variable DISPLAY setup export DISPLAY=:0.0 or specify it directly

xeyes -display ':0.0'

terdon
  • 242,166
X Tian
  • 10,463
  • I guess this runs a program on my desktop and displays it on the Pi. What I'm looking for is to have a program run on the Pi and display it on the Pi. Pretty much I'd like to just remote control the Pi, using my desktop's keyboard. – hyperknot Feb 10 '14 at 13:34
  • Arh sorry, misunderstood, when you said opposite. Just run xeyes on the PI (check that you have env variable DISPLAY setup export DISPLAY=:0.0 – X Tian Feb 10 '14 at 13:35