pages tagged VNCrohieb.namehttps://rohieb.name/blag/tag/VNC/rohieb.nameikiwiki2013-09-19T05:04:01ZX screen shots from the consolehttps://rohieb.name/blag/post/x-screen-shots-from-the-console/rohieb
CC-BY-SA 3.0
2013-09-19T05:04:01Z2011-03-24T18:10:00Z
<p>I had to debug a machine that was behind a DSL-2000 connection, and had
about 20 KB/s of upstream. For that, I needed to see what was going on
on the X screen, but due to the low bandwidth (and a screen resolution
of 1920×1080), VNC was about as fast as 2 frames per minute.</p>
<p>But I found a <a href="http://www.mysql-apache-php.com/website_screenshot.htm">comparable replacement</a>: The <a href="http://www.imagemagick.org/">ImageMagick suite</a>
has a program called <code>import</code> that allows you to dump the contents of
the X screen to a image file. So I took a few screen shots from the
console via <code>DISPLAY=:0 import -window root foo.png</code> and then copied the
files to my machine.</p>