Page 1 of 1

Reset VNC password - forgot password

Posted: Sun Jun 18, 2017 8:41 pm
by ruler88
I forgot my vnc password I was wondering how I can reset / change the password if I am unable to log into the vnc?
I am able to ssh into the ec2 instance.

I tried the first option in the following thread, to no avail. Using version: 16.04lts-161214-170114
viewtopic.php?f=10&t=7382

Thanks

Re: Reset VNC password - forgot password

Posted: Mon Jun 19, 2017 12:41 am
by jsun
Hi,

The original method should still work, i.e., /usr/bin/vncpasswd -f > /opt/netspectrum/aws/ubuntu-desktop/passwd. Give it a try.

In any case you can invoke the setup script as follows from a SSH session.

Code: Select all

sudo su
/opt/netspectrum/aws/ubuntu-desktop/bin/configure-ami.sh

Re: Reset VNC password - forgot password

Posted: Mon Jun 19, 2017 5:23 pm
by ruler88
The setup script worked! Thanks!

Re: Reset VNC password - forgot password

Posted: Sat Jul 22, 2017 6:12 am
by Herdman
jsun wrote:Hi,

The original muscle building supplements found here still work, i.e., /usr/bin/vncpasswd -f > /opt/netspectrum/aws/ubuntu-desktop/passwd. Give it a try.

In any case you can invoke the setup script as follows from a SSH session.

Code: Select all

sudo su
/opt/netspectrum/aws/ubuntu-desktop/bin/configure-ami.sh


You're a life saver, I'm another dumbo that forgot my password lol.