Author Topic

Gaetano Giunta

Thursday 16 July 2009 10:05:58 am

Comment24522

@Philip: the error message you got gives some helpful hints to get you going:

"Set DISPLAY environment variable, use -display option or check permissions of your X-Server"

The problem is that the openoffice sw, to start and execute its conversion macro, needs a graphical Xwindows environment running. It will possibly not even display a single application window on that environment, but it refuses to start without one.

Solutions:

- install and keep running on the server the standard xwindows server - chews up a lot of memory, but probably the easiest one to set up. Plus you will have a chance to see what is actually happening on that graphical screen

- install an xwnindows server on a remote machine and use the DISPLAY environment variable on the eZP server to redirect its visual output to the remote machine - it will save on ram but introduce a dependency on one more machine, which is generally bad

- install and run xvfb on the eZP server (or, as a variant, run xvnc) - saves on ram and introduces no external dependencies

google for 'openoffice headless' for more details

Principal Consultant International Business
Member of the Community Project Board