Project

General

Profile

Support #720

X11 Forwarding in a FreeBSD Jail

Added by Daniel Curtis over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
SSH Server
Target version:
Start date:
01/10/2016
Due date:
% Done:

100%

Estimated time:
0.25 h
Spent time:

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
      
  • Restart SSH:
    service sshd restart
    
  • Now SSH into the jail using the -X flag to use X Forwarding:
    ssh -X jail.example.com
    

Resources

History

#1 Updated by Daniel Curtis over 4 years ago

  • Description updated (diff)
  • Status changed from New to Resolved
  • % Done changed from 0 to 100

#2 Updated by Daniel Curtis over 4 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF