Resetting the default VNC server password from the command line

So, it turns out that Ubuntu 7.10 (Gutsy) comes with VNC installed by default. If, however, you happen to be tunnelling in through SSH and you want to reset the password, there’s no command line command to do that directly. So, you need to do the following:

  1. Generate a new password in Base64.
  2. Edit the /home/<userhomedir>/.gconf/desktop/gnome/remote_access/%gconf.xml file
  3. Paste your new comment at the line that reads <entry name="vnc_password"...
  4. Done.



Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s