Application in chroot
Running X Application inside chroot environment $ export CHROOT_ENV=/mnt mount /proc and /sys files for chrooted environment: $ mount –bind /dev/ $CHROOT_ENV/dev/ $ mount –bind /proc/ $CHROOT_ENV/proc/ $ mount –bind /sys/ $CHROOT_ENV/sys/ $ mount –bind /tmp/ $CHROOT_ENV/tmp/ # Let our host X accept connections from all local clients $ xhost + $ …