frebsd jails advice

James B. Byrne byrnejb at
Tue Dec 11 14:23:25 UTC 2018

On Mon, December 10, 2018 06:51, Matthew Seaman wrote:

> Instead, set up your jails with ssh and ssh into each of them,
> forwarding an X connection over SSH (which will typically set up thigs
> like DISPLAY appropriately in the environment for you.)

I personally have never been able to get gvim to run over an ssh -X
connection to a jail.  When I asked about this on this list I recall
being told that jails simply do not support X-windowing as a client.

# ssh -Xt hll124
X11 forwarding request failed on channel 0
Last login: Tue Dec 11 09:08:41 2018 from hll124
FreeBSD 11.2-RELEASE-p4 (GENERIC) #0: Thu Sep 27 08:16:24 UTC 2018

[root at hll124 ~]# gvim
E233: cannot open display

If there is a way to get gvim to run a local window over ssh from a
remote jail then I would very much like to know how that is 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 at
Harte & Lyne Limited
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3

More information about the freebsd-questions mailing list