From owner-freebsd-questions Wed Jan 3 2:58:26 2001 From owner-freebsd-questions@FreeBSD.ORG Wed Jan 3 02:58:24 2001 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from heinz.jollem.com (c104187.upc-c.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id BE41237B400 for ; Wed, 3 Jan 2001 02:58:23 -0800 (PST) Received: (from ernst@localhost) by heinz.jollem.com (8.11.1/8.11.1) id f03AvEV01048 for freebsd-questions@freebsd.org; Wed, 3 Jan 2001 11:57:14 +0100 (CET) (envelope-from ernst) Date: Wed, 3 Jan 2001 11:57:13 +0100 From: Ernst de Haan To: FreeBSD Questions mailing list Subject: Invalid MIT-MAGIC-COOKIE-1 key Message-ID: <20010103115713.A1027@c187104187.telekabel.chello.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: ernst@heinz.jollem.com Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have started X as a normal user. I opened a terminal window, and executed: bash-2.04$ su - Password: # bash bash-2.04# export DISPLAY=0:0 bash-2.04# xterm & bash-2.04# Xlib: connection to "0:0.0" refused by server Xlib: Invalid MIT-MAGIC-COOKIE-1 key Warning: This program is an suid-root program or is being run by the root user. The full text of the error or warning message cannot be safely formatted in this environment. You may get a more descriptive message by running the program as a non-root user or by removing the suid bit on the executable. xterm Xt error: Can't open display: %s [1]+ Exit 1 xterm What's a MIT-MAGIC-COOKIE-1 key, and why do I have an invalid one? I guess this has something to do with PAM ? Any pointers to documentation would be greatly appreciated. -- Ernst To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message