https://bugs.freedesktop.org/show_bug.cgi?id=76742

          Priority: medium
            Bug ID: 76742
          Assignee: libreoffice-bugs@lists.freedesktop.org
           Summary: Startup failure: XDM authorization key matches an
                    existing client
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: lb2...@pobox.com
          Hardware: x86 (IA32)
            Status: UNCONFIRMED
           Version: 4.2.2.1 release
         Component: Libreoffice
           Product: LibreOffice

LibreOffice-4.2.2 frequently but intermittently fails to start on Slackware
Linux with the following error:

    XDM authorization key matches an existing client!
    /opt/libreoffice4.2/program/soffice.bin X11 error: Can't open display:

The startup failure happens about 65% of the time; the other 35% of the time it
starts and runs correctly. The problem did not occur with LibreOffice-4.1.4 on
the same system.

This happens when using XDM as the login manager, and only when
XDM-AUTHORIZATION-1 authentication is enabled (as it is by default with xdm). 
I can disable XDM-AUTHORIZATION-1 and enable only MIT-MAGIC-COOKIE-1 by placing
the following into /etc/X11/xdm/xdm-config:
    DisplayManager*authName: MIT-MAGIC-COOKIE-1

Then the problem goes away, and LibreOffice-4.2.2 always starts correctly.

Possibly the same exact issue was reported with Firefox, about 10 years ago, as
documented here: https://bugzilla.mozilla.org/show_bug.cgi?id=246313

My understanding is that the problem is caused by a race condition between
child and parent processes opening a connection to the X server (hence the
intermittent nature), and/or the weakness in XDM-AUTHORIZATION-1 generation of
unique tokens.

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

Reply via email to