From 536aed204b302e39f09e2f4ed552bacfcfe19556 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Mon, 18 Mar 2024 13:39:12 -0700 Subject: [PATCH] Updated Chromium Install (markdown) --- Chromium-Install.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Chromium-Install.md b/Chromium-Install.md index aed355b..c3af813 100644 --- a/Chromium-Install.md +++ b/Chromium-Install.md @@ -119,11 +119,11 @@ docker compose up -d novnc 3. Start ArchiveBox's Chrome inside Docker ```bash -docker compose run archivebox /usr/bin/chromium-browser --user-data-dir=/home/archivebox/chrome_profile --disable-gpu --disable-features=dbus --disable-dev-shm-usage --start-maximized +docker compose run archivebox /usr/bin/chromium-browser --user-data-dir=/home/archivebox/chrome_profile --profile-directory=Default --disable-gpu --disable-features=dbus --disable-dev-shm-usage --start-maximized --no-sandbox --no-zygote --disable-sync --no-first-run ``` -(make sure the `DISPLAY` environment variable is set above so it renders Chrome in `nonvc`'s X-window server) +(make sure you set `DISPLAY` & `CHROME_USER_DATA_DIR` and added the line to `volumes:` above first!) -4. Open [`http://localhost:8080/vnc.html`](http://localhost:8080/vnc.html) in your browser. You should see a remote linux desktop shown with Chrome open, allowing you to remote-control ArchiveBox's browser and use it to log into any sites where you want to save credentials. +4. Open [`http://localhost:8080/vnc.html`](http://localhost:8080/vnc.html) in your browser. You should see a remote linux desktop shown with Chrome open, allowing you to remote-control ArchiveBox's browser. Use it to log into any sites where you want to save credentials. 5. ✅ Close the browser, stop & remove novnc, and then run archivebox normally. It will use the profile stored in `CHROME_USER_DATA_DIR=/home/archivebox/chrome_profile` going forward, you should now be able to archive sites as if you were logged in!