GNOME Bugzilla – Bug 658441
Vinagre doesn't remember passwords
Last modified: 2013-02-25 03:32:06 UTC
I have some VNC connections configured in vinagre that need a password. Each time I connect to one of them, I'm prompted for the password. I enter it and check "remember password" but the next time I'm still prompted for the password.
Please also note that I'm sure it used to work before, but I recently removed my keychain from seahorse and re-created it.
Same here. I have noticed that if I disconnect and try to connect again, the password IS remembered. BUT if I close the application and open it again, the I'm prompted for password again. I think it stopped working in the same or a close update to that one in which the bookmarks toolbar disappeared.
Even though this bugs is registered in version 3.1.x, I'm having this issue in 3.2.1 and using XFCE. Maybe it's a bug related to XFCE and it works ok on Gnome, as it's strange that only two of us reported it. What desktop are you using, Julien Olivier?
(In reply to comment #3) > Even though this bugs is registered in version 3.1.x, I'm having this issue in > 3.2.1 and using XFCE. Maybe it's a bug related to XFCE and it works ok on > Gnome, as it's strange that only two of us reported it. What desktop are you > using, Julien Olivier? I use gnome-shell 3.2.1 on Ubuntu Oneiric. Maybe only two of us reported it because very few people use VNC with a password...
(In reply to comment #4) I experience the exact problem as described above. I am on gnome-shell 3.2.0 on a Ubuntu 11.10 install.
I can confirm this bug on Ubuntu 11.10 in Unity. It is very annoying having to always enter my password!
Same problem here, with Ubuntu 11.10 64-bit using Unity or XFCE (different users). And also with Linux Mint 12 64-bit. The credentials are not saved. Other people has filed the same bug on the Ubuntu package page (#876105): https://bugs.launchpad.net/ubuntu/+source/vinagre/+bug/876105
(In reply to comment #0) > I have some VNC connections configured in vinagre that need a password. Each > time I connect to one of them, I'm prompted for the password. I enter it and > check "remember password" but the next time I'm still prompted for the > password. Same here. Worked in latest version contained in ubuntu 10.04 but started forgetting passwords in vinagre 3.4.1 (contained in ubuntu 12.04).
Also seen in vinagre 3.4.2 in Ubuntu 12.04.1 (64-bit) running under Cinnamon desktop.
Created attachment 227731 [details] log of vinagre running with the --gtk-vnc-debug switch
Same here. Vinagre will not remember passwords as it did in the past. The only way I was able to get it to remember the password once was : 1. Open a new vnc connection to any host (which asks for a password) 2. Enter password and click on Authenticate (checking the 'Remember this credential' box has no effect here) 3. While connection is still open, select Bookmarks > Add bookmark 4. Save bookmark 5. Close connection 6. Select Bookmark > yourBookmark 7. The login box will appear asking for your password again. Enter password again and click 'Authenticate' (again, checking the 'Remember this credential' box has no effect here) 8. Disconnect. 9. AGAIN, select Bookmark > yourBookmark 10. At this point, connection is initiated without requiring a password My system : [philippe@corestation ~]$ uname -a Linux corestation 3.5.4-2.fc17.i686 #1 SMP Wed Sep 26 22:32:49 UTC 2012 i686 i686 i386 GNU/Linux [philippe@corestation ~]$ cat /etc/fedora-release Fedora release 17 (Beefy Miracle) [philippe@corestation ~]$ rpm -q vinagre vinagre-3.4.2-1.fc17.i686 And attached is a log of vinagre running with the --gtk-vnc-debug switch.
Created attachment 235047 [details] [review] Fix value of save_in_keyring output parameter When the vinagre_utils_ask_credential() utility function was rewritten in Vala [1], a NULL check was incorrectly translated to Vala as-is. The above causes the new vinagre_utils_request_credential() function to always return FALSE as the value of the save_in_keyring output parameter. Attached is a patch that fixes the issue for me. After this is solved, bug 685041 will need to be revisited because if a wrong password is given at first, subsequent attempts with correct credentials will end up calling secret_password_store_sync() with user = NULL. (I believe this is because vinagre_tab_remove_credentials_from_keyring() gets called during the failed first and sets the username to NULL.) [1] see commit 1c0c2d0f53bc3a5b7240aa3907d5d554696c7ae6
Comment on attachment 235047 [details] [review] Fix value of save_in_keyring output parameter Thaks for the patch, I pushed it to master as commit e2f8f97f4c997e298c9df513803772ee9368c3a7.