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"