Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Apr 2017 14:38:59 -0400
From:      "James B. Byrne" <byrnejb@harte-lyne.ca>
To:        "Ernie Luzar" <luzar722@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: X11 and ezjails
Message-ID:  <f3053c25fd03679968f84cbe47b5b583.squirrel@webmail.harte-lyne.ca>
In-Reply-To: <58E50AC2.7010909@gmail.com>
References:  <7f49f81e25d0eb05aad1af66df49c525.squirrel@webmail.harte-lyne.ca> <20170331204517.f30e0f3b.freebsd@edvax.de> <af012e38f42d0eac2190c87c0a523276.squirrel@webmail.harte-lyne.ca> <58E50AC2.7010909@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Wed, April 5, 2017 11:18, Ernie Luzar wrote:
>>
>>
> This is the problem
> E233: cannot open display
>
> gvim will not work if run in a jail. gvim uses x11 and x11 needs
> kernel access to talk to the x11 display. Jails are designed on
> purpose to deny kernel access to secure the host system from
> attack. This is why you can never get a desktop to run in a jail.
> The other authentication error messages are bogus and can be
> ignored as misleading.
>
> This is also why gvin works when run on the host system.
>
> The bottom line here is that what your trying to run in a jail will
> NEVER work. Ezjail has no baring on this problem, its a design feature
> of jsil(8).
>

Thank you very much.  That saves me from much futile effort.

Since all of the files used by a jail lie under /usr/jails/<name>/ I
can just edit the appropriate files directly from the host instead.


-- 
***          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?f3053c25fd03679968f84cbe47b5b583.squirrel>