When executing LibreOffice via SSH with the -h option, the first line shows an error message: Failed to open display. This error message was not previously present in LibreOffice 4.0.3, because it did not require a display at all. The -h option displays a help message and exits, so shouldn't --headless be implied?
please specify your exact O/S version and tell us if issue is still there with LibO 4.1.4.2
I'm running RHEL Server release 6.3 (Linux version 2.6.32-279.11.1.el6.x86_64). Yes, the issue is still present after upgrading to 4.1.4.2. Here's the output: [root@server ~]# libreoffice -h Failed to open display LibreOffice 4.1.4.2 0a0440ccc0227ad9829de5f46be37cfb6edcf72 Usage: soffice [options] [documents...] [... and so on ...]
The issue is still present after upgrading to 4.2.3.3. Can anyone else see this?
revert status to UNCONFIRMED NEW status can be achieved only after independent confirmation of bug by another user different from the original reporter
Tommy27, sorry I didn't know that (the NEW status is not documented). I also testing this on a fresh Ubuntu Server 13.10. Got the exact same problem. Can you perhaps give me a hand with confirming this bug please?
TESTING with Ubuntu 14.04 + a 4.4-branch build (commit: dea4a3b9d7182700abeb4dc756a24a9e8dea8474 Wed May 21 19:16:44 2014 +0200) (In reply to Andrew Leung from comment #2) > Yes, the issue is still present after upgrading to 4.1.4.2. Here's the > output: > > [root@server ~]# libreoffice -h > Failed to open display > LibreOffice 4.1.4.2 0a0440ccc0227ad9829de5f46be37cfb6edcf72 > > Usage: soffice [options] [documents...] > > [... and so on ...] CONFIRMED. Using 'soffice -h' or 'soffice -?' gives an extra 'Failed to open display' line, whereas 'soffice --help' does not give that line. According to the help information output by all three invocations, the three switches should be the same.
** Please read this message in its entirety before responding ** To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present on a currently supported version of LibreOffice (5.0.4 or later) https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System Please DO NOT: - Update the version field - Reply via email (please reply directly on the bug tracker) - Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to "inherited from OOo"; 4b. If the bug was not present in 3.3 - add "regression" to keyword Feel free to come ask questions or to say hello in our QA chat: http://webchat.freenode.net/?channels=libreoffice-qa Thank you for your help! -- The LibreOffice QA Team This NEW Message was generated on: 2016-01-17
Tested LibreOffice 5.0.4.2 on RHEL Server release 6.3. No change from before. It still shows the same failure message when passing the -h or -? option, but it doesn't when passing --help. (Outputs below.) I also tested LibreOffice 3.3 and 4.0.3. The issue is not present in those versions. I believe it started happening somewhere around 4.1. ---------- [root@server ~]# libreoffice -h Failed to open display LibreOffice 5.0.4.2 2b9802c1994aa0b7dc6079e128979269cf95bc78 Usage: soffice [options] [documents...] (omitted...) ---------- [root@server ~]# libreoffice --help LibreOffice 5.0.4.2 2b9802c1994aa0b7dc6079e128979269cf95bc78 Usage: soffice [options] [documents...] (omitted...)
Caolán McNamara committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=75ae1437397af2d4c7d16d0d11952c87105c582e Resolves: tdf#71064 failed to open display with -h but not --help It will be available in 5.3.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.