From owner-freebsd-questions Wed Nov 1 19:32:12 2000 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-27-149-77.mmcable.com [24.27.149.77]) by hub.freebsd.org (Postfix) with SMTP id 1F5DA37B4CF for ; Wed, 1 Nov 2000 19:32:11 -0800 (PST) Received: (qmail 20129 invoked by uid 100); 2 Nov 2000 03:32:10 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14848.57402.146609.211725@guru.mired.org> Date: Wed, 1 Nov 2000 21:32:10 -0600 (CST) To: John Indra Cc: questions@freebsd.org Subject: X authority (Was: A few questions) In-Reply-To: <4261036@toto.iv> X-Mailer: VM 6.75 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG John Indra types: > On Wed, Nov 01, 2000 at 11:45:52AM -0500, pW wrote: > |As for root opening up an X app... use just 'su' instead of 'su -' > Hmmm... I wasn't looking for this solution. But thanks anyway ;) > I'm interested about how xauth works and I believe this has something to do > with X cookies. Please CMIIW. > Where can I read more about this? "man xauth" actually has all the information. You need to make sure that everyone's XAUTHORITY file has the same information for the display in question. You might also check what xhost is set to, and read the Xsecurity man page. My solution is to ignore it, and use ssh with X forwarding to connect to remote machines. That doesn't work to su to another user on the same host, though. Setting XAUTHORITY to something that includes the display you're using should make everything work for all users you become, though.