Date: Fri, 31 Mar 2017 20:45:17 +0200 From: Polytropon <freebsd@edvax.de> To: byrnejb@harte-lyne.ca Cc: "James B. Byrne via freebsd-questions" <freebsd-questions@freebsd.org> Subject: Re: X11 and ezjails Message-ID: <20170331204517.f30e0f3b.freebsd@edvax.de> In-Reply-To: <7f49f81e25d0eb05aad1af66df49c525.squirrel@webmail.harte-lyne.ca> References: <7f49f81e25d0eb05aad1af66df49c525.squirrel@webmail.harte-lyne.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 31 Mar 2017 13:39:29 -0400, James B. Byrne via freebsd-questions wrote: > 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? Just a very stupid question: You _did_ set $DISPLAY as needed? See "man ssh", section X11 FORWARDING. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170331204517.f30e0f3b.freebsd>