Support #720
X11 Forwarding in a FreeBSD Jail
Description
This is a simple guide on forwarding graphical X11 applications in a FreeBSD jail over an SSH connection.
Prepare the Environment¶
- Make sure the system is up to date:
pkg update && pkg upgrade
- Install xauth:
pkg install xauth
- Edit the SSHd config:
vi /etc/ssh/sshd_config
- Make sure following three lines exist:
AllowTcpForwarding yes X11Forwarding yes X11UseLocalhost no
- Make sure following three lines exist:
- Restart SSH:
service sshd restart
- Now SSH into the jail using the -X flag to use X Forwarding:
ssh -X jail.example.com
Resources¶
Updated by Daniel Curtis almost 9 years ago
- Description updated (diff)
- Status changed from New to Resolved
- % Done changed from 0 to 100