Date: Sun, 17 Jun 2001 00:59:30 +1000 (EST) From: Steven Goodwin <steve@cit.gu.edu.au> To: Drew Tomlinson <drewt@writeme.com> Cc: "'Joe Guetler'" <joe@axiomadvertising.com>, freebsd-questions@FreeBSD.ORG Subject: RE: OT: Xwindows Error While Using KDE 2.1-- SOLVED Message-ID: <Pine.GSO.3.96.1010617005820.348E-100000@kurango.cit.gu.edu.au> In-Reply-To: <5CD46247635BD511B6B100A0CC3F0239259FA2@ldcmsx01.lc.ca.gov>
next in thread | previous in thread | raw e-mail | index | archive | help
You can also just use the -m option with su %su -m Steve On Sat, 16 Jun 2001, Drew Tomlinson wrote: > Thank you! That worked. > > Drew > > > -----Original Message----- > > From: Joe Guetler [mailto:joe@axiomadvertising.com] > > Sent: Friday, June 15, 2001 1:29 PM > > To: Drew Tomlinson > > Cc: freebsd-questions@freebsd.org > > Subject: Re: OT: Xwindows Error While Using KDE 2.1 > > > > > > 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 > 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?Pine.GSO.3.96.1010617005820.348E-100000>