From 9988f39658483e8c2529be99b34647548e8e0b5d Mon Sep 17 00:00:00 2001 From: Ralf Vogler Date: Tue, 27 May 2025 01:20:29 +0200 Subject: [PATCH] docker: xvfb needs flag for OpenGL which is needed to solve eg captcha..., #183 --- docker-entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 8672905..d11cdc0 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -27,8 +27,8 @@ rm -f /tmp/.X1-lock # -nolisten unix tells the server not to use Unix domain sockets, thus avoiding the need to create /tmp/.X11-unix export DISPLAY=:1 # need to export this, otherwise playwright complains with 'Looks like you launched a headed browser without having a XServer running.' -Xvfb $DISPLAY -ac -screen 0 "${WIDTH}x${HEIGHT}x${DEPTH}" & -echo "Xvfb display server created screen with resolution ${WIDTH}x${HEIGHT} -nolisten unix" +Xvfb $DISPLAY -ac -screen 0 "${WIDTH}x${HEIGHT}x${DEPTH}" -nolisten unix +extension GLX +extension RENDER & +echo "Xvfb display server created screen with resolution ${WIDTH}x${HEIGHT}" if [ -z "$VNC_PASSWORD" ]; then pw="-nopw" pwt="no password!"