From owner-freebsd-questions Thu Sep 21 0:15: 6 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mailhost01.reflexnet.net (mailhost01.reflexnet.net [64.6.192.82]) by hub.freebsd.org (Postfix) with ESMTP id 7C78A37B424 for ; Thu, 21 Sep 2000 00:15:04 -0700 (PDT) Received: from 149.211.6.64.reflexcom.com ([64.6.211.149]) by mailhost01.reflexnet.net with Microsoft SMTPSVC(5.5.1877.197.19); Thu, 21 Sep 2000 00:13:51 -0700 Received: (from cjc@localhost) by 149.211.6.64.reflexcom.com (8.11.0/8.11.0) id e8L7EsG27097; Thu, 21 Sep 2000 00:14:54 -0700 (PDT) (envelope-from cjc) Date: Thu, 21 Sep 2000 00:14:54 -0700 From: "Crist J . Clark" To: Igor Serikov Cc: Alfred Perlstein , freebsd-questions@FreeBSD.ORG Subject: Re: openssh & FreeBSD 4.0: X11frorwarding Message-ID: <20000921001454.Z367@149.211.6.64.reflexcom.com> Reply-To: cjclark@alum.mit.edu References: <20000920115139.A9141@fw.wintelcom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from bt@turtle.pangeatech.com on Wed, Sep 20, 2000 at 10:03:37PM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Sep 20, 2000 at 10:03:37PM -0700, Igor Serikov wrote: > > Alfred, > > The settings are: > > X11Forwarding yes > X11DisplayOffset 10 > > When the forwarding is disabled sshd rejects the request immediately. > The debugging message bellow is issued by the local ssh client > after it failed to match the protocol name (MIT_MAGIC-COOKIE-1). > When looking to tcpdump listing I couldnot find any place where > the cookie was sent to ssh-captured port. Yet, the client > itself works with old sshd on another machine. So, the problem > is obviously somewere on the server side. Not necessarily. Like you say, you don't see the magic cookie. Not all X applications support magic cookies (and they need to be supported by the individual apps). What program is giving you the trouble? Does something like a vanilla xterm also fail the same way? But why this changed with a server upgrade... that is troubling. > On Wed, 20 Sep 2000, Alfred Perlstein wrote: > > > Date: Wed, 20 Sep 2000 11:51:39 -0700 > > From: Alfred Perlstein > > To: Igor Serikov > > Cc: freebsd-questions@FreeBSD.ORG > > Subject: Re: openssh & FreeBSD 4.0: X11frorwarding > > > > * Igor Serikov [000920 11:28] wrote: > > > > > > Hello, > > > > > > I just have upgraded my machine from 3.3 to 4.0. This system has > > > openssh > > > as a part of the "world" and I decided to use it. It was the beginning > > > of my > > > troubles. > > > > > > When I type > > > "ssh -v localhost" everything goes fine until I try to > > > forward an X11 application. This gives me the following: > > > > > > debug: Received X11 open request. > > > debug: channel 0: new [X11 connection from localhost port 1999] > > > debug: X11 connection uses different authentication protocol. > > > > > > "xauth list $DISLPAY" shows a good looking cookie. $DISPLAY is set > > > correctly > > > (localhost:10). > > > > > > There was no problem with the old ssh (one from ports). > > > > > > Is this a known problem ? > > > > What are your sshd settings (/etc/ssh/sshd_config) for X11 forwarding? > > are you using 'ssh -X localhost'? > > > > -Alfred > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message