From owner-freebsd-questions Thu Sep 16 7:19:58 1999 Delivered-To: freebsd-questions@freebsd.org Received: from smtp4.mindspring.com (smtp4.mindspring.com [207.69.200.64]) by hub.freebsd.org (Postfix) with ESMTP id A603414D65 for ; Thu, 16 Sep 1999 07:19:54 -0700 (PDT) (envelope-from stuyman@confusion.net) Received: from confusion.net (user-2iveai7.dialup.mindspring.com [165.247.42.71]) by smtp4.mindspring.com (8.8.5/8.8.5) with ESMTP id KAA09401; Thu, 16 Sep 1999 10:19:33 -0400 (EDT) Message-ID: <37E0FC41.1A1D77F6@confusion.net> Date: Thu, 16 Sep 1999 10:18:41 -0400 From: Laurence Berland Organization: B.R.A.T.T. X-Mailer: Mozilla 4.5 [en] (Win95; U) X-Accept-Language: en MIME-Version: 1.0 To: Sheldon Hearn Cc: questions@FreeBSD.ORG Subject: Re: xdm xhosts authorization confusing me References: <64092.937488901@axl.noc.iafrica.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG that would work for one user, but if I want to be able to su to various different local users, or come to root from different xdm username logins, that won't work Sheldon Hearn wrote: > > On Thu, 16 Sep 1999 09:11:25 -0400, Laurence Berland wrote: > > > Xlib: connection to ":0.0" refused by server > > This is because xdm provides the user who logs in with a cookie which > must be available later when clients try to display to your X server. > > An easy work-around is to provide root with a symlink to your user's > .Xauthority file as follows: > > # cd /root > # ln -s /home/username/.Xauthority > > Obviously, you would substitute for ``username'' whatever username you > use to log in to XDM. > > Ciao, > Sheldon. -- Laurence Berland, Stuyvesant HS Debate <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> Windows 98: n. useless extension to a minor patch release for 32-bit extensions and a graphical shell for a 16-bit patch to an 8-bit operating system originally coded for a 4-bit microprocessor, written by a 2-bit company that can't stand for 1 bit of competition. http://stuy.debate.net icq #7434346 aol imer E1101 The above email Copyright (C) 1999 Laurence Berland All rights reserved To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message