Date: Mon, 29 Aug 2016 23:08:29 +0200 From: Patrick Hess <patrick_lists@phess.net> To: freebsd-x11@freebsd.org Subject: Re: making X secure? Message-ID: <b6e25ef0-e905-edbb-daec-5db0b7799c4c@phess.net> In-Reply-To: <1d9ef92a1920ad1e9aee92d2d56a5349@kapsi.fi> References: <57C2D94D.7040906@yahoo.com> <e9faebc3-8e41-f3ce-83b2-2efd58e41e54@rlwinm.de> <1d9ef92a1920ad1e9aee92d2d56a5349@kapsi.fi>
next in thread | previous in thread | raw e-mail | index | archive | help
On 29.08.2016 14:10, Arto Pekkanen wrote: > Need good documentation on how to make X11-application run inside a jail with a local X11 server. Afaik there's no comprehensive guide for this setup. There's really not much to it. Just use X11 forwarding over SSH to run your application inside the jail and have it displayed by the host's X server (e.g., ssh -XY user@jail /usr/local/bin/someapp). The only jail-related issue that I can think of this late at night is that there's no "localhost" inside a jail. Hence, you'll have to set "X11UseLocalhost" to "no" in the jail's /etc/ssh/sshd_config. That should do the trick. If you still can't get it to work, let me now and I'll write down some more in-depth instructions tomorrow. Patrick -- If you'd like to send me a private message, make sure to remove the "_lists" part from my address.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b6e25ef0-e905-edbb-daec-5db0b7799c4c>