-
install deps and configure lightdm as the default display manager:
apt-get install lightdm tigervnc-standalone-server
dpkg-reconfigure lightdm
# and choose lightdm from the list
-
install gist files in the locations noted
-
configure systemd to launch it automatically:
systemctl daemon-reload && systemctl enable my-vnc
systemctl set-default graphical.target
-
start it now for the first time:
systemctl start graphical.target
systemctl start my-vnc
I do sometimes find things are broken on the first login after a reboot - a sudo systemctl restart my-vnc
fixes it. Probably missing some dependencies in After=
.