From bc32512e4bf43bd2df8b6cc9d48a62cd28cfe96d Mon Sep 17 00:00:00 2001 From: Oliver Gwyther Date: Sat, 13 Dec 2025 21:53:50 +0000 Subject: [PATCH] Possible fixes to xvfb --- startup.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/startup.sh b/startup.sh index 25ffd4b..acf0713 100644 --- a/startup.sh +++ b/startup.sh @@ -19,10 +19,11 @@ echo "✅ Session D-Bus started: $DBUS_SESSION_BUS_ADDRESS" # Start X virtual framebuffer (needed by Pinokio) echo "🔄 Starting Xvfb virtual display so Electron has a place to render..." -Xvfb :99 -screen 0 1280x1024x16 & +Xvfb :100 -ac -screen 0 1920x1080x24 -nolisten tcp +extension GLX +render -noreset & sleep 2 -export DISPLAY=:99 -echo "✅ Xvfb is running (DISPLAY=:99)." +export DISPLAY=:100 +GRADIO_SERVER_NAME="0.0.0.0" /opt/Pinokio/pinokio +echo "✅ Xvfb is running (DISPLAY=:100)." # Setting up the cache directories CACHE_HOME="/workspace"