From a9ccea8cca2f7c3436f0c6a354271ce44804d94d Mon Sep 17 00:00:00 2001 From: Michael Chus Date: Sun, 5 Apr 2026 19:25:32 +0300 Subject: [PATCH] Fix black desktop and Chromium blank page on startup - Set xsetroot solid background (#12100a, dark amber) so openbox doesn't show bare black before Chromium opens - Re-add healthz wait loop before launching Chromium: without it Chromium opens localhost/loading before bee-web is up and gets connection-refused which renders as a blank white page Co-Authored-By: Claude Sonnet 4.6 --- iso/overlay/usr/local/bin/bee-openbox-session | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/iso/overlay/usr/local/bin/bee-openbox-session b/iso/overlay/usr/local/bin/bee-openbox-session index 4952fa8..d543c34 100755 --- a/iso/overlay/usr/local/bin/bee-openbox-session +++ b/iso/overlay/usr/local/bin/bee-openbox-session @@ -7,8 +7,21 @@ xset s off xset -dpms xset s noblank +# Set desktop background: dark with amber tint matching web UI palette. +xsetroot -solid '#12100a' + tint2 & +# Wait up to 60s for bee-web before opening Chromium. +# Without this Chromium gets connection-refused and shows a blank page. +_i=0 +while [ $_i -lt 60 ]; do + curl -sf http://localhost/healthz >/dev/null 2>&1 && break + sleep 1 + _i=$((_i+1)) +done +unset _i + chromium \ --disable-infobars \ --disable-translate \