Skip to content

Commit

Permalink
Explicit add PasswordFile location
Browse files Browse the repository at this point in the history
  • Loading branch information
phdelodder committed Oct 21, 2024
1 parent efe778e commit b9f257c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker/root/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ if [ "$DECONZ_VNC_MODE" != 0 ]; then
mkdir -p $DECONZ_APPDATA_DIR/vnc
fi

#ln -sfT $DECONZ_APPDATA_DIR/vnc /home/deconz/.vnc
#chown deconz:deconz /home/deconz/.vnc
ln -sfT $DECONZ_APPDATA_DIR/vnc /home/deconz/.vnc
chown deconz:deconz /home/deconz/.vnc
chown deconz:deconz $DECONZ_APPDATA_DIR -R

echo "[deconzcommunity/deconz] VNC DISABLE PASSWORD: $DECONZ_VNC_DISABLE_PASSWORD"
Expand Down Expand Up @@ -129,7 +129,7 @@ if [ "$DECONZ_VNC_MODE" != 0 ]; then
done

# Set VNC security
$GOSU tigervncserver -SecurityTypes "$SECURITYTYPES" "$DECONZ_VNC_DISPLAY"
$GOSU tigervncserver -SecurityTypes "$SECURITYTYPES" -PasswordFile $DECONZ_APPDATA_DIR/vnc/passwd "$DECONZ_VNC_DISPLAY"

# Export VNC display variable
export DISPLAY=$DECONZ_VNC_DISPLAY
Expand Down

0 comments on commit b9f257c

Please sign in to comment.