From bcb8ce3999466e9a808a7bf2b2008b1a02f84151 Mon Sep 17 00:00:00 2001 From: yalexx Date: Tue, 21 Apr 2026 09:17:48 +0000 Subject: [PATCH 1/2] fix(browser): remove --no-sandbox and persist profile across restarts - Drop --no-sandbox flag; kernel.unprivileged_userns_clone=1 on Jetson means the user-namespace sandbox works without it, and Chromium was showing a persistent "unsupported command-line flag" warning banner - Stop wiping the profile dir on every launch so cookies/logins/session state survive service restarts (UI already advertised this as a "persistent profile") Co-Authored-By: Claude Opus 4.7 (1M context) --- scripts/launch-browser.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/scripts/launch-browser.sh b/scripts/launch-browser.sh index 0012bd539..c684a75cb 100755 --- a/scripts/launch-browser.sh +++ b/scripts/launch-browser.sh @@ -92,9 +92,6 @@ if ! wait_for_display "$DISPLAY" "${XAUTHORITY:-}"; then exit 1 fi -# Reset profile on each start to avoid corruption from version changes -# (This is a CDP automation browser, not a persistent user browser) -rm -rf "$PROFILE" mkdir -p "$PROFILE" echo "Starting Chromium from $CHROMIUM on DISPLAY=$DISPLAY with CDP port $CDP_PORT" @@ -107,7 +104,6 @@ exec env DISPLAY="$DISPLAY" HOME="$HOME" DBUS_SESSION_BUS_ADDRESS="disabled:" \ --no-default-browser-check \ --start-maximized \ --disable-gpu \ - --no-sandbox \ --disable-dev-shm-usage \ --disable-background-networking \ --password-store=basic \ From 3f021fa44270c7ce8e5c4266297b3dd395f8ae2b Mon Sep 17 00:00:00 2001 From: yalexx Date: Tue, 21 Apr 2026 09:18:36 +0000 Subject: [PATCH 2/2] browser fix --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 94e2d539b..c02b106b0 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,4 @@ code-source-code/ .omx/ playwright-report/ test-results/ +scripts/nm-dispatcher-failover.sh