Xnest 2017-01-24 by Alejandro Liu Updated: 2024-11-15 in 2017 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