From owner-freebsd-questions Fri Aug 17 13:13: 9 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-27-141-144.mmcable.com [24.27.141.144]) by hub.freebsd.org (Postfix) with SMTP id 0AD9837B401 for ; Fri, 17 Aug 2001 13:13:07 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 92230 invoked by uid 100); 17 Aug 2001 20:13:06 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15229.31442.22463.777201@guru.mired.org> Date: Fri, 17 Aug 2001 15:13:06 -0500 To: Bjarne Wichmann Petersen Cc: questions@freebsd.org Subject: Re: Opening root-windows on userX' display. In-Reply-To: <20010817194816.USLI23321.fepB.post.tele.dk@there> References: <15229.28801.77231.325740@guru.mired.org> <20010817194816.USLI23321.fepB.post.tele.dk@there> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ 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 Bjarne Wichmann Petersen types: > On Friday 17 August 2001 21:29, Mike Meyer wrote: > > Make sure the environment XAUTHORITY variable is set when you're > > working as root. > Set it where? If I make a 'export XAUTHORITY=yes|1 ; kcontrol' from the > commandprompt (tried from both root and joeuser before running 'su') and > still get the error. Try reading the X man page. From that: The file from which Xlib extracts authorization data can be specified with the environment variable XAUTHORITY, and defaults to the file .Xauthority in the home directory. Xdm uses $HOME/.Xauthority and will create it or merge in authorization records if it already exists when a user logs in. -- Mike Meyer http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message