diff --git a/conf.d/2-vnc.conf b/conf.d/2-vnc.conf index b425820..a1ea9ec 100644 --- a/conf.d/2-vnc.conf +++ b/conf.d/2-vnc.conf @@ -1,5 +1,5 @@ [program:VNC] -command=bash -c 'x11vnc -usepw -rfbport 5900 -rfbauth /etc/xpass -geometry $VNC_RESOLUTION -forever -alwaysshared -permitfiletransfer -bg -desktop $VNC_TITLE' +command=bash -c 'x11vnc -storepasswd $VNC_PASS /etc/xpass && x11vnc -usepw -rfbport 5900 -rfbauth /etc/xpass -geometry $VNC_RESOLUTION -forever -alwaysshared -permitfiletransfer -bg -desktop $VNC_TITLE' autostart=true autorestart=true stderr_logfile=/var/log/x11vnc.stderr.log