I'm trying to run soffice in a cron job script where it executes in
-headless mode...
e.g.
soffice -headless macro://document/lib.module.macro file:///path/to/document
... but it dies with an error...
Error : staroffice,v8.9 does not run without Openwindows
If I set a valid DISPLAY var within the shell running the cron job it will work.
Why does it need a valid DISPLAY var set if it's running in -headless mode?
Is there something I can do in the shell script which runs the soffice
command to setup a valid DISPLAY var? I cannot just give it a made up
DISPLAY value unless I know that something is running for that DISPLAY.
Thanks,
Craig
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]