From owner-freebsd-mobile Sun Jul 2 11:40:37 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from moek.pir.net (moek.pir.net [209.192.237.190]) by hub.freebsd.org (Postfix) with ESMTP id 1532A37B70A for ; Sun, 2 Jul 2000 11:40:26 -0700 (PDT) (envelope-from pir@pir.net) Received: from pir by moek.pir.net with local (Exim) id 138ofD-0004B0-00 for freebsd-mobile@FreeBSD.ORG; Sun, 02 Jul 2000 14:40:19 -0400 Date: Sun, 2 Jul 2000 14:40:18 -0400 From: Peter Radcliffe To: freebsd-mobile@FreeBSD.ORG Subject: Re: X-display from laptop to desk Message-ID: <20000702144018.C13133@pir.net> Mail-Followup-To: freebsd-mobile@FreeBSD.ORG References: <20000702191902.A34291@keltia.freenix.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000702191902.A34291@keltia.freenix.fr>; from roberto@keltia.freenix.fr on Sun, Jul 02, 2000 at 07:19:02PM +0200 X-fish: < Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Ollivier Robert probably said: > Instead of ssh-ing as root, use some utility such as calife (found > in ports/security/calife) or sudo to become root. That way, the > authentication is not a problem anymore. I like keeping my enviroment when I su (yes, I know there are pitfalls with this and I allow for them) so use 'su -m' on a FreeBSD box (there are ways to do with with most any UNIX OS, but they're all different). This retains $HOME, so $HOME/.Xauthority is still valid, so ssh X forwarding still works. The only problem I've had was in testing OpenSSH; it seems to use per session Xauthority files. While this isn't a bad idea in itself, it breaks xauth through an su which means it's useless to me. Anyone hit this already and found a way to work around it ? P. -- pir pir@pir.net pir@net.tufts.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message