Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Aug 2006 21:02:38 -0700
From:      Micah <micahjon@ywave.com>
To:        Anish Mistry <amistry@am-productions.biz>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: X11+ssh+jail
Message-ID:  <44D023DE.2020901@ywave.com>
In-Reply-To: <200608012350.36103.amistry@am-productions.biz>
References:  <44CFE745.1000206@ywave.com> <200608012350.36103.amistry@am-productions.biz>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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



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