diff --git a/stage3_homebridge/01-homebridge/files/hb-config b/stage3_homebridge/01-homebridge/files/hb-config index 2aa80b0..987fdcb 100644 --- a/stage3_homebridge/01-homebridge/files/hb-config +++ b/stage3_homebridge/01-homebridge/files/hb-config @@ -544,29 +544,29 @@ do_install_desktop_and_vnc() { # install and setup VNC if is_installed realvnc-vnc-server || (apt update --allow-releaseinfo-change && apt install -y realvnc-vnc-server); then - cat > /etc/systemd/system/vncserver-pi.service < /dev/null 2>&1 -ExecStart=/usr/bin/vncserver -depth 24 -geometry 1280x800 :12 -ExecStop=/usr/bin/vncserver -kill :12 - -[Install] -WantedBy=multi-user.target -EOL +# cat > /etc/systemd/system/vncserver-pi.service < /dev/null 2>&1 +#ExecStart=/usr/bin/vncserver -depth 24 -geometry 1280x800 :12 +#ExecStop=/usr/bin/vncserver -kill :12 + +#[Install] +#WantedBy=multi-user.target +#EOL systemctl enable vncserver-x11-serviced.service && systemctl start vncserver-x11-serviced.service && - systemctl enable vncserver-pi.service && - systemctl start vncserver-pi.service && +# systemctl enable vncserver-pi.service && +# systemctl start vncserver-pi.service && STATUS=enabled else return 1 @@ -575,8 +575,8 @@ EOL if is_installed realvnc-vnc-server; then systemctl disable vncserver-x11-serviced.service systemctl stop vncserver-x11-serviced.service - systemctl disable vncserver-pi.service - systemctl stop vncserver-pi.service +# systemctl disable vncserver-pi.service +# systemctl stop vncserver-pi.service fi STATUS=disabled else