From owner-freebsd-questions Fri Aug 17 22:32:57 2001 Delivered-To: freebsd-questions@freebsd.org Received: from fepZ.post.tele.dk (fepz.post.tele.dk [195.41.46.133]) by hub.freebsd.org (Postfix) with ESMTP id A22BB37B406 for ; Fri, 17 Aug 2001 22:32:46 -0700 (PDT) (envelope-from mekanix@privat.dk) Received: from there ([62.243.18.42]) by fepZ.post.tele.dk (InterMail vM.4.01.03.21 201-229-121-121-20010307) with SMTP id <20010818053244.CBVZ14731.fepZ.post.tele.dk@there>; Sat, 18 Aug 2001 07:32:44 +0200 Content-Type: text/plain; charset="iso-8859-1" From: Bjarne Wichmann Petersen To: Mike Meyer Subject: Re: Opening root-windows on userX' display. Date: Sat, 18 Aug 2001 07:34:26 +0200 X-Mailer: KMail [version 1.3] Cc: questions@freebsd.org References: <15229.28801.77231.325740@guru.mired.org> <20010817194816.USLI23321.fepB.post.tele.dk@there> <15229.31442.22463.777201@guru.mired.org> In-Reply-To: <15229.31442.22463.777201@guru.mired.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20010818053244.CBVZ14731.fepZ.post.tele.dk@there> 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 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