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 -accept="socket,port=8100;urp;" -headless
This doesn't seem to work on a server with X not running.
$ soffice -accept="socket,port=8100;urp;" -headless /usr/lib/openoffice/program/soffice.bin X11 error: Can't open display: Set DISPLAY environment variable, use -display option or check permissions of your X-Server (See "man X" resp. "man xhost" for details) $
The error doesnt seem to make sense as well, as the point of specifying
-headless was so that I do not need X, while this command seems to look for X.