X11 connection rejected because of wrong authentication

From: Alex Sanks (gqf6ritf02_at_sneakemail.com)
Date: 10/09/03

  • Next message: Jacob Nevins: "Re: Putty + Cygwin SSH -> "Incorrect MAC received on packet." error"
    Date: 9 Oct 2003 14:12:02 -0700
    
    

    I keep running into a problem here and haven't had much luck finding a
    solution.

    For starters, I don't know much about ssh or remote X sessions.
    Anyway, I'm trying to tunnel an X session between my PC with cygwin
    and some of the machines at school (I have no privilges to see
    anything about how sshd is configured). All seems well, I start my X
    with "X -rootless" and load a window manager. I ssh in by "ssh -C -X
    -l..... hostname". I log in, but see a "Warning: No xauth data; using
    fake authention data for X11 forwarding."

    Even so, if I run an xterm, it pops up just fine. When I try to run
    synopsys, however, I see "X11 connection rejected because of wrong
    authentication." Here's a -v output of my connection:

    $ ssh -C -X -v -lasanks nova7.dc.engr.scu.edu
    OpenSSH_3.7.1p2, SSH protocols 1.5/2.0, OpenSSL 0.9.7b 10 Apr 2003
    debug1: Connecting to nova7.dc.engr.scu.edu [129.210.16.77] port 22.
    debug1: Connection established.
    debug1: identity file /cygdrive/c/Documents and
    Settings/alex/.ssh/identity type
     -1
    debug1: identity file /cygdrive/c/Documents and
    Settings/alex/.ssh/id_rsa type -
    1
    debug1: identity file /cygdrive/c/Documents and
    Settings/alex/.ssh/id_dsa type -
    1
    debug1: Remote protocol version 1.99, remote software version
    OpenSSH_3.7.1p2
    debug1: match: OpenSSH_3.7.1p2 pat OpenSSH*
    debug1: Enabling compatibility mode for protocol 2.0
    debug1: Local version string SSH-2.0-OpenSSH_3.7.1p2
    debug1: SSH2_MSG_KEXINIT sent
    debug1: SSH2_MSG_KEXINIT received
    debug1: kex: server->client aes128-cbc hmac-md5 zlib
    debug1: kex: client->server aes128-cbc hmac-md5 zlib
    debug1: SSH2_MSG_KEX_DH_GEX_REQUEST sent
    debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
    debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
    debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
    debug1: Host 'nova7.dc.engr.scu.edu' is known and matches the RSA host
    key.
    debug1: Found key in /cygdrive/c/Documents and
    Settings/alex/.ssh/known_hosts:5
    debug1: ssh_rsa_verify: signature correct
    debug1: Enabling compression at level 6.
    debug1: SSH2_MSG_NEWKEYS sent
    debug1: expecting SSH2_MSG_NEWKEYS
    debug1: SSH2_MSG_NEWKEYS received
    debug1: SSH2_MSG_SERVICE_REQUEST sent
    debug1: SSH2_MSG_SERVICE_ACCEPT received
    debug1: Authentications that can continue:
    publickey,password,keyboard-interacti
    ve
    debug1: Next authentication method: publickey
    debug1: Trying private key: /cygdrive/c/Documents and
    Settings/alex/.ssh/identit
    y
    debug1: Trying private key: /cygdrive/c/Documents and
    Settings/alex/.ssh/id_rsa
    debug1: Trying private key: /cygdrive/c/Documents and
    Settings/alex/.ssh/id_dsa
    debug1: Next authentication method: keyboard-interactive
    debug1: Authentications that can continue:
    publickey,password,keyboard-interacti
    ve
    debug1: Next authentication method: password
    asanks@nova7.dc.engr.scu.edu's password:
    debug1: Authentication succeeded (password).
    debug1: channel 0: new [client-session]
    debug1: Entering interactive session.
    Warning: No xauth data; using fake authentication data for X11
    forwarding.
    debug1: Requesting X11 forwarding with authentication spoofing.
    Last login: Thu Oct 9 13:45:58 2003 from w130.z064221166
     (03/04/03) Mentor Graphics Program does not run properly on these
    machines:
                 hpux39, hpux40, hpux46 and hpux49.
                 Thank you for your patience.

     (03/04/03) Mentor Graphics Program does not run properly on these
    machines:
                 hpux39, hpux40, hpux46 and hpux49.
                 Thank you for your patience.

    You have mail.
    bash-2.03$ xterm
    debug1: client_input_channel_open: ctype x11 rchan 2 win 65536 max
    16384
    debug1: client_request_x11: request from 127.0.0.1 34131
    debug1: channel 1: new [x11]
    debug1: confirm x11
    debug1: channel 1: FORCE input drain
    bash-2.03$ debug1: channel 1: free: x11, nchannels 2

    bash-2.03$ source /usr/local/scripts/setup.synopsys.
    setup.synopsys.csh setup.synopsys.sh
    bash-2.03$ source /usr/local/scripts/setup.synopsys.sh
    bash-2.03$ design_analyzer
    debug1: client_input_channel_open: ctype x11 rchan 2 win 65536 max
    16384
    debug1: client_request_x11: request from 127.0.0.1 34133
    debug1: channel 1: new [x11]
    debug1: confirm x11
    X11 connection rejected because of wrong authentication.
    debug1: channel 1: free: x11, nchannels 2
    XIO: fatal IO error 32 (Broken pipe) on X server "

    Fatal: Internal system error, cannot recover.

    Release = '1999.05' Architecture = 'sparcOS5' Program =
    'design_analyzer'

    Can anybody help???

    Thanks,
    Alex


  • Next message: Jacob Nevins: "Re: Putty + Cygwin SSH -> "Incorrect MAC received on packet." error"

    Relevant Pages


  • Quantcast