我想在Cent OS機器服務器上運行unoconv,顯然沒有任何GUI。 Unoconv使用OpenOffice和-headless參數,但它也不起作用。如何在沒有xServer的情況下運行unoconv
我得到了以下錯誤:
/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)
有沒有一種簡單的方法來在服務器上運行unoconv?
對不起,問題已修復。我只需要安裝** openoffice.org-headless **軟件包。 – 2012-02-10 18:05:40
但現在我得到錯誤: ** unoconv:中的轉換過程中的UnoException錯誤:提供的文檔無法轉換爲所需的格式。 (code:2074)** 是什麼原因? –
2012-02-10 18:33:15