mirror of
https://github.com/helfrichmichael/prusaslicer-novnc.git
synced 2024-08-30 18:32:27 +00:00
add vnc_resolution
Signed-off-by: vajonam <152501+vajonam@users.noreply.github.com>
This commit is contained in:
parent
2747747d37
commit
6009c62d89
@ -6,7 +6,7 @@ export DISPLAY=${DISPLAY:-:0}
|
||||
DISPLAY_NUMBER=$(echo $DISPLAY | cut -d: -f2)
|
||||
export NOVNC_PORT=${NOVNC_PORT:-8080}
|
||||
export VNC_PORT=${VNC_PORT:-5900}
|
||||
VNC_RESOLUTION=${VNC_RESOLUTION:-1280x800}
|
||||
export VNC_RESOLUTION=${VNC_RESOLUTION:-1280x800}
|
||||
if [ -n "$VNC_PASSWORD" ]; then
|
||||
mkdir -p /root/.vnc
|
||||
echo "$VNC_PASSWORD" | vncpasswd -f > /root/.vnc/passwd
|
||||
|
Loading…
Reference in New Issue
Block a user