I´m trying to run headlesless firefox with this command sudo xvfb-run -a firefox http://google.com
so i get this error
(process:9000): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
Xlib: extension "RANDR" missing on display ":113".
I have searched to solve this problem referring to this link https://stackoverflow.com/questions/17944234/xlib-extension-randr-missing-on-display-21-trying-to-run-headless-googl
Xvfb :113 -screen 0 1024x768x24 -extension RANDR &
when I rerun the same commande i got Xlib: extension "RANDR" missing on display ":114". and so on
How could I solve this problem? Any solution will be grateful
xvfb-run -asets up a new display automatically, and tells whatever process you're passing to it, to use that display. – dobey Nov 04 '15 at 19:50xvfb-run -a -s "-screen 0 1024x768x24" firefox http://google.combut i have another error – Bessa Nov 05 '15 at 08:56$ls -al /.mozilla/firefox/zcu.default/sessionstore-backups/recovery.jsthis is the output-rw-------– Bessa Nov 05 '15 at 09:10