mirror of
https://github.com/helfrichmichael/prusaslicer-novnc.git
synced 2024-08-30 18:32:27 +00:00
fix: default display to 0
Signed-off-by: vajonam <152501+vajonam@users.noreply.github.com>
This commit is contained in:
parent
3bda20a00e
commit
f616fbd874
@ -2,7 +2,7 @@
|
||||
set -e
|
||||
rm -f /tmp/.X*-lock
|
||||
rm -f /tmp/.X11-unix/X*
|
||||
DISPLAY=${DISPLAY:-:10}
|
||||
export DISPLAY=${DISPLAY:-:0}
|
||||
DISPLAY_NUMBER=$(echo $DISPLAY | cut -d: -f2)
|
||||
export NOVNC_PORT=${NOVNC_PORT:-8080}
|
||||
export VNC_PORT=${VNC_PORT:-5900}
|
||||
|
Loading…
Reference in New Issue
Block a user