Skip to content

Commit aa1b1e3

Browse files
committed
ngc-matlab: For VNC service, we use the common password "backendai"
* Our API layer provides necessary authentication and encryption already.
1 parent 44dfeac commit aa1b1e3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

vendor/ngc-matlab/bootstrap.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ ln -s /opt/noVNC/redirect.html /opt/noVNC/index.html
2828
rm -rf /tmp/.X*
2929

3030
echo ">> Starting background VNC server"
31-
export PASSWORD=matlab
32-
printf "${PASSWORD}\n${PASSWORD}\n\n" | /opt/kernel/su-exec $LOCAL_USER_ID:$LOCAL_GROUP_ID vncpasswd
31+
printf "backendai\nbackendai\n\n" | /opt/kernel/su-exec $LOCAL_USER_ID:$LOCAL_GROUP_ID vncpasswd >/dev/null 2>&1
3332

3433
cp -R /home/matlab/.config /home/work
3534
cp -R /home/matlab/Documents /home/work

0 commit comments

Comments
 (0)