From owner-freebsd-hackers@FreeBSD.ORG Sun Apr 20 16:31:41 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 98A2B37B401 for ; Sun, 20 Apr 2003 16:31:41 -0700 (PDT) Received: from saturn.bsdhome.com (rrcs-midsouth-24-199-212-224.biz.rr.com [24.199.212.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id D9A4543FDF for ; Sun, 20 Apr 2003 16:31:40 -0700 (PDT) (envelope-from bsd@bsdhome.com) Received: from neutrino.bsdhome.com (jupiter [192.168.220.13]) by saturn.bsdhome.com (8.12.9/8.12.9) with ESMTP id h3KNVWam000406 for ; Sun, 20 Apr 2003 19:31:32 -0400 (EDT) (envelope-from bsd@bsdhome.com) Received: from neutrino.bsdhome.com (localhost [127.0.0.1]) by neutrino.bsdhome.com (8.12.9/8.12.9) with ESMTP id h3KNVYPv000824; Sun, 20 Apr 2003 19:31:34 -0400 (EDT) (envelope-from bsd@neutrino.bsdhome.com) Received: (from bsd@localhost) by neutrino.bsdhome.com (8.12.9/8.12.9/Submit) id h3KNVXNv000823; Sun, 20 Apr 2003 19:31:33 -0400 (EDT) (envelope-from bsd) Date: Sun, 20 Apr 2003 19:31:33 -0400 From: Brian Dean To: freebsd-hackers@freebsd.org Message-ID: <20030420233133.GA593@neutrino.bsdhome.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: using x11 forwarding with ssh from a jail X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Apr 2003 23:31:41 -0000 Hi, Is anyone having problems connecting to their X server from inside a jail using ssh's X11 forwarding? >From my non-jail environment, I ssh into my jail environment with X11 forwarding enabled. When I try to invoke an X application, I get: % xclock X11 connection rejected because of wrong authentication. X connection to localhost:11.0 broken (explicit kill or server shutdown). It works fine if I uset 'xhost +' in my non-jail environment and the point my display appropriately from inside the jail (bypassing ssh x11 forwarding). Any ideas why X11 forwarding doesn't seem to do the right thing? -Brian -- Brian Dean bsd@FreeBSD.org bsd@bsdhome.com http://www.bsdhome.com/ http://www.bdmicro.com/