Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Headless browser (chromium, gogole chrome): Failed to connect to socket /run/dbus/system_bus_socket #137

Open
malte-behrendt opened this issue Oct 19, 2021 · 0 comments

Comments

@malte-behrendt
Copy link

I'd like to run CI tests with a headless browser.

Minimal error message reproduction:
docker run -ti nixery.dev/shell/chromium chromium-browser --headless --no-sandbox

I get two errors:

Failed resolution attempts:

  • Adding a fontconfig file manually. Makes the error message go away, but second error remains and chromium is aborting
  • Tried google-chrome instead
  • Added other packages, like dbus, dependencies mentioned in chromium-browser source nix files

What am I missing? Do I need to start dbus somehow? Add a specific package?

I'm grateful for hints :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant