Vtk Works With Real X, Crashes With Xvfb
I'm debugging a 3rd party Python script that implements headless image processing with the VTK library. When run with a regular X window session, it works as expected, flashing a w
Solution 1:
I use Xvfb to run selenium tests, but I use the module xvfbwrapper, it's a lightweight module for Xvfb
Below the code:
from xvfbwrapper importXvfbdisplay= Xvfb()
display.start()
[ yourcode ]
display.stop()
Post a Comment for "Vtk Works With Real X, Crashes With Xvfb"