the problem is "/snap/chromium/current/bin/chromium.launcher" script, to be precise these 2 lines below: exec "$SNAP/usr/lib/chromium-browser/chrome" --no-default-browser-check --no-first-run --password-store=$PASSWORD_STORE $FLASH_OPTIONS $CHROMIUM_FLAGS "$@" "$FIRSTRUN_PAGE"
and "$SNAP/usr/lib/chromium-browser/chrome" --user-data-dir=$TEMP_PROFILE --no-default-browser-check --no-first-run --password- store=$PASSWORD_STORE $FLASH_OPTIONS $CHROMIUM_FLAGS "$@" "$FIRSTRUN_PAGE" when --headless options is used "$FIRSTRUN_PAGE" parameter shall never be passed here as user specify his own page here and because of that chromium gives: "[0826/093125.490825:ERROR:headless_shell.cc(174)] Open multiple tabs is only supported when remote debugging is enabled." ive patched this script in my snap directory (which is tricky) like this: copied whole folder "/snap/chromium/1284/bin" to other dir on the disk, patched script, then did "sudo mount --bind -o nodev,ro /media/data/chromsc /snap/chromium/1284/bin" and voila this works so the solution would be to check if user is passing --headless parameter and if he passes his own site - if so then dont pass "$FIRSTRUN_PAGE" parameter -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1893020 Title: snap fails to pass chromium arguments To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snap/+bug/1893020/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
