Possible fixes to xvfb
This commit is contained in:
1 parent
ecd60d1af7
commit
bc32512e4b
1 file changed
+4
-3
+4
-3
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user