title: php run script that needs X windows
body: <p>I want to run an bash script from PHP on Apache server that needs X windows to run correctly.
  any body has any idea how can i do that?</p>
  
  <p>BTW currently i'm using a desktop version of ubuntu as server but i'm also plan to switch to a server version and use Xvfb as X server.</p>
  
  <p>Thanks.</p>