Launch graphical software remotely with ssh

ssh remote_user@remote_host "DISPLAY=:0.0 import -window root -format png -"|display -format png -
This will take a screenshot of the remote host with “import” and display it locally with ImageMagick’s “display”.

Advertisements