I need to VNC into my desktop remotely however I need to unlock the keyring remotely from the commandline to do this.

I have tried the python solution posted on this thread

http://askubuntu.com/questions/18927...e-command-line

and it gives me the following error:

Traceback (most recent call last):
File "/usr/bin/unlock-keyring", line 6, in <module>
gnomekeyring.unlock_sync(None, getpass.getpass('Password: '));
gnomekeyring.IOError

The other solution does not tell me what command I need to unlock it the keyring.

I am running Ubuntu 10.04.4 LTS