Skip site navigation (1)Skip section navigation (2)
Date:      15 Jun 2001 17:52:43 -0400
From:      Vivek Khera <khera@kcilink.com>
To:        questions@freebsd.org
Subject:   Re: OT: Xwindows Error While Using KDE 2.1
Message-ID:  <x766dxv2ac.fsf@onceler.kciLink.com>
In-Reply-To: <3B2A701A.8B8C8924@axiomadvertising.com>
References:  <01061511253104.50316@milkmaker.lc.ca.gov> <3B2A701A.8B8C8924@axiomadvertising.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "JG" == Joe Guetler <joe@axiomadvertising.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?x766dxv2ac.fsf>