[Bug 1718] New: Spurious messages "X11 connection rejected because of wrong authentication."

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Sat Feb 27 02:52:08 EST 2010


           Summary: Spurious messages "X11 connection rejected because of
                    wrong authentication."
           Product: Portable OpenSSH
           Version: 5.3p1
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ssh
        AssignedTo: unassigned-bugs at mindrot.org
        ReportedBy: vincent at vinc17.org

In a SSH session with X11 forwarding, I got 12 messages

  X11 connection rejected because of wrong authentication.

while I wasn't using the machine (and no other messages). The admin of
the machine told me that NFS (where the .Xauthority file is stored)
could have temporarily been blocked due to maintenance at the same
time. Hence the error message. However, because no X applications were
running in the background (and I don't think the shell did X accesses),
this is just an unhelpful spurious error message (such a message would
have been useful only if I started an X application). Either the error
message should be removed in these conditions or it should be improved
to tell the user what doesn't work.

It could possibly be a bug in ssh that caused it to access the
.Xauthority file while this wasn't really needed.

Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

More information about the openssh-bugs mailing list