Date: Fri, 17 Aug 2001 15:13:06 -0500 From: Mike Meyer <mwm@mired.org> To: Bjarne Wichmann Petersen <mekanix@privat.dk> Cc: questions@freebsd.org Subject: Re: Opening root-windows on userX' display. Message-ID: <15229.31442.22463.777201@guru.mired.org> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
Bjarne Wichmann Petersen <mekanix@privat.dk> 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 <mwm@mired.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15229.31442.22463.777201>
