From owner-freebsd-questions@FreeBSD.ORG Tue Jul 10 23:37:10 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 E3E4016A421 for ; Tue, 10 Jul 2007 23:37:10 +0000 (UTC) (envelope-from florenzi@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.176]) by mx1.freebsd.org (Postfix) with ESMTP id A25C613C455 for ; Tue, 10 Jul 2007 23:37:08 +0000 (UTC) (envelope-from florenzi@gmail.com) Received: by py-out-1112.google.com with SMTP id a73so2913005pye for ; Tue, 10 Jul 2007 16:37:08 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=icx5TaVpFGwKBCPHmxBhDawZpuscHSuEqQZ39IDXbsZi+fXDspyzTsdv/vSwL8kBnCUj/VQGAM+SMm7HHppf/ckWjpfxVu//VZZFoJrf0+JhUukGxkJpxBACcGtxUCPTu0Fz+4Ebml6pjGa1PoB/cZPqMn9+yrFgjHwYLm4P9YI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Maw4nd/4aEWUyJR2brX3RLjAMoGqjFVq4V2QlZ7fgdPmre75bQ794sXR/niIk6Hdr5Qtc+oXwlFl85gMbSlmg0LYtyrPltj1FPNMqZKKa0sBBGdHwa7xP/zmeoi2uln+HoB48Fk/P0NXPckvRnqqo5SvEFUfVfOqLaqrOx2GSPM= Received: by 10.78.153.17 with SMTP id a17mr2240869hue.1184110626120; Tue, 10 Jul 2007 16:37:06 -0700 (PDT) Received: by 10.78.45.17 with HTTP; Tue, 10 Jul 2007 16:37:05 -0700 (PDT) Message-ID: <3a386af20707101637i512cea37tde93d9e4b03bd97f@mail.gmail.com> Date: Wed, 11 Jul 2007 00:37:05 +0100 From: "Federico Lorenzi" To: Pollywog In-Reply-To: <200707101525.49966.lists-fbsd@shadypond.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200707090103.49950.lists-fbsd@shadypond.com> <200707101441.01594.lists-fbsd@shadypond.com> <200707101525.49966.lists-fbsd@shadypond.com> 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2007 23:37:11 -0000 On 7/10/07, Pollywog wrote: > On Tuesday 10 July 2007 14:41:01 Pollywog wrote: > > > > > 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. > > I found out that "mcookie" generates magic cookies for xauth, but I do not > have the mcookie command in FreeBSD, though it exists on my Debian Etch > system and is part of the util-linux package. If I can find mcookie or a > command that is analogous to it in FreeBSD, I might be able to fix this > problem: > > http://rocketcalc.com/bread.php?key=22 >From what I've read at http://www.linuxcommand.org/man_pages/mcookie1.html: mcookie generates a 128-bit random hexadecimal number for use with the X authority system. Typical usage: xauth add :0 . 'mcookie' Therefore, you should be able to use any random 128-bit hex number instead of mcookie. I'm not sure how secure it would be, but it should work just fine. Cheers Federico