Tuesday, February 19, 2008

Remotely execute programs via SSH on local display

Lets pretend you are laying in bed with your laptop and want to run a South Park episode on your desktop across the room without getting up. Lets do it:

ssh user@192.168.1.5
export DISPLAY=":0.0"