Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Mar 2017 13:39:29 -0400
From:      "James B. Byrne" <byrnejb@harte-lyne.ca>
To:        freebsd-questions@freebsd.org
Subject:   X11 and ezjails
Message-ID:  <7f49f81e25d0eb05aad1af66df49c525.squirrel@webmail.harte-lyne.ca>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7f49f81e25d0eb05aad1af66df49c525.squirrel>