From owner-freebsd-questions@FreeBSD.ORG Wed Jul 11 23:17:44 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 12B1B16A469 for ; Wed, 11 Jul 2007 23:17:44 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from mesiob.obspm.fr (mesiob.obspm.fr [145.238.2.2]) by mx1.freebsd.org (Postfix) with ESMTP id A5CC713C455 for ; Wed, 11 Jul 2007 23:17:43 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from localhost (pcjas.obspm.fr [145.238.2.126]) by mesiob.obspm.fr (8.13.4/8.13.4/SIO Observatoire de Paris) with ESMTP id l6BNHgWO008574; Thu, 12 Jul 2007 01:17:42 +0200 Date: Thu, 12 Jul 2007 01:17:42 +0200 From: Albert Shih To: Pollywog Message-ID: <20070711231742.GA49781@pcjas.obspm.fr> References: <200707090103.49950.lists-fbsd@shadypond.com> <200707101441.01594.lists-fbsd@shadypond.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <200707101441.01594.lists-fbsd@shadypond.com> User-Agent: Mutt/1.5.16 (2007-06-09) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (mesiob.obspm.fr [145.238.2.2]); Thu, 12 Jul 2007 01:17:42 +0200 (CEST) X-Virus-Scanned: ClamAV version 0.90.3, clamav-milter version 0.90.3 on mesiob.obspm.fr X-Virus-Status: Clean Cc: freebsd-questions@freebsd.org Subject: Re: X11 forwarding problems in FreeBSD 6.2 - no xauth data? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Albert.Shih@obspm.fr List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2007 23:17:44 -0000 Le 10/07/2007 à 14:41:01-0700, Pollywog a écrit > On Sunday 08 July 2007 18:03:49 Pollywog wrote: > > I am having some problems with X11 forwarding. I can do X11 forwarding via > > ssh between two machines running Linux, but if I try to do this from > > FreeBSD (KDE) to either of the Linux machines, it only works if I use > > startx to start KDE on the fbsd machine (a laptop). If I start KDE from > > kdm, I get errors that go like this when I start the KDE app on the remote > > host running Linux: pollywog@slider:~$ kate > > Xlib: connection to "localhost:11.0" refused by server > > Xlib: Invalid MIT-MAGIC-COOKIE-1 key > > kate: cannot connect to X server localhost:11.0 > > I just did 'ssh' to one of the Linux hosts and when the connection was made, I > got this: > > Warning: No xauth data; using fake authentication data for X11 forwarding. > > Does this possibly have something to do with the problem I mentioned in my > initial post in this thread? I am going to Google that error and see if I > can find something. Check where is the xauth app on the Linux box, and make strings sshd|grep xauth to check if it's the same path. If don't you need to fix this with XAuthLocation in your sshd_config file on the Linux box Regards. -- Albert SHIH Observatoire de Paris Meudon SIO batiment 15 Heure local/Local time: Jeu 12 jul 2007 01:14:53 CEST