Start program with SSH - graphical output on VGA display

Aug 10, 2013 1 Replies

Folks, how would I start program from an SSH session, but have the graphical output from the program appear on VGA display? I'm wanting to develop a screen-saver type program, but to use a remote SSH connection during development.


Thanks, David Web: http://www.satsignal.eu

You work on a PC and connect to you PI using ssh. The screensaver-type application should appear on your PC, but run on the PI?

then $ ssh -X ... should do the trick.

If The video should be shown on a device connected to the PI, then you have to set the $DISPLAY variable.

for example in the ssh session: $ export DISPLAY=:0 $ xterm

you might have to change :0 to :1, :2 ... depending on you setup. ssh and the X session should be run as the same user. That makes it simpler.

hth

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required