i recall it glitching for me too, i found my launcher which stopped the "glitches":
Code:
sudo x11vnc -forever -usepw -display :0 -autoport 5900 -nap -noxdamage -nolookup -auth guess -allow 192.168. &
Specifically i think it's the -noxdamage.
Also notice the -allow to only allow 192.168.0.0/16 (you can use -allow multiple times, ex: -allow 25. -allow 10.0.0. -allow -192.168.1.)
The -usepw requires you to previously configured a password.
If it still tends to die, you could alway write a wrapper:
Code:
#!/bin/sh
while true
do
echo "[re]starting"
sudo x11vnc -forever -usepw -display :0 -autoport 5900 -nap -noxdamage -nolookup -auth guess -allow 192.168. #no "&" here
echo "Died"
echo
done