From owner-freebsd-questions@FreeBSD.ORG Wed Aug 2 00:07:12 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1138416A4DF for ; Wed, 2 Aug 2006 00:07:12 +0000 (UTC) (envelope-from chad@shire.net) Received: from hobbiton.shire.net (mail.shire.net [166.70.252.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0455A43D53 for ; Wed, 2 Aug 2006 00:07:10 +0000 (GMT) (envelope-from chad@shire.net) Received: from [67.171.127.191] (helo=[192.168.99.68]) by hobbiton.shire.net with esmtpa (Exim 4.51) id 1G84GU-000NpB-7J; Tue, 01 Aug 2006 18:07:10 -0600 In-Reply-To: <44CFE745.1000206@ywave.com> References: <44CFE745.1000206@ywave.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <974320D7-3E87-4D57-9A79-BD3ED46D1B0C@shire.net> Content-Transfer-Encoding: 7bit From: "Chad Leigh -- Shire.Net LLC" Date: Tue, 1 Aug 2006 18:07:09 -0600 To: Micah X-Mailer: Apple Mail (2.752.2) X-SA-Exim-Connect-IP: 67.171.127.191 X-SA-Exim-Mail-From: chad@shire.net X-SA-Exim-Scanned: No (on hobbiton.shire.net); SAEximRunCond expanded to false Cc: FreeBSD Questions Subject: Re: X11+ssh+jail 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: Wed, 02 Aug 2006 00:07:12 -0000 On Aug 1, 2006, at 5:44 PM, 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. Are you doing an su or something before you run the X program? I have not had problems launching X programs in side a jail over ssh but I did get that same error when I did an su first since I was no longer my username. I copied the .Xauthority over from my user into ~root and it worked. (In case anyone asks, I was testing a system management app that needs to run as root to access some stuff and I was just testing it for someone. I don't normally run X things at all or as root ) Chad > 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 > > Thanks, > Micah > _______________________________________________ > 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" --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net