mirror of
https://github.com/helfrichmichael/prusaslicer-novnc.git
synced 2024-08-30 18:32:27 +00:00
fix: add VGL_DISPLAY param:
Signed-off-by: vajonam <152501+vajonam@users.noreply.github.com>
This commit is contained in:
parent
af8995588f
commit
3bda20a00e
@ -18,5 +18,7 @@ fi
|
|||||||
export LOCALFBPORT=$((${VNC_PORT} + DISPLAY_NUMBER))
|
export LOCALFBPORT=$((${VNC_PORT} + DISPLAY_NUMBER))
|
||||||
export VGLRUN="${VGLRUN:-/usr/bin/vglrun}"
|
export VGLRUN="${VGLRUN:-/usr/bin/vglrun}"
|
||||||
export SUPD_LOGLEVEL="${SUPD_LOGLEVEL:-TRACE}"
|
export SUPD_LOGLEVEL="${SUPD_LOGLEVEL:-TRACE}"
|
||||||
|
export VGL_DISPLAY="${VGL_DISPLAY:-egl}"
|
||||||
|
|
||||||
# fix perms and launch supervisor with the above environment variables
|
# 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
|
chown -R slic3r:slic3r /home/slic3r/ /configs/ /prints/ /dev/stdout && exec gosu slic3r supervisord -e $SUPD_LOGLEVEL
|
||||||
|
Loading…
Reference in New Issue
Block a user