From owner-freebsd-questions Fri Jun 15 11:25:27 2001 Delivered-To: freebsd-questions@freebsd.org Received: from lcmail2.lc.ca.gov (lcmail2.lc.ca.gov [165.107.12.11]) by hub.freebsd.org (Postfix) with ESMTP id C437037B40E for ; Fri, 15 Jun 2001 11:25:13 -0700 (PDT) (envelope-from drewt@writeme.com) Received: from CONVERSION-DAEMON by lcmail2.lc.ca.gov (PMDF V5.2-27 #40821) id <0GEZ00501HU0AF@lcmail2.lc.ca.gov> for freebsd-questions@freebsd.org; Fri, 15 Jun 2001 11:25:18 -0700 (PDT) Received: from milkmaker.lc.ca.gov ([165.107.42.161]) by lcmail2.lc.ca.gov (PMDF V5.2-27 #40821) with SMTP id <0GEZ00LRPHT2WR@lcmail2.lc.ca.gov> for freebsd-questions@freebsd.org; Fri, 15 Jun 2001 11:24:38 -0700 (PDT) Date: Fri, 15 Jun 2001 11:25:31 -0700 From: Drew Tomlinson Subject: OT: Xwindows Error While Using KDE 2.1 To: freebsd-questions@freebsd.org Message-id: <01061511253104.50316@milkmaker.lc.ca.gov> MIME-version: 1.0 X-Mailer: KMail [version 1.2] Content-type: text/plain; charset="iso-8859-1" Content-transfer-encoding: 8bit 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 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