I want to be able to run one command or scrip that I can make executable to be able to open a
X server (Xephyr) and than open my chroot and open a program into that X

Under Using Xephyr at this tutorial:
http://wiki.mandriva.com/en/Developm...ide_the_chroot

There are three commands I have to run
Outside of Chroot
Code:
$ Xephyr -ac -fullscreen :1
(I added -fullscreen)

This causes a black screen to open up

Normally I would then open a separate terminal and do the next two commands
Code:
$  export DISPLAY=localhost:1
$ ./home/phillipguy/Downloads/pcsx2
and Viola pcsx2 opens up in Xephyr... but I just want a do it all script

Anyone?