I perform headless web session tests with selenium (python, ubuntu server 15, firefox), which can last for hours. I do make use of pyvirtualdisplay + xvfb.
My python scripts begin like this:
from pyvirtualdisplay import Display
virtualdisplay = True
if virtualdisplay:
display = Display(visible=0, size=(1920, 1240))
display.start()
How is it possible to peep what's goin' on without actually get screenshots, e.g. vnc session?
I tried several solutions, but they didn't work because perhaps they are outdated or too general.