I try to run firefox in headless mode for selenium.
$xvfb-run firefox seems to work.
I run firefox through selenium so i cannot run xvfb-run directly.
So i start
Xvfb :1 -screen 0 1024x768x24 &
and then
set DISPLAY:=1 env DISPLAY:=1
Still when i run firefox i get
Error: no display specified
I run on centos 6 and firefox 38 ESR.
What can be done?