FS#18930 - [network-manager-applet] Unable to access secrets service
Attached to Project:
Arch Linux
Opened by Byron Clark (byronc) - Friday, 02 April 2010, 14:27 GMT
Last edited by Ionut Biru (wonder) - Sunday, 02 May 2010, 17:24 GMT
Opened by Byron Clark (byronc) - Friday, 02 April 2010, 14:27 GMT
Last edited by Ionut Biru (wonder) - Sunday, 02 May 2010, 17:24 GMT
|
Details
Description:
Whenever I try to use nm-applet to connect to a VPN or a wireless network that requires a passphrase, I see this error in .xsession-errors: ** Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files Additional info: * package version(s) network-manager-applet 0.8-2 gnome-keyring 2.30.0-1 libgnome-keyring 2.30.0-1 |
This task depends upon
Closed by Ionut Biru (wonder)
Sunday, 02 May 2010, 17:24 GMT
Reason for closing: Implemented
Additional comments about closing: 2.30.1-2
Sunday, 02 May 2010, 17:24 GMT
Reason for closing: Implemented
Additional comments about closing: 2.30.1-2
I can connect to the network after entering the key, but the key is never being saved and I need to enter it on each connection.
auth optional pam_gnome_keyring.so
session optional pam_gnome_keyring.so auto_start
eval $(gnome-keyring-daemon -s --components=pkcs11,secrets,ssh)
gdm appears to run similar commands automatically.
I've added:
eval $(gnome-keyring-daemon -s --components=pkcs11,secrets,ssh)
to ~/.xinitrc (before the exec command)
and also
auth optional pam_gnome_keyring.so
session optional pam_gnome_keyring.so auto_start
to /etc/pam.d/slim (didn't have those lines) as suggested in the bug report but password are not remembered.
I have to go back to the less elegant way by modifying /usr/share/dbus-1/services/org.gnome.keyring.service.
This fix doesn't work for me. At that point I'm going back to the un-preferred way
login_cmd exec ck-launch-session dbus-launch /bin/bash -login ~/.xinitrc %session >~/.xsession-errors 2>&1
Should this be seen as a temporary of permanent fix?
Thanks
Alphazo
You really do not need the "eval $( )" around that command.
% gnome-keyring-daemon -s --components=pkcs11,secrets,ssh
GNOME_KEYRING_CONTROL=/tmp/keyring-PQzMAK
SSH_AUTH_SOCK=/tmp/keyring-PQzMAK/ssh
https://bugzilla.gnome.org/show_bug.cgi?id=611002
http://git.gnome.org/browse/gnome-keyring/commit/?id=b36d6beeb2fa430210c8a2aa19f772bd75325e42
http://git.gnome.org/browse/gnome-keyring/commit/?id=d6bb94e9c05072fc791fb5045f5b1ab22d11d916
I just want to make it known in our bug report that there is a proper fix from upstream and that any workaround doesn't need to be permanent.