X-Git-Url: https://git.rohieb.name/www-rohieb-name.git/blobdiff_plain/c76fcceb2d921acec81f5fbe4301a88437c7f89c..73e39f64a32cdae99744de147a3d7002a461dbc4:/blag/post/x-screen-shots-from-the-console.mdwn diff --git a/blag/post/x-screen-shots-from-the-console.mdwn b/blag/post/x-screen-shots-from-the-console.mdwn new file mode 100644 index 0000000..187c5d5 --- /dev/null +++ b/blag/post/x-screen-shots-from-the-console.mdwn @@ -0,0 +1,20 @@ +[[!meta title="X screen shots from the console"]] +[[!meta date="2011-03-24 19:10"]] +[[!meta author="rohieb"]] +[[!meta license="CC-BY-SA 3.0"]] + +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. + +But I found a [comparable replacement][0]: The [ImageMagick suite][1] +has a program called `import` 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 `DISPLAY=:0 import -window root foo.png` and then copied the +files to my machine. + +[0]: http://www.mysql-apache-php.com/website_screenshot.htm +[1]: http://www.imagemagick.org/ + +[[!tag howto ImageMagick Linux VNC X X11 Xorg]]