From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from <gentoo-user+bounces-94239-garchives=archives.gentoo.org@lists.gentoo.org>) id 1LxmAZ-0002YI-2c for garchives@archives.gentoo.org; Sat, 25 Apr 2009 18:00:07 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9C211E0371; Sat, 25 Apr 2009 18:00:05 +0000 (UTC) Received: from mail.fraggod.net (unknown [91.191.238.58]) by pigeon.gentoo.org (Postfix) with ESMTP id 5210FE0377 for <gentoo-user@lists.gentoo.org>; Sat, 25 Apr 2009 18:00:05 +0000 (UTC) Received: from coercion (coercion.core [IPv6:2001:470:1f0b:11de::13]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.fraggod.net (Postfix) with ESMTPSA id 06198101B70 for <gentoo-user@lists.gentoo.org>; Sun, 26 Apr 2009 00:00:03 +0600 (YEKST) Date: Sat, 25 Apr 2009 23:56:50 +0600 From: Mike Kazantsev <mike_kazantsev@fraggod.net> To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] X-forwarding fails with "Invalid MIT-MAGIC-COOKIE-1 key" Message-ID: <20090425235650.13eb90ef@coercion> In-Reply-To: <49bf44f10904240801x2f5e4236v16c297859cc5c9d7@mail.gmail.com> References: <49bf44f10904240801x2f5e4236v16c297859cc5c9d7@mail.gmail.com> X-Mailer: Claws Mail 3.7.1 (GTK+ 2.14.7; i686-pc-linux-gnu) Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/ZT4WOMd1Xq8+oZ2LC+VVS.s"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Archives-Salt: dfa5643e-bb19-421b-bfbe-2fc4fc3810a7 X-Archives-Hash: 81af5401ff48e75c21d7deb3c2330342 --Sig_/ZT4WOMd1Xq8+oZ2LC+VVS.s Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Fri, 24 Apr 2009 08:01:59 -0700 Grant <emailgrant@gmail.com> wrote: > X-forwarding used to work for me but I haven't used it in a while and now= I get: >=20 > Warning: untrusted X11 forwarding setup failed: xauth key data not genera= ted > Warning: No xauth data; using fake authentication data for X11 forwarding. > Xlib: connection to "localhost:10.0" refused by server > Xlib: Invalid MIT-MAGIC-COOKIE-1 key > Cannot open display: >=20 > I have: >=20 > # cat /etc/ssh/sshd_config | grep X11Forwarding > X11Forwarding yes >=20 > Does anyone know how to fix this? I remember fixing similar problem with "xhost +localhost" line. Don't really remember why it helped, since I lack basic knowledge of X authentication mechanisms. --=20 Mike Kazantsev // fraggod.net --Sig_/ZT4WOMd1Xq8+oZ2LC+VVS.s Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) iEYEARECAAYFAknzTukACgkQASbOZpzyXnFcEQCfbCXqkrT8n4D9BopBlm7vKs3j JG8An2+ZJmJEyPDE605LAJCYq00HjQWT =sqBJ -----END PGP SIGNATURE----- --Sig_/ZT4WOMd1Xq8+oZ2LC+VVS.s--