Possible fixes to xvfb

This commit is contained in:
2025-12-13 21:53:50 +00:00
parent ecd60d1af7
commit bc32512e4b

View File

@ -19,10 +19,11 @@ echo "✅ Session D-Bus started: $DBUS_SESSION_BUS_ADDRESS"
# Start X virtual framebuffer (needed by Pinokio) # Start X virtual framebuffer (needed by Pinokio)
echo "🔄 Starting Xvfb virtual display so Electron has a place to render..." 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 sleep 2
export DISPLAY=:99 export DISPLAY=:100
echo "✅ Xvfb is running (DISPLAY=:99)." GRADIO_SERVER_NAME="0.0.0.0" /opt/Pinokio/pinokio
echo "✅ Xvfb is running (DISPLAY=:100)."
# Setting up the cache directories # Setting up the cache directories
CACHE_HOME="/workspace" CACHE_HOME="/workspace"