From owner-freebsd-questions@freebsd.org Fri Mar 31 17:39:42 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4BA17D27EC5 for ; Fri, 31 Mar 2017 17:39:42 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from inet08.hamilton.harte-lyne.ca (inet08.hamilton.harte-lyne.ca [216.185.71.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "inet08.hamilton.harte-lyne.ca", Issuer "CA_HLL_ISSUER_2016" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 190AD39E for ; Fri, 31 Mar 2017 17:39:41 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from localhost (localhost [127.0.0.1]) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTP id 27181623C3 for ; Fri, 31 Mar 2017 13:39:31 -0400 (EDT) X-Virus-Scanned: amavisd-new at harte-lyne.ca Received: from inet08.hamilton.harte-lyne.ca ([127.0.0.1]) by localhost (inet08.hamilton.harte-lyne.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id t0_F8qqXYPY3 for ; Fri, 31 Mar 2017 13:39:29 -0400 (EDT) Received: from webmail.harte-lyne.ca (inet04.hamilton.harte-lyne.ca [216.185.71.24]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTPSA id 4462B623AD for ; Fri, 31 Mar 2017 13:39:29 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=harte-lyne.ca; s=dkim_hll; t=1490981969; bh=tMk1kU0aIauoSiRap55DfxGlOMFD0oa7RpnCW2m3cLg=; h=Date:Subject:From:To:Reply-To; b=vuxKMpOFCPXfg82ZI4YvEu6Gt+XQ4JPc4mdvDtUaWMLegRboeeYOrWMolD+x7B/Ey RMX7ur/fulblAKkNy3P4jmqCUqsMaglQvDSByHfild8YB4btVxadLT57oLoTRerJt8 0p3YMRhSwwJzgJE6j8i5HgPyM4dkWujEkRb0tYClovfkoEygsYTtkADI3uvi/zy1Tx 3p6LX1jv84fcxA7sMbcuyGAwiVfdS8u8kjUhT2dtN19dMA9Jj7bncIxwOnONd2QL6l 3E4J8hF/rQiy4K1PNcrb8d8gKsbMNkPaFsVLBNqo8ArkvtGqmkMkzs/J2rqmN/faQi dxSEU64BFsrNA== Received: from 216.185.71.44 (SquirrelMail authenticated user byrnejb_hll) by webmail.harte-lyne.ca with HTTP; Fri, 31 Mar 2017 13:39:29 -0400 Message-ID: <7f49f81e25d0eb05aad1af66df49c525.squirrel@webmail.harte-lyne.ca> Date: Fri, 31 Mar 2017 13:39:29 -0400 Subject: X11 and ezjails From: "James B. Byrne" To: freebsd-questions@freebsd.org Reply-To: byrnejb@harte-lyne.ca User-Agent: SquirrelMail/1.4.22-4.el6 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Mar 2017 17:39:42 -0000 FreeBSD-11.0 I would like to run gvim in an X11 window over ssh to a jailed instance created with ezjail. I have set sshd_config in the jail to allow X11Forwarding and I am connecting with 'ssh -Y jail.domain.tld' However, when I log into the jail and run gvim then I see this: # gvim X11 connection rejected because of wrong authentication. E233: cannot open display Press ENTER or type command to continue E852: The child process failed to start the GUI X11 connection rejected because of wrong authentication. I have run into this before and have attempted to apply all of the previous remedies but nothing seems to work. Is there anything about jails themselves that would prevent X11 forwarding? Has anyone accomplished what I am trying to do? If so then how was it done? -- *** e-Mail is NOT a SECURE channel *** Do NOT transmit sensitive data via e-Mail Do NOT open attachments nor follow links sent by e-Mail James B. Byrne mailto:ByrneJB@Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3 -- *** e-Mail is NOT a SECURE channel *** Do NOT transmit sensitive data via e-Mail Do NOT open attachments nor follow links sent by e-Mail James B. Byrne mailto:ByrneJB@Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3