https://bugs.documentfoundation.org/show_bug.cgi?id=107151

            Bug ID: 107151
           Summary: Running oowriter with --headless complains about the
                    DISPLAY variable
           Product: LibreOffice
           Version: 4.3.7.2 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: hel...@deepsoft.com

Created attachment 132548
  --> https://bugs.documentfoundation.org/attachment.cgi?id=132548&action=edit
Simple script to convert a docx file to a pdf.

I have written a simple BASH script to convert docx files to PDFs, but it fails
when the DISPLAY variable is not set.  I want to be able to run this script in
contexts where there isn't a display (like in batch or cron jobs).

The error message is:

/usr/lib64/libreoffice/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)

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to