logging远程xserver输出,无需x-forwarding

任何想法在远程服务器上本质上创build一个环回显示,所以我运行一个X应用程序,而不是将显示转发到本地客户端,输出本质上是“屏幕抓取”,只是没有屏幕?

说明:当我在3000英里以外时,不需要任何交互性就可以获得高性能的可视化效果(阅读:相当漂亮的图片)。

这是您可以使用的一种方法:

X虚拟帧缓冲区: 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 

来自wikipedia的示例命令: http : //en.wikipedia.org/wiki/Xvfb

ImageMagik能够处理大部分事情:

 convert screen.xwd foo.png