1
vote
2answers
610 views

getting first non display number in use

I need to give a command like Xvfb :6 -screen 0 1024x768x24 Where 6 can be a display number. Now Xvfb can already be using that Display, so how do I get the first display number not in use?
1
vote
3answers
1k views

Unable to run openoffice in headless mode

I want to automoate some PPT -> PDF conversions, so I want to run openoffice in headless mode for scripting. On my machine with X running I can start opemoffice in headless mode via soffice ...
3
votes
4answers
3k views

Redirecting X output

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 ...