<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTOURBUG - Running oowriter with --headless complains about the DISPLAY variable"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=107151#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTOURBUG - Running oowriter with --headless complains about the DISPLAY variable"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=107151">bug 107151</a>
              from <span class="vcard"><a class="email" href="mailto:heller@deepsoft.com" title="Robert Heller <heller@deepsoft.com>"> <span class="fn">Robert Heller</span></a>
</span></b>
        <pre>If libreoffice still needs a "head" (eg some sort of X-Display) when using the
--headless option, then what exactly is the point of the --headless option? How
does it meaningfully differ from --nologo and/or --nosplash or --invisible?

The *documentation* (from the man page on my CentOS 6 box) says:

"       --headless
              Starts in "headless mode", which allows  using  the  application
              without user a interface.

              This special mode can be used when the application is controlled
              by external clients via the API.

              It implies --invisible and strictly ignores any GUI environment.
              --quickstart does not work with this parameter.
"

It states that --headless "strictly ignores any GUI environment".  Since
libreoffice crashes when there is no GUI environment (eg DISPLAY is not set),
it obviously is not "strictly ignoring" the GUI environment, since it complains
where  there isn't one.  Either the documentation is wrong (or needs
clarification) or the the program is broken (eg this is a real live bug, if
only a documentation bug).

Can someone answer this question?</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>