Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Any ideas for essentially creating a loop-back display on a remote server, so I run a X application, and instead of forwarding that display to a local client, the output is essentially 'screen-grabbed', just without a screen?

Explanation: High performance visualizations (read:pretty pretty pictures) with no interactivity needed while I'm 3000 miles away.

share|improve this question
add comment

1 Answer

This is one approach you might use:

X Virtual frame buffer: http://www.x.org/archive/X11R6.8.1/doc/Xvfb.1.html

As an example, the following sequence of commands runs the virtual framebuffer
as display ":1", run a program on it, and capture the virtual screen in
the file image.xwd:

Xvfb :1 &
xv -display :1 &
xwd -display :1 -root -out image.xwd

Examplecommands from wikipedia: http://en.wikipedia.org/wiki/Xvfb

ImageMagik is capable of most things:

convert screen.xwd foo.png
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.