I need to authenticate so that I can use the VNC Server and Viewer and be able to access the Pi’s screen from another computer. When I download the VNC Server I have to authenticate and enter a password for the username “pi” . The password is not “raspberry” and I do not remember if I changed it or not (i am a newbie to this). I have been working on a project for a long time and I don’t wanna have to reset the whole pi. Is there a solution to reset the password or “find ” it somewhere so that I can keep working? Thanks
to reset your password:
Power down and pull the SD card out from your Pi and put it into your computer.
Open the file ‘cmdline.txt’ and add ‘init=/bin/sh’ to the end. This will cause the machine to boot to single user mode.
Put the SD card back in the Pi and boot.
When the prompt comes up, type ‘su’ to log in as root (no password needed).
Type “passwd pi” and then follow the prompts to enter a new password.
Shut the machine down, then pull the card again and put the cmdline.txt file back the way it was by removing the ‘init=/bin/sh’ bit.
more information: http://mapledyne.com/ideas/2015/8/4/reset-lost-admin-password-for-raspberry-pi
Hope this helps!