Re: Another "X11 connection rejected because of wrong authentication" issue

From: Wyatt, Doug (dwyatt@kohlmansystems.com)
Date: 03/14/03


From: "Wyatt, Doug" <dwyatt@kohlmansystems.com>
Date: Thu, 13 Mar 2003 17:34:58 -0600

Hi,

There didn't seem to be anything useful in the debug output
for 'ssh -2 -X -v -v -v ...':

   21@ xterm -bg lightblue &
   [1] 7706
   22@ debug1: client_input_channel_open: ctype x11 rchan 3
       win 65536 max 16384
   debug1: client_request_x11: request from 127.0.0.1 51405
   debug1: fd 7 setting TCP_NODELAY
   debug1: fd 7 setting O_NONBLOCK
   debug2: fd 7 is O_NONBLOCK
   debug1: channel 1: new [x11]
   debug1: confirm x11
   debug1: X11 connection uses different authentication protocol.
   X11 connection rejected because of wrong authentication.
   debug1: X11 rejected 1 i0/o0
   debug1: channel 1: read failed
   debug1: channel 1: close_read
   debug1: channel 1: input open -> drain
   etc.,

Contrasted with:

   22@ ..dtterm -bg lightblue &
   [1] 7851
   23@ debug1: client_input_channel_open: ctype x11 rchan 3
      win 65536 max 16384
   debug1: client_request_x11: request from 127.0.0.1 51456
   debug1: fd 7 setting TCP_NODELAY
   debug1: fd 7 setting O_NONBLOCK
   debug2: fd 7 is O_NONBLOCK
   debug1: channel 1: new [x11]
   debug1: confirm x11
   Warning: Missing charsets in String to FontSet conversion
   Warning: Cannot convert string "-dt-interface
      user-medium-r-normal-xxs*-*-*-*-*-m-*" to type FontSet
    ""
   debug2: channel 1: rcvd adjust 32932
   Warning: Missing charsets in String to FontSet conversion
   Warning: Cannot convert string "-dt-interface
      user-medium-r-normal-s*-*-*-*-*-m-*" to type FontSet
    ""
   debug2: channel 1: rcvd adjust 34448
   Warning: Missing charsets in String to FontSet conversion
   Warning: Cannot convert string "-dt-interface
      user-medium-r-normal-xl*-*-*-*-*-m-*" to type FontSet
    ""
   debug1: client_input_channel_open: ctype x11 rchan 4
      win 65536 max 16384
   debug1: client_request_x11: request from 127.0.0.1 51457
   debug1: fd 8 setting TCP_NODELAY
   debug1: fd 8 setting O_NONBLOCK
   debug2: fd 8 is O_NONBLOCK
   debug1: channel 2: new [x11]
   debug1: confirm x11
   debug1: channel 2: rcvd eof
   debug1: channel 2: output open -> drain
   debug1: channel 2: obuf empty
   etc.,

At this time I can't use sshd in verbose mode, though I
wouldn't expect it would be any more useful. The Syslog
gives no clues

Does the above suggest anything to anyone with better
understanding than myself?

Thanks,
Doug Wyatt

Richard E. Silverman wrote:
> http://www.snailbook.com/faq/general-debugging.auto.html
>

Original posting:
>>
>> I've been able to connect to a remote server and start up
>> xterm and dtterm without any problems, until now. Today,
>> attempts to start an xterm yield "X11 connection rejected
>> because of wrong authentication", but a dtterm still works
>> fine (except for font warnings) from the same shell.
>>
>> OpenSSH and OpenSSL are the latest versions at both ends.
>> Cygwin is on the initiating end and HP-UX on the remote.
>>
>> Any ideas?
>>



Relevant Pages

  • Re: X11 tuneling: a hard to fix problem
    ... debug1: Connecting to remoteserver port 22. ... debug2: fd 3 setting O_NONBLOCK ... Requesting X11 forwarding with authentication spoofing. ... debug2: channel 0: request pty-req confirm 0 ...
    (SSH)
  • X11 tuneling: a hard to fix problem
    ... debug1: Connecting to remoteserver port 22. ... debug2: fd 3 setting O_NONBLOCK ... Requesting X11 forwarding with authentication spoofing. ... debug2: channel 0: request pty-req confirm 0 ...
    (SSH)
  • Re: X11 tuneling: a hard to fix problem
    ... debug1: Connecting to remoteserver port 22. ... debug2: fd 3 setting O_NONBLOCK ... Requesting X11 forwarding with authentication spoofing. ... debug2: channel 0: request pty-req confirm 0 ...
    (SSH)
  • openssh3.7p1 chroot patch not work on solaris 7
    ... debug1: monitor_child_preauth: test has been authenticated by privileged process ... debug3: mm_get_keystate: Waiting for new keys ... debug2: mac_init: found hmac-sha1 ... debug1: channel 0: new ...
    (comp.unix.solaris)
  • openssh3.7p1 chroot patch not work on solaris 7
    ... debug1: monitor_child_preauth: test has been authenticated by privileged process ... debug3: mm_get_keystate: Waiting for new keys ... debug2: mac_init: found hmac-sha1 ... debug1: channel 0: new ...
    (comp.security.ssh)

Quantcast