This is probably not equivalent, but similar -
In the chroot, install firejail, then run (as user)
- Code: Select all
firejail --seccomp Xephyr :1 -screen 1024x768 -resizeable & sleep 2 ; icewm --display=:1
I'm really hoping someone will come along and explain how to use lxc in a few easy steps, so I don't have to figure it out.