X Tutup
Skip to content

Documentation: Docker VNC + Chromium + pihole #1697

@gheja

Description

@gheja

What is the URL of the page you'd like to see improved?

https://github.com/ArchiveBox/ArchiveBox/wiki/Chromium-Install#docker-vnc-setup

What is the title of the relevant section?

Docker VNC Setup

What is the suggested edit?

When using pihole, we need to uncomment in the archivebox service the following:

networks:
  - dns

This drops the connection to default network which renders novnc unusable for Chromium as DISPLAY=novnc:0.0 specifies a display that is no longer reachable.

$ docker compose run archivebox /usr/bin/chromium-browser --user-data-dir=[...]
[...]
[7:7:0930/213334.829180:ERROR:ozone_platform_x11.cc(244)] Missing X server or $DISPLAY
[7:7:0930/213334.829737:ERROR:env.cc(257)] The platform failed to initialize.  Exiting.

We need to extend the network list with default:

networks:
  - dns
  - default

After this change the browser starts as expected.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    X Tutup