From owner-freebsd-questions@FreeBSD.ORG Sat Dec 16 23:33:13 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3316916A407; Sat, 16 Dec 2006 23:33:13 +0000 (UTC) (envelope-from ccowart@hal.rescomp.berkeley.edu) Received: from rescomp.berkeley.edu (keyserver.Rescomp.Berkeley.EDU [169.229.70.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id D669143CDA; Sat, 16 Dec 2006 23:32:55 +0000 (GMT) (envelope-from ccowart@hal.rescomp.berkeley.edu) Received: by rescomp.berkeley.edu (Postfix, from userid 1225) id 0DEE95B78B; Sat, 16 Dec 2006 15:32:54 -0800 (PST) Date: Sat, 16 Dec 2006 15:32:54 -0800 From: Christopher Cowart To: Lane Message-ID: <20061216233254.GF4409@rescomp.berkeley.edu> References: <200612161224.14708.lane@joeandlane.com> <200612161350.12657.lane@joeandlane.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="b8GWCKCLzrXbuNet" Content-Disposition: inline In-Reply-To: <200612161350.12657.lane@joeandlane.com> User-Agent: Mutt/1.5.9i Cc: FreeBSD Questions Subject: Re: xorg on a headless, mouseless, keyboardless box X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Dec 2006 23:33:13 -0000 --b8GWCKCLzrXbuNet Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > I've used this "ssh -X" that you mention. This works fine for "userland"= =20 > programs, but in order to troubleshoot my particular issue I'd need to be= =20 > logged in as root. When I try to "su" remotely to run the command I get: >=20 > X11 connection rejected because of wrong authentication. > X connection to localhost:10.0 broken (explicit kill or server shutdown). I think what's going on is that X puts some authentication information in your home directory: ~/.Xauthority. You might try: $ su -m That will preserve your environment (including $HOME). Now when X goes looking for the ~/.Xauthority, it will find the one sshd set up in your user home directory. >=20 > I might try logging in locally as root and see what happens ....=20 >=20 > But in the long run I think that if I could understand how to grant mysel= f an=20 > actual X session on the remote box then I could figure out how to do this= and=20 > potentially other stuff. >=20 > Thanks for any information you might share. >=20 > lane > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" >=20 --=20 Chris Cowart Network and Infrastructure Systems Administrator RSSP-IT, UC Berkeley "May all your pushes be popped" --b8GWCKCLzrXbuNet Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQFFhIImV3SOqjnqPh0RAtXqAJ4z1xmrEUfPOXfHXkDXroXAJrbj5wCgxHDy HOnb4eqnaxRuvFzSE5DcG2M= =tn99 -----END PGP SIGNATURE----- --b8GWCKCLzrXbuNet--