Extended chroot with X11/Xorg forwarding
Clone this repository.
git clone https://github.com/gustavorv86/xchroot
Copy the executables to bin folder.
cp my_binary_file xchroot/bin
Check the dynamic library dependencies.
ldd xchroot/bin/my_binary_file
Copy the dynamic library dependecies to lib folder.
cp dynamic_library_dependency.so xchroot/lib
Go to xchroot
folder and execute the xchroot script.
cd xchroot
sudo ./xchroot
Execute any X11/Xorg program, for example:
xterm