Running program in separate X display

Update: since the last xorg server upgrade (1.16) this script will not work anymore.

Sometimes is useful to run an application in seperate X display, you can use script published on Arch Wiki to achive this.

If you need sound, you’ll most likely need to add yourself to the audio group:

# usermod -a -G audio $USER