X11+ssh+jail

Micah micahjon at ywave.com
Wed Aug 2 04:02:41 UTC 2006


Anish Mistry wrote:
> On Tuesday 01 August 2006 19:44, Micah wrote:
>> I'm having problems trying to get X11 to forward from an ezjail
>> created jail environment. Here's what happens:
>>
>> trisha% ssh -X 10.0.0.1
>> ...
>> test% xclock
>> X11 connection rejected because of wrong authentication.
>> X connection to test:10.0 broken (explicit kill or server
>> shutdown).
>>
>> I added "X11UseLocalhost no" to sshd_config as suggested on the
>> lists a while back, but it didn't change anything.
>>
>> Host is:
>> trisha# uname -a
>> FreeBSD trisha.eidolonworld 6.1-RELEASE-p3 FreeBSD 6.1-RELEASE-p3
>> #1: Sat Jul 15 15:48:17 PDT 2006
>> root at trisha.eidolonworld:/usr/obj/usr/src/sys/TRISHA  i386
> Does using "ssh -Y 10.0.0.1" do anything different?
> 

Nope:

trisha% ssh -Y 10.0.0.1
Password:
test% xclock
X11 connection rejected because of wrong authentication.
X connection to test:10.0 broken (explicit kill or server shutdown).
test% exit
logout
Connection to test closed.
trisha% ssh -X 10.0.0.1
Password:
test% xclock
X11 connection rejected because of wrong authentication.
X connection to test:10.0 broken (explicit kill or server shutdown).


Thanks,
Micah


More information about the freebsd-questions mailing list