Date: Sat, 18 Aug 2001 07:34:26 +0200 From: Bjarne Wichmann Petersen <mekanix@privat.dk> To: Mike Meyer <mwm@mired.org> Cc: questions@freebsd.org Subject: Re: Opening root-windows on userX' display. Message-ID: <20010818053244.CBVZ14731.fepZ.post.tele.dk@there> In-Reply-To: <15229.31442.22463.777201@guru.mired.org> References: <15229.28801.77231.325740@guru.mired.org> <20010817194816.USLI23321.fepB.post.tele.dk@there> <15229.31442.22463.777201@guru.mired.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 17 August 2001 22:13, Mike Meyer wrote: > 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. Well, read it a couple of times including the xauth man page. All I got from this was that I needed to take something from users .Xauthority-file and merge it with another users (root) .Xauthority-file. Guess I haven't fully grasped it, because it didn't work. It never occured to me that I just could make XAUTHORITY point at /home/joeuser/.Xauthority. That worked! Now, next step is how do I do this automatically. I could put this XAUTHORITY into /root/.profile but that would only work for joe-user, and I'd really like to be able to do it for all users. Bjarne 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?20010818053244.CBVZ14731.fepZ.post.tele.dk>