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-94706-garchives=archives.gentoo.org@lists.gentoo.org>) id 1LzYfI-0004k0-0o for garchives@archives.gentoo.org; Thu, 30 Apr 2009 15:59:12 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E451EE0292; Thu, 30 Apr 2009 15:59:10 +0000 (UTC) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.244]) by pigeon.gentoo.org (Postfix) with ESMTP id C90A1E0299 for <gentoo-user@lists.gentoo.org>; Thu, 30 Apr 2009 15:59:10 +0000 (UTC) Received: by an-out-0708.google.com with SMTP id d40so1372754and.1 for <gentoo-user@lists.gentoo.org>; Thu, 30 Apr 2009 08:59:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=wzKZK6BSVStBu4lbxR8079w7C2Et0O26MxgcuePWty0=; b=Fn0Z7sXRtOKaBSoZpGhXVH7czmZhEm9CB5pyfHuaBtuWhWlzghQmqzzbwH3ZpzJnLg KcNHi2Aqglc7isQgKNy5PlETbLDdSF0ihpGkAyDLERKyKHxs+Dr9GtQMcR3JLtY8e1ue WulEZAp/YyE+qG6I/k1jQEf+7I8NomQ3tYx9I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=v17pjYy3kcnm+9zJcMIADqVNhPFeebQB+WpkBFz3wYSisxihrVwSEJx1vuJUxKJEho x8SNiPjhvoABL/YQOx8M0MSpAj2azJu14wuUK02Ae18sC+/GZDZ2YhkzZUxbZCo0/GWT yXvNDUUOcPRUyZWalhZuSzjDk/WCgoPcLeqPw= 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 Received: by 10.100.43.10 with SMTP id q10mr3495177anq.113.1241107150420; Thu, 30 Apr 2009 08:59:10 -0700 (PDT) In-Reply-To: <gt4rbf$s8m$1@ger.gmane.org> References: <49bf44f10904240801x2f5e4236v16c297859cc5c9d7@mail.gmail.com> <gt4rbf$s8m$1@ger.gmane.org> Date: Thu, 30 Apr 2009 08:59:10 -0700 Message-ID: <49bf44f10904300859n1ef55ae1l8f97d97335f49089@mail.gmail.com> Subject: Re: [gentoo-user] Re: X-forwarding fails with "Invalid MIT-MAGIC-COOKIE-1 key" From: Grant <emailgrant@gmail.com> To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: f55ec011-9276-4dc2-a123-6987c7385c25 X-Archives-Hash: a9fbd8c6b619e5b034a3683a5caa2006 >> X-forwarding used to work for me but I haven't used it in a while and no= w >> I get: >> >> Warning: untrusted X11 forwarding setup failed: xauth key data not >> generated >> Warning: No xauth data; using fake authentication data for X11 forwardin= g. >> Xlib: connection to "localhost:10.0" refused by server >> Xlib: Invalid MIT-MAGIC-COOKIE-1 key >> Cannot open display: >> >> I have: >> >> # cat /etc/ssh/sshd_config | grep X11Forwarding >> X11Forwarding yes >> >> Does anyone know how to fix this? > > First, ssh to the box without X forwarding and: > > =A0rm ~/.Xauthority > =A0rm ~/.ICEauthority > =A0logout > > Then try to ssh again with X forwarding enabled. =A0It should work. Unfortunately I still get the same error. I'll try to put together an xauth command, but does anyone know what happened here? Usually you just enable X11Forwarding and you can use it right? - Grant