fix: add dbus

This commit is contained in:
WWWw 2024-07-19 12:56:50 +08:00 committed by GitHub
parent ff9c1f4208
commit c18311e23a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -80,6 +80,11 @@ cat <<EOF > $CONFIG_PATH
}
EOF
fi
chmod 777 /tmp &
rm -rf /run/dbus/pid &
mkdir -p /var/run/dbus &
dbus-daemon --config-file=/usr/share/dbus-1/system.conf --print-address &
Xvfb :1 -screen 0 1080x760x16 +extension GLX +render &
export FFMPEG_PATH=/usr/bin/ffmpeg
export DISPLAY=:1