Redirecting X output
- by Adam Matan
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