gvnccapture [OPTION]... [HOST][:DISPLAY] FILENAME
Capture a screenshot of the VNC desktop at HOST:DISPLAY saving to the image file FILENAME. If HOST is omitted it defaults to “localhost”, if :DISPLAY is omitted, it defaults to “:1”. FILENAME must end in a known image format extension (eg “.png”, “.jpeg”). Supported options are
- --help, -?
Display command line help information
- --quiet, -q
Do not display information on the console when capturing the screenshot, with the exception of any password prompt.
- --debug, -d
Display verbose debugging information on the console
The exit status is 0 upon successful screen capture, otherwise it is a non-zero integer
# gvnccapture localhost:1 desktop.png Password: Connected to localhost:1 Saved display to desktop.png
Daniel P. Berrange <email@example.com>
Copyright (C) 2010 Daniel P. Berrange <firstname.lastname@example.org>.
License LGPLv2+: GNU Lesser GPL version 2 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.