From owner-freebsd-questions Fri Jun 15 14:52:47 2001 Delivered-To: freebsd-questions@freebsd.org Received: from yertle.kciLink.com (yertle.kcilink.com [216.194.193.105]) by hub.freebsd.org (Postfix) with ESMTP id 586AA37B403 for ; Fri, 15 Jun 2001 14:52:45 -0700 (PDT) (envelope-from khera@kcilink.com) Received: from onceler.kciLink.com (onceler.kciLink.com [216.194.193.106]) by yertle.kciLink.com (Postfix) with ESMTP id F02D12E45F for ; Fri, 15 Jun 2001 17:52:43 -0400 (EDT) Received: (from khera@localhost) by onceler.kciLink.com (8.11.4/8.11.3) id f5FLqhh99266; Fri, 15 Jun 2001 17:52:43 -0400 (EDT) (envelope-from khera@kcilink.com) X-Authentication-Warning: onceler.kciLink.com: khera set sender to khera@kcilink.com using -f To: questions@freebsd.org Subject: Re: OT: Xwindows Error While Using KDE 2.1 References: <01061511253104.50316@milkmaker.lc.ca.gov> <3B2A701A.8B8C8924@axiomadvertising.com> From: Vivek Khera Date: 15 Jun 2001 17:52:43 -0400 In-Reply-To: <3B2A701A.8B8C8924@axiomadvertising.com> Message-ID: Lines: 28 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >>>>> "JG" == Joe Guetler writes: JG> it's an Xwindows security issue. Try typing xhost +localhost on the JG> command line as a normal user before you su. That's inredibly bad advice, unless your box is secured. Try this after you su: setenv XAUTHORITY ~$USER/.Xauthority $USER should be your original user name when you su. JG> Drew Tomlinson wrote: >> >> I installed KDE 2.1.1 on my 4.3-STABLE machine. I'm logged on via a >> regular account and open a terminal window. If I enter a command while >> su'ed to root that would open up a window, I get the following error: >> >> milkmaker# nmapfe >> Xlib: connection to ":0.0" refused by server >> Xlib: Invalid MIT-MAGIC-COOKIE-1 key -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Vivek Khera, Ph.D. Khera Communications, Inc. Internet: khera@kciLink.com Rockville, MD +1-240-453-8497 AIM: vivekkhera Y!: vivek_khera http://www.khera.org/~vivek/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message