See x11vnc stack smashing detected
solution
Recommended version: x11vnc: 0.9.14 lastmod: 2013-11-21
Set desktop to auto login and prevent screen locking .. else you will need to deal with Xauth
/usr/local/bin/x11vnc -forever -display :0
x11vnc -storepasswd
or use -localhost
when starting service and use an ssh tunnel instead
sudo systemctl daemon-reload
sudo systemctl enable x11vnc
sudo systemctl start x11vnc
with default gnome desktop
/lib/systemd/system/x11vnc.service