jails Run firefox within a Linux chroot jail in FreeBSD 13.1

Hi All,

I posted this post on stack overflow. Would anyone be able to help me in this matter please. Please check some of the answers and my replies for the answers as well please.
Thanks & Best Regards
Schroter Michael
 
if this chroot is on the same (X)server, you can mount /tmp/.X11-unix via nullfs(8) to chroot.
If it's a remote server, it should work via SSH X11Forwarding, mandatory options in /etc/ssh/sshd_config (server side):

1)
Code:
X11Forwarding=yes
X11UseLocalhost=no

2) install xauth (in chroot)
3) from client:
Code:
ssh -Y <HOST>
auth add $(xauth -f ~/.Xauthority list | tail -1 )
 
if this chroot is on the same (X)server, you can mount /tmp/.X11-unix via nullfs(8) to chroot.
If it's a remote server, it should work via SSH X11Forwarding, mandatory options in /etc/ssh/sshd_config (server side):

1)
Code:
X11Forwarding=yes
X11UseLocalhost=no

2) install xauth (in chroot)
3) from client:
Code:
ssh -Y <HOST>
auth add $(xauth -f ~/.Xauthority list | tail -1 )
Hi, Thanks for the reply. I entered the ip address for <HOST>: 192.168.0.22 taken from ifconfig -a from the FreeBSD system. Then it asks for a password for the local machine: schroter1@SCHROTER.FreeBSD.local. (schroter1 is the ubuntu user) However, I have not set a password for the FreeBSD login. Just enter username at it logs in. I typed my root password as well, to no aval. Would you be able to help me in this matter please?
Thanks & Best Regards
Schroter Michael
 
Last edited:
Back
Top