Support #720
Updated by Daniel Curtis almost 9 years ago
This is a simple guide on forwarding graphical X11 applications in a FreeBSD jail over an SSH connection.
h2. Prepare the Environment
* Make sure the system is up to date:
<pre>
pkg update && pkg upgrade
</pre>
* Install xauth:
<pre>
pkg install xauth
</pre>
* Edit the SSHd config:
<pre>
vi /etc/ssh/sshd_config
</pre>
#* Make sure following three lines exist:
<pre>
AllowTcpForwarding yes
X11Forwarding yes
X11UseLocalhost no
</pre>
* Restart SSH:
<pre>
service sshd restart
</pre>
* Now SSH into the jail using the -X flag to use X Forwarding:
<pre>
ssh -X jail.example.com
</pre>
h2. Resources
* https://www.textplain.net/tutorials/2015/x11-forwarding-in-a-freebsd-jail/