You could try to create a virtual (persistent) X session using Xvfb (package xorg-x11-server-Xvfb and a startup command like "/usr/bin/Xvfb :1 -screen 0 1024x768x24") then "export DI... [by pjwelsh]
on 11/18/2010 – Made popular on 11/18/2010
I need to use the command xvfb-run for a particular piece of software. I have the xvfb package installed (its xorg-server-xvfb). Trying xvfb-run returns command not found, searching for xvfb-run shows that it is in, /usr/sbo/games/megaglest and if I chmod +x xvfb-run I can do ./xvfb-run however still typing xvfb-run outside of this directory does not work.