5
I've browsed the handful of "screen capture" queries here, but I was unable to find anything which addressed my specific need.
I'm looking for a command-line tool that I can run via remote SSH connection (by way of the cygwin sshd daemon). There are several to choose from, but the few I've tried (ImageMagick, nircmd, and MiniCap) all result in a blank screen. I assume that this is due to the remotely logged in user not having a proper graphical console session running.
The goal here is automate screen capture and retrieval of the main system console (what one would see if they were looking at the physical monitor) through the use of ssh script from a Unix host:
ssh user@windowshost "screencap --output /tmp/console.jpg"
scp user@windowshost:/tmp/console.jpg /some/destdir
Note that these must be done on demand, so polling a remote directory that has snapshots dumped periodically will not work.
Bonus points for programs that are open source and have a portable install (so I don't need to RDP/VNC into the machine to run a graphical installer).
Looks like the last release was in 2004. It may take some effort to get working. I'll report back in if I manage to do so. – Geoff Fritz – 2010-01-21T21:48:09.640
VNC protocol is very, very simple and even more, each specification refers to previous as extension. Also current version is 3.8, and 3.7 was released in 2003 IIRC, so it probably would work. – whitequark – 2010-01-21T22:03:10.700