I try hard to use firefox in headless mode for a python selenium project in freebsd.
But firefox complains about GPUs and the absense of a X-Server, but this is a headl… (read more)
I try hard to use firefox in headless mode for a python selenium project in freebsd.
But firefox complains about GPUs and the absense of a X-Server, but this is a headless mode and crashes with a segmentation fault. Why does it want a GPU and X-Server in headless mode? Does not make sense.
The output when i try to start is :
"
firefox --headless
- You are running in headless mode.
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: Unable to open a connection to the X server (t=0.117314) [GFX1-]: glxtest: Unable to open a connection to the X server
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: Unable to open a connection to the X server (t=0.117314) |[1][GFX1-]: No GPUs detected via PCI
(t=0.117314) [GFX1-]: No GPUs detected via PCI
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: Unable to open a connection to the X server (t=0.117314) |[1][GFX1-]: No GPUs detected via PCI
(t=0.117314) |[2][GFX1-]: Failed to initialize shared font list, falling back to in-process list. (t=0.118314) [GFX1-]: Failed to initialize shared font list, falling back to in-process list.
Segmentation fault (core dumped) firefox --headless
"
Can anyone help me?
Best regards
Josef