How to reset the password of the VNC server on raspberry-pi?

I use TightVNC to connect remotely to the raspberry-pi from my laptop. Below are the steps to reset the password to the VNC server:

1. Open up a Terminal on the raspberry-pi

2. Then type: vncpasswd

3. Follow the instructions on the screen.