Xnest 2017-01-24 by Alejandro Liu in 2017 Updated: 2021-12-25 This trick lets you run X-Windows within an X-Windows session. This is kinda like running VNC. It is useful for testing scenarios. #!/bin/sh Xnest :1 -name "Bla" -ac -geometry 800x600 & sleep 1 export DISPLAY=:1 exec xterm