From owner-freebsd-questions Tue Mar 21 23:36:14 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mcferrin.cs.colostate.edu (mcferrin.CS.ColoState.EDU [129.82.45.122]) by hub.freebsd.org (Postfix) with ESMTP id C4A6537BD5C for ; Tue, 21 Mar 2000 23:36:06 -0800 (PST) (envelope-from kunze@CS.ColoState.EDU) Received: from localhost (kunze@localhost) by mcferrin.cs.colostate.edu (8.9.3/8.9.3) with ESMTP id AAA13378; Wed, 22 Mar 2000 00:35:35 -0700 (MST) Date: Wed, 22 Mar 2000 00:35:35 -0700 (MST) From: "Small, but frustrating." To: Dee Cee Cc: questions@FreeBSD.ORG Subject: Re: running X apps as root... In-Reply-To: <38D84109.30527CBB@cyrebels.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG are you talking about having problems connecting to your x server when you try to run things as root? take a look at 'xauth' and 'xhost'. if you're not worried about security on your machine try 'xhost +localhost' to authorize any x client on your machine to connect (so root, or anyone else logged on your machine can display things on your display). if you'd like things a bit more secure (and are using xdm) you can copy the magic cookie for your x-session to root's .Xauthority file as you: xauth list if you are the only person on your machine that is root it might be easier to simply make a symbolic link of the .Xauthority file in your home dir in /root. this way root will always have the same x permissions as you [this space irrationally left blank] matt kunze On Tue, 21 Mar 2000, Dee Cee wrote: > Hey > > Im running windowmaker as my window m. just so you know... > and i want to run programs in X under 'root'.. note that im not running > X from the root acct (duh!...) > > thanks! > > oh and btw, would it be unsecure or immoral or anything to run xwindows > s root...? > > thx! > dc > > > > 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