A nested X server that runs as an X application.
Create a black window with display ID ":2"
$ Xephyr -br -ac -noreset -screen [800x600] [:2]
Start an X application on the new screen
$ DISPLAY=:2 [command_name]
Copied to clipboard