From 3bda20a00e55e7939941e203e2f17769532fc327 Mon Sep 17 00:00:00 2001 From: vajonam <152501+vajonam@users.noreply.github.com> Date: Wed, 3 Apr 2024 13:19:11 -0400 Subject: [PATCH] fix: add VGL_DISPLAY param: Signed-off-by: vajonam <152501+vajonam@users.noreply.github.com> --- entrypoint.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index c949a7f..61bdf0a 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -18,5 +18,7 @@ fi export LOCALFBPORT=$((${VNC_PORT} + DISPLAY_NUMBER)) export VGLRUN="${VGLRUN:-/usr/bin/vglrun}" export SUPD_LOGLEVEL="${SUPD_LOGLEVEL:-TRACE}" +export VGL_DISPLAY="${VGL_DISPLAY:-egl}" + # fix perms and launch supervisor with the above environment variables chown -R slic3r:slic3r /home/slic3r/ /configs/ /prints/ /dev/stdout && exec gosu slic3r supervisord -e $SUPD_LOGLEVEL