From owner-freebsd-questions@FreeBSD.ORG Mon Jan 5 15:18:22 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D6604106564A for ; Mon, 5 Jan 2009 15:18:22 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id 949668FC18 for ; Mon, 5 Jan 2009 15:18:22 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from isis.bris.ac.uk ([137.222.10.63]) by dirj.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1LJrDW-0007eW-JA for freebsd-questions@freebsd.org; Mon, 05 Jan 2009 15:18:21 +0000 Received: from mech-cluster238.men.bris.ac.uk ([137.222.187.238]) by isis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1LJrDV-0000m4-To for freebsd-questions@freebsd.org; Mon, 05 Jan 2009 15:18:10 +0000 Received: from mech-cluster238.men.bris.ac.uk (localhost.men.bris.ac.uk [127.0.0.1]) by mech-cluster238.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id n05FI9eo056920 for ; Mon, 5 Jan 2009 15:18:09 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster238.men.bris.ac.uk (8.14.3/8.14.3/Submit) id n05FI95T056919 for freebsd-questions@freebsd.org; Mon, 5 Jan 2009 15:18:09 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster238.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Mon, 5 Jan 2009 15:18:08 +0000 From: Anton Shterenlikht To: freebsd-questions@freebsd.org Message-ID: <20090105151808.GA56892@mech-cluster238.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) X-Spam-Score: -1.4 X-Spam-Level: - Subject: Xlib: Invalid MIT-MAGIC-COOKIE-1 key 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: Mon, 05 Jan 2009 15:18:23 -0000 I've two boxes on which I run X servers, one box is 7.1-prelelease, the other is 8.0-current, both i386. Both boxes run xorg-server-1.4.2,1. Both boxes have identical $HOME/.Xauthority. However, when I connect to another computer with ssh -X and try to run a client, say xclock, one xserver displays the result fine, while the other gives: % xclock Xlib: connection to "localhost:22.0" refused by server Xlib: Invalid MIT-MAGIC-COOKIE-1 key Error: Can't open display: localhost:22.0 % I spent quite a lot of time looking at what are the differences between my 2 X servers, but can't see any. This should be a simple problem, just find what the differences are between the working and the broken configurations, and implement them. But I can't find any differences. What should I look at to resolve the problem? many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423