Forums

Could an Admin install xvfb for me?

I'm working on a project involving web browsers and since there is no graphical interface I'm running them headless. I still need xvfb - Virtual Framebuffer 'fake' X server to spoof visuals since I ran into a small error:

(process:8268): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
Error: cannot open display: :10

Since apt is restricted I've tried dpkg but that one too requires root privileges.

Could you do me a huge favor and install xvfb and it's dependencies? The tweak I'm looking for is apt-get build-dep xvfb

Thanks a lot!

xvfb is not installed in the most recent system image because you can run the browsers headless, so you no longer need it.

if I have binary /path/to/file/firefox How do I run it headless? I tried firefox --headless it didn't work.

Oops. Sorry. I was mistaken. xvfb is installed. See http://help.pythonanywhere.com/pages/selenium/