X11 and ezjails

James B. Byrne byrnejb at harte-lyne.ca
Wed Apr 5 18:39:14 UTC 2017

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 at 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

More information about the freebsd-questions mailing list