Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jun 2001 15:29:15 -0500
From:      Joe Guetler <joe@axiomadvertising.com>
To:        Drew Tomlinson <drewt@writeme.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: OT: Xwindows Error While Using KDE 2.1
Message-ID:  <3B2A701A.8B8C8924@axiomadvertising.com>
References:  <01061511253104.50316@milkmaker.lc.ca.gov>

next in thread | previous in thread | raw e-mail | index | archive | help
	it's an Xwindows security issue.  Try typing xhost +localhost on the
command line as a normal user before you su.

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
> 
> Gtk-WARNING **: cannot open display: :0.0
> 
> However if I issue the same command not su'ed, then it works fine.  I have
> experienced this with other commands as well such as konqueror.  Does
> anybody have any ideas?
> 
> Thanks,
> 
> Drew
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

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?3B2A701A.8B8C8924>