I administer a large system. Users commit files into CVS. I want spreadsheets to be transformed automatically into HTML documents on each commit.
I have the macro, and it works when I invoque it like on the command line:
Code: Select all
# All on one line:
oocalc -invisible -nologo -norestore -nodefault convert_to_html.ods 'macro://convert_to_html/Standard.Module1.ConvertToHTML("file_to_convert.ods")'
Code: Select all
openoffice.org2.2.1/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)
Maybe I'm not approaching this problem correctly. What is the right approach here? Accessing the GUI to do any of this is not possible. Everything must absolutely be command line as none of the servers have a display, they don't run X, they don't have keyboard nor mouse.
And this is 100% linux, MS Windows is not available here.
Thanks in advance for any advice.