You are not logged in.

#1 2014-04-18 10:57:03

ghost87
Member
Registered: 2014-04-18
Posts: 4

Arch Linux nm-applet / gnome-keyring issue

Hi
I have just recently switched to arch from fedora.
I am running a GNOME 3 desktop environment.
I am enjoying arch but I find it annoying that networkmanager seems to be constantly forgetting my user password and group password for a cisco vpn connection.
I have successfully connected with the information on other distros.
I have network-manager-applet and gnome-keyring installed.
I have also used Seahorse and discovered that the passwords are stored in the login keyring.
Networkmanager seems to just make them blank.
I checked journalctl -f and did not see any error messages during this process.
Am I forgetting to install a packet?
Any help would be greatly appreciated.

Offline

#2 2014-04-18 11:44:32

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: Arch Linux nm-applet / gnome-keyring issue

Is the keyring-daemon running?
Have you read this wikipage?
https://wiki.archlinux.org/index.php/Gnome-keyring
Are you using a display manager like gdm or console login?
EDIT: Welcome...

Last edited by teateawhy (2014-04-18 11:45:01)

Offline

#3 2014-04-18 11:58:04

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,175
Website

Re: Arch Linux nm-applet / gnome-keyring issue

You need at least the libgnome-keyring package to get this working in GNOME3 based environments (so, GNOME, Cinnamon). Or at least, that's what I've found.


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

#4 2014-04-18 16:09:51

ghost87
Member
Registered: 2014-04-18
Posts: 4

Re: Arch Linux nm-applet / gnome-keyring issue

Hi everyone, thanks for the replies
I do not know if the keyring-daemon is running. It says it cannot access the dbus.
I am using gdm and have installed libgnome-keyring. Also I added the following symlink. It didnt help though:

 
# For VPNC (i.e. Cisco VPN)
ln -s /usr/lib/networkmanager/nm-vpnc-auth-dialog /usr/lib/gnome-shell/

I looked at journalctl and was able to get the following output:

9 archvm NetworkManager[290]: <info> Starting VPN service 'vpnc'...
Apr 18 18:03:19 archvm NetworkManager[290]: <info> VPN service 'vpnc' started (org.freedesktop.NetworkManager.vpnc), PID 1732
Apr 18 18:03:19 archvm NetworkManager[290]: <info> VPN service 'vpnc' appeared; activating connections
Apr 18 18:03:19 archvm NetworkManager[290]: <info> VPN plugin state changed: init (1)
Apr 18 18:03:19 archvm gnome-session[691]: (gnome-shell:766): Gjs-WARNING **: JS ERROR: error while reading VPN plugin output keyfile: GLib.KeyFileError: Key file does not have group 'VPN Plugin UI'
Apr 18 18:03:19 archvm gnome-session[691]: VPNRequestHandler<._showNewStyleDialog@resource:///org/gnome/shell/ui/components/networkAgent.js:520
Apr 18 18:03:19 archvm gnome-session[691]: wrapper@resource:///org/gnome/gjs/modules/lang.js:169
Apr 18 18:03:19 archvm gnome-session[691]: VPNRequestHandler<._readStdoutNewStyle/<@resource:///org/gnome/shell/ui/components/networkAgent.js:499
Apr 18 18:03:19 archvm NetworkManager[290]: <error> [1397836999.818760] [nm-vpn-connection.c:1374] get_secrets_cb(): Failed to request VPN secrets #2: (6) No agents were available for this request.
Apr 18 18:03:19 archvm NetworkManager[290]: <info> Policy set 'Wired connection 1' (ens3) as default for IPv4 routing and DNS.
Apr 18 18:03:19 archvm gnome-session[691]: Window manager warning: Log level 16: AT-SPI: Error in GetItems, sender=org.freedesktop.DBus, error=The name :1.29 was not provided by any .service files

Any further help would be awesome. Thanks

Offline

#5 2014-04-19 10:36:39

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: Arch Linux nm-applet / gnome-keyring issue

ln -s /usr/lib/networkmanager/nm-vpnc-auth-dialog /usr/lib/gnome-shell/

Why would you do such a thing? That file is owned by the networkmanager-vpnc package. Maybe this helps for debugging:

https://bugzilla.redhat.com/show_bug.cgi?id=848217#c2

Offline

Board footer

Powered by FluxBB