vncsnapshot(1)
π vncsnapshot(1) β the VNC screenshot bestie π
okay so like. this is a manual page from the VNC section of the manual, and it's about vncsnapshot. grab a snack, we're doing this π
β¨ NAME β¨
vncsnapshot β grab snapshots from VNC servers πΈ
β¨ SYNTAX β¨
vncsnapshot [options] host:display JPEG-file
vncsnapshot [options] -listen local-display JPEG-file
vncsnapshot [options] -tunnel host:display JPEG-file
vncsnapshot [options] -via gateway host:display JPEG-file
β¨ DESCRIPTION β¨
VNC Snapshot is a command-line program for VNC. It will save a JPEG image of the VNC server's screen. that's it, that's the whole vibe. it just takes the picture π
This manual page documents version 1.2a of vncsnapshot. yes bestie, version 1.2a, write it down π
β¨ OPTIONS β¨
-allowblankβ Allow blank (all black) images as snapshots. See-ignoreblank. π€-compresslevellevel β Compress network messages to level, if the server supports it. level is between0and9, with0being no compression and9the maximum. The default is4. ποΈ-cursorβ Include the cursor in snapshots. Only effective if the remote server is a TightVNC version; otherwise ignored. no cap, it's giving "if the server cooperates" energy π-encodingslist β Use the given encodings. The default is
"copyrect tight hextile zlib corre rre"
or
"raw copyrect tight hextile zlib corre rre"
when VNC snapshot and the server are on the same machine. π¦
-ignoreblankβ Ignore blank (all black) screens; do not save the screen until a screen that is not all black is received. This is useful with some servers that send an initial all-black screen before sending the actual screen. This is the default. π-jpegβ Request the remote server to use JPEG-style encoding when sending the image, if possible. Currently only supported by TightVNC (and servers derived from it). This is the default. β¨-nocursorβ Do not include the cursor in snapshots. Only effective if the remote server is a TightVNC version; otherwise ignored. This is the default.-nojpegβ Request the remote server to not use JPEG-style encoding when sending the image, if possible. Currently only supported by TightVNC (and servers derived from it). π«-listenlocal-display β Do not connect to a server; wait for the server to connect to the specified local "display". Cannot be used with-tunnelor-viaoptions. main character energy: you just sit there and let them come to you π-passwdfilename β Read encrypted password from filename instead of from the console. The filename can be made with thevncpasswdutility included with thevncsnapshotrelease. π-qualityquality β Use the specified JPEG image quality (0-100) for the output file. The default is100. literally maximum slay π-quietβ Do not print any messages. Opposite of-verbose. π€«-rectwxh+x+y β Save a sub-rectangle of the screen, width w height h offset from the left by x and the top by y.
A negative number for x or y makes it an offset from the opposite edge.
A zero value for the width or height makes the snapshot extend to the right or bottom of the screen, respectively.
The default is the entire screen. π―
-tunnelβ Connect to the remote server via an SSH tunnel. Cannot be used with-listenor-viaoptions. π-viagateway β Connect to the remote server via an SSH tunnel on the host gateway. Cannot be used with-listenor-tunneloptions. π£οΈ-verboseβ Print messages; default. the yapper setting, we love her π£οΈ-vncQualityquality β Use the specified image quality level (0-9) for tight encoding. The default is9. Only effective if the remote server is a TightVNC version; otherwise ignored. π-countnumber β Take number snapshots; default1. If greater than1,vncsnapshotwill insert a five-digit sequence number just before the output file's extension; i.e. if you specifyout.jpegas the output file, it will createout00001.jpeg,out00002.jpeg, and so forth π’-fpsrate β When taking multiple snapshots, take them every rate seconds; default60. β±οΈ
β¨ EXAMPLES β¨
vncsnapshot anhk-morpork:1 unseen.jpg
Get a snapshot of screen 1 from the server ahnk-morpork and save it in unseen.jpg. The entire screen is saved; the default transport is used. π°
vncsnapshot -listen 0 portrait.jpeg
Wait for a server to connect to this host (using "screen" 0), and then save the full screen image in portrait.jpeg. πΌοΈ
vncsnapshot -passwd ~/.vnc/passwd -rect 640x0+120+30 :1 subarea.jpeg
Using ~/.vnc/passwd to get the server's password, connect to screen 1 on the local machine and save a rectangle 640 pixels high and extending to the right edge, offset 120 pixels from the left and 30 pixels down. π
vncsnapshot -rect 0x0-800-600 :1 pict.jpeg
Get a snapshot that is 800 pixels from the right edge and 600 pixels from the bottom of the screen. It will extend to the screen edges, making it 800x600. Alternatively, the rectangle could be given as -rect 800x600-0-0, which specifies the same region. π§
β¨ AUTHOR β¨
Grant McDorman <grmcdorman@netscape.net>
Based on TightVNC <http://www.tightvnc.com> and RealVNC <http://www.realvnc.com>. π«Ά
β¨ DISTRIBUTION β¨
Source for vncsnapshot can be found at <http://vncsnapshot.sourceforge.net>. π¦
β¨ SEE ALSO β¨
vncviewer(1), Xvnc(1), vncpasswd(1), vncconnect(1) π
and that's the whole page bestie, go take some screenshots π β¨
cute lil sign-off: this page is by Grant McDorman, rocking version 1.0beta2, and yes it's the vncsnapshot(1) page β periodt. ππ
π¦ where this page comes from
- debian bookworm: vncsnapshot 1.2a-5.2
- debian trixie: vncsnapshot 1.2a-6 Β· GPL-2.0-or-later
- ubuntu jammy: vncsnapshot 1.2a-5.1build2
- ubuntu noble: vncsnapshot 1.2a-5.2
- ubuntu questing: vncsnapshot 1.2a-7
- ubuntu resolute: vncsnapshot 1.2a-7build1 Β· GPL-2.0-or-later
- ubuntu stonking: vncsnapshot 1.2a-7build1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms