From 61e7bebca9615482e5fea83b5bdcbadabb0d123f Mon Sep 17 00:00:00 2001 From: Apoorv Vyavahare <82765893+vital987@users.noreply.github.com> Date: Thu, 10 Jun 2021 23:52:27 +0530 Subject: [PATCH] command edit --- conf.d/2-vnc.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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