xserveropenoffice-writer

How to run unoconv without xServer


I want to run unoconv on Cent OS machine server obviously without any GUI. Unoconv uses OpenOffice with -headless parameter, but it does not work either.

I got the following error:

/usr/lib64/openoffice.org3/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)

Is there a simple way to run unoconv on the server?


Solution

  • In the link http://www.openvpms.org/documentation/install-openoffice-headless-service-ubuntu describes that you have to install openoffice.org-writer openoffice.org-draw or you will get an error message: This url is not supported.

    I install this two packages and run unoconv without X sever and it work fine for me