Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Dec 2006 15:32:54 -0800
From:      Christopher Cowart <ccowart@rescomp.berkeley.edu>
To:        Lane <lane@joeandlane.com>
Cc:        FreeBSD Questions <questions@freebsd.org>
Subject:   Re: xorg on a headless, mouseless, keyboardless box
Message-ID:  <20061216233254.GF4409@rescomp.berkeley.edu>
In-Reply-To: <200612161350.12657.lane@joeandlane.com>
References:  <200612161224.14708.lane@joeandlane.com> <cb5206420612161034x6dc55f35v83be24eb0a866062@mail.gmail.com> <200612161350.12657.lane@joeandlane.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
> I've used this "ssh -X" that you mention. This works fine for "userland" 
> programs, but in order to troubleshoot my particular issue I'd need to be 
> logged in as root.  When I try to "su" remotely to run the command I get:
> 
> 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.

> 
> I might try logging in locally as root and see what happens .... 
> 
> But in the long run I think that if I could understand how to grant myself an 
> actual X session on the remote box then I could figure out how to do this and 
> potentially other stuff.
> 
> Thanks for any information you might share.
> 
> 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.org"
> 

-- 
Chris Cowart
Network and Infrastructure Systems Administrator
RSSP-IT, UC Berkeley
"May all your pushes be popped"

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFFhIImV3SOqjnqPh0RAtXqAJ4z1xmrEUfPOXfHXkDXroXAJrbj5wCgxHDy
HOnb4eqnaxRuvFzSE5DcG2M=
=tn99
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061216233254.GF4409>