1

need python script to use already open Xvfb server process

view story
linux-howto

http://stackoverflow.com – I have a php script that runs many python scripts. The python scripts utilize a headless firefox browser using pyvirtualdisplay and xvfb. My issue is that each python script opens a new Xvfb process on my linux server. Thus I get multiple processes stacking up and eventual run out of /tmp/ space. My issue is similar to this one: Xvfb multiple displays for parallel processing? I would like to have one Xvfb server process open at all times and have all the python scripts utilize it. Here is the python code I am using: #set pyvirtual display display = Display(visible=0, size=(800, 600)) d (HowTos)