I have some difficulties to start 2 jails on the same host. When the first jail is running, i can access this jail by ssh and http (this jail running nginx). But when i start the second jails, i lost first jail connection and i can't join the jail from ext.
I've got this chroot jail all setup. I try to run Firefox in it, and get the message:
"Gtk-WARNING ** cannot open display: "
I know I have to invoke Firefox with --display= something. I probably also have to set the DISPLAY environmental variable to something as well. But I've tried all kinds of combinations, and can't get it to work in the chroot jail.
If the users logs in, he starts in / of the chroot (Which is /var/jail on the real machine). I would like him to start in his home-dir. Also, he seems not to load any of his profile-files (.bash.rc etc). I followed this tutorial to create the chroot environment.