From owner-freebsd-questions Fri Jun 15 13:12:34 2001 Delivered-To: freebsd-questions@freebsd.org Received: from swan.mail.pas.earthlink.net (swan.mail.pas.earthlink.net [207.217.120.123]) by hub.freebsd.org (Postfix) with ESMTP id 14AC337B407 for ; Fri, 15 Jun 2001 13:12:22 -0700 (PDT) (envelope-from ipthomas_77@yahoo.com) Received: from scraemondaemon.my.domain (sdn-ar-001nybuffP113.dialsprint.net [168.191.114.73]) by swan.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id NAA01905; Fri, 15 Jun 2001 13:11:57 -0700 (PDT) Received: (from ipt@localhost) by scraemondaemon.my.domain (8.9.3/8.9.3) id QAA37743; Fri, 15 Jun 2001 16:10:17 -0400 (EDT) (envelope-from ipt) From: "Ian P. Thomas" Message-Id: <200106152010.QAA37743@scraemondaemon.my.domain> Subject: Re: OT: Xwindows Error While Using KDE 2.1 To: drewt@writeme.com (Drew Tomlinson) Date: Fri, 15 Jun 2001 16:10:13 -0400 (EDT) Cc: freebsd-questions@freebsd.org In-Reply-To: <01061511253104.50316@milkmaker.lc.ca.gov> from "Drew Tomlinson" at Jun 15, 2001 11:25:31 AM X-Mailer: ELM [version 2.5 PL5] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 A few days ago there was a discussion about su not playing nicely with KDE. I forget the name of the thread. You could try sudo, it may give better results. Ian In the last episode, Drew Tomlinson stated... > > 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