#!/bin/bash set -e # Configure X11 to use TCP instead of UNIX sockets export DISPLAY=:99 Xvfb $DISPLAY -screen 0 1920x1080x24 -ac +extension GLX +render -noreset -listen tcp & # Human-like random delay sleep $(( RANDOM % 3 + 1 )) # Execute command with explicit Python path exec "$@"