vnc password bug fix

This commit is contained in:
Apoorv Vyavahare 2021-06-10 23:51:35 +05:30 committed by GitHub
parent 1e8b4d6f23
commit 4ffb8081cc
Signed by untrusted user: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -87,8 +87,6 @@ RUN rm -rf /etc/apt/sources.list && \
#TimeZone
ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && \
echo $TZ > /etc/timezone && \
#VNC
x11vnc -storepasswd $VNC_PASS /etc/xpass && \
#NoVNC
cp /usr/share/novnc/vnc.html /usr/share/novnc/index.html && \
openssl req -new -newkey rsa:4096 -days 36500 -nodes -x509 -subj "/C=IN/ST=Maharastra/L=Private/O=Dis/CN=www.google.com" -keyout /etc/ssl/novnc.key -out /etc/ssl/novnc.cert && \