How do I change the default VNC password?

To change the default VNC password for the root user:

  • Log in as root
  • Run the following command and enter the new password twice:
  • vncpasswd