You are not logged in.

#1 2014-07-19 03:58:45

shadyabhi
Member
From: Bangalore
Registered: 2010-05-23
Posts: 262
Website

gnome-keyring + networkmanager: Not prompting for password

I recently shifted from wicd to networkmanager & I want it to be that way. There is one problem that's troubling me. As a non-root user, if I connect to a new network, the nm-applet doesn't ask for passwords.

The logs say:

2014-07-19T08:29:45.217385+05:30 archlinux NetworkManager[20784]: <info> (wlan0): device state change: prepare -> config (reason 'none') [40 50 0]
2014-07-19T08:29:45.217385+05:30 archlinux NetworkManager[20784]: <info> Activation (wlan0/wireless): access point 'my access point name' has security, but secrets are required.

I run "awesome wm" and I've configured gnome-keyring via the "pam" method & I believe that it works.

➜ 0 /home/shadyabhi [ 9:09AM] % echo $SSH_AUTH_SOCK
/run/user/1000/keyring/ssh
➜ 0 /home/shadyabhi [ 9:09AM] % echo $GPG_AGENT_INFO 
/run/user/1000/keyring/gpg:0:1
➜ 0 /home/shadyabhi [ 9:09AM] % ss -xl | grep -o '/run/user/1000/keyring/ssh'
/run/user/1000/keyring/ssh
➜ 0 /home/shadyabhi [ 9:09AM] % 

Running "sudo nm-applet" from terminal recognizes gnome-keyring.

➜ 2 /home/shadyabhi [ 8:38AM] % sudo nm-applet

(nm-applet:21840): libnotify-WARNING **: Failed to connect to proxy

(nm-applet:21840): nm-applet-WARNING **: Failed to show notification: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .servi
ce files
nm-applet-Message: No keyring secrets found for "my access point name"/802-11-wireless-security; asking user.

Can anyone help me in finding out what might be wrong? Thanks.

Offline

#2 2014-07-20 06:26:12

shadyabhi
Member
From: Bangalore
Registered: 2010-05-23
Posts: 262
Website

Re: gnome-keyring + networkmanager: Not prompting for password

Hi guys, can anyone guide as to how can I debug this?

Offline

#3 2014-08-21 07:26:41

jichuan89
Member
From: Mountain View, CA
Registered: 2010-03-10
Posts: 9
Website

Re: gnome-keyring + networkmanager: Not prompting for password

I had the same issue. Turns out I was using SLiM with auto_login enabled, which doesn't unlock the GNOME keyring on login (see this post). Changing auto_login to false solved the issue.

Offline

Board footer

Powered by FluxBB