Install

$ sudo apt-get install tigervnc-scraping-server

Setup password

$ mkdir -p ~/.vnc
$ vncpasswd
Password:
Verify:
Would you like to enter a view-only password (y/n)? n

Starting the VNC server

$ x0vncserver -passwordfile ~/.vnc/passwd -display :0

or

$ x0vncserver -localhost no -passwordfile ~/.vnc/passwd -display :0