You are not logged in.

#1 2013-10-19 00:06:35

r0b0t
Member
From: /tmp
Registered: 2009-05-24
Posts: 511

[SOLVED]Can't use OpenVPN with cinnamon 2

NetworkManager[295]: <error> [1382140597.568855] [nm-vpn-connection.c:1374] get_secrets_cb(): Failed to request VPN secrets #2: (6) No agents were available for this request.
is shown while I try to connect...
Not sure what that means..


Solution:
Apparently the cinnamon applet doesn't start nm-applet, so basically the problem is related to that.
Start nm-applet and it will work.

Last edited by r0b0t (2013-10-19 12:11:06)

Offline

#2 2013-10-19 01:45:41

r0b0t
Member
From: /tmp
Registered: 2009-05-24
Posts: 511

Re: [SOLVED]Can't use OpenVPN with cinnamon 2

This is weird, gnome-keyring is running correctly:
846  0.0  0.0 215992  3464 tty1     Sl   04:37   0:00 /usr/bin/gnome-keyring-daemon --start --components=gpg,pkcs11,secrets,ssh
I checked also some variables,

[r0b0t@localhost ~]$ echo $GNOME_KEYRING_CONTROL
/run/user/159/keyring-IUQEv5
[r0b0t@localhost ~]$ echo $GNOME_KEYRING_PID    

[r0b0t@localhost ~]$ echo $GPG_AGENT_INFO   
/run/user/159/keyring-IUQEv5/gpg:0:1
[r0b0t@localhost ~]$ echo $SSH_AUTH_SOCK 
/run/user/159/keyring-IUQEv5/ssh
[r0b0t@localhost ~]$ echo $DBUS_SESSION_BUS_ADDRESS
unix:abstract=/tmp/dbus-NCqx2XUbcn,guid=63fc4cc3350c497e9c0bba875261e25f
[r0b0t@localhost ~]$ echo $DBUS_SESSION_BUS_PID

[r0b0t@localhost ~]$ ps axu | grep dbus
dbus       303  0.1  0.0  17900  2072 ?        Ss   04:37   0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
r0b0t     689  0.0  0.0  15904   628 tty1     S    04:37   0:00 dbus-launch --sh-syntax --exit-with-session
r0b0t     706  0.0  0.0  18144  1516 ?        Ss   04:37   0:00 /usr/bin/dbus-daemon --fork --print-pid 4 --print-address 6 --session
r0b0t     817  0.0  0.0  17320  1460 ?        S    04:37   0:00 /usr/bin/dbus-daemon --config-file=/etc/at-spi2/accessibility.conf --nofork --print-address 3
r0b0t    1049  0.0  0.0   8984   688 pts/0    S+   04:41   0:00 grep dbus

Is it normal that $GNODE_KEYRING_PID and $DBUS_SESSION_BUS_PID are empty?

Offline

#3 2013-10-19 01:58:54

r0b0t
Member
From: /tmp
Registered: 2009-05-24
Posts: 511

Re: [SOLVED]Can't use OpenVPN with cinnamon 2

Update:

I found this bug https://bugs.archlinux.org/task/30747 which is similar to the issue I have, only that I don't use openconnect , and I only use partially gnome so I don't have /usr/lib/gnome-shell/  (as for the resolution reported here: https://bbs.archlinux.org/viewtopic.php … 4#p1201304 )

I didn't have either openconnect nor vpnc so I installed and :
NetworkManager[1145]: <info> VPN: loaded org.freedesktop.NetworkManager.openconnect
NetworkManager[1145]: <info> VPN: loaded org.freedesktop.NetworkManager.vpnc

however nothing changed ( Yes as the connection is OpenVPN and not cisco related ).
But this as for the BUG is not related here only to openconnect or vpnc but also to openpvn
I need the OpenVPN connection for SIP calls, would be great if anyone finds a solution or can suggest something.
Thanks.

THE WEIRDEST THING IS THAT IF I'M LOGGED IN ON XFCE OR OPENBOX THE CONNECTION WORKS FINE

Last edited by r0b0t (2013-10-19 02:18:14)

Offline

#4 2013-10-19 06:15:24

budio
Member
Registered: 2013-10-19
Posts: 2

Re: [SOLVED]Can't use OpenVPN with cinnamon 2

I'm having the same issue here also with the openvpn connection in Cinnamon 2

Oct 19 02:03:37 Arch-PC NetworkManager[280]: <info> VPN service 'openvpn' appeared; activating connections
Oct 19 02:03:37 Arch-PC NetworkManager[280]: <error> [1382162617.451891] [nm-vpn-connection.c:1374] get_secrets_cb(): Failed to request VPN secrets #2: (6) No agents were available for this request.

Offline

#5 2013-10-19 11:03:10

r0b0t
Member
From: /tmp
Registered: 2009-05-24
Posts: 511

Re: [SOLVED]Can't use OpenVPN with cinnamon 2

Comment here : https://github.com/linuxmint/Cinnamon/issues/2503
It will increase the chance to get this fixed faster...

I thin that the problem here is that there is no support for the latest gnome-desktop 1:3.10.1-1 or gnome-settings-daemon 3.10.1-1 (something like that).

Offline

#6 2013-10-19 12:11:17

r0b0t
Member
From: /tmp
Registered: 2009-05-24
Posts: 511

Re: [SOLVED]Can't use OpenVPN with cinnamon 2

Solution:
Apparently the cinnamon applet doesn't start nm-applet, so basically the problem is related to that.
Start nm-applet and it will work.

Offline

#7 2013-10-19 15:09:10

budio
Member
Registered: 2013-10-19
Posts: 2

Re: [SOLVED]Can't use OpenVPN with cinnamon 2

Awesome thanks! that saved me a lot of time.

Last edited by budio (2013-10-19 15:12:08)

Offline

Board footer

Powered by FluxBB