blag: convert (and slightly improve) blogposts from rohieb.wordpress.org
[www-rohieb-name.git] / 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 (file)
index 0000000..187c5d5
--- /dev/null
@@ -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]]
This page took 0.021979 seconds and 4 git commands to generate.