Date: Wed, 11 Jul 2007 00:37:05 +0100 From: "Federico Lorenzi" <florenzi@gmail.com> To: Pollywog <lists-fbsd@shadypond.com> Cc: freebsd-questions@freebsd.org Subject: Re: X11 forwarding problems in FreeBSD 6.2 - no xauth data? Message-ID: <3a386af20707101637i512cea37tde93d9e4b03bd97f@mail.gmail.com> In-Reply-To: <200707101525.49966.lists-fbsd@shadypond.com> References: <200707090103.49950.lists-fbsd@shadypond.com> <200707101441.01594.lists-fbsd@shadypond.com> <200707101525.49966.lists-fbsd@shadypond.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 7/10/07, Pollywog <lists-fbsd@shadypond.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3a386af20707101637i512cea37tde93d9e4b03bd97f>
