Redirecting X output

Posted by Adam Matan on Super User See other posts from Super User or by Adam Matan
Published on 2009-10-22T13:26:54Z Indexed on 2010/03/18 13:21 UTC
Read the original article Hit count: 495

Filed under:
|
|
|

Hi,

I have a small program that checks some elements of a web service. The program shows graphics output and displays commmand-line results as well.

I have been trying to automate this program to run periodically on a server in my office. Problem is, It only works when I have X enabled - either directly on the server, or via ssh -X.

Following Google, I have tried Xvfb, which gave me quite cryptic error message:

Xvfb :1 -screen 0 1600x1200x32

Fatal server error:
Server is already active for display 1
        If this server is no longer running, remove /tmp/.X1-lock
        and start again.

Any ideas how to run it? I'm actually looking for the X equivalent of &>/dev/null...

Thanks in advance,

Adam

© Super User or respective owner

Related posts about gui

Related posts about x-windows