You are not logged in.

#1 2017-11-23 10:18:08

phi-mah
Member
Registered: 2012-10-10
Posts: 11

network-manager-applet does not query for VPN passphrase

Hi,

in a LXQT session, I am unable to build up an openvpn connection via the network-manager applet. When I try to initiate a connection via the GUI, I am not getting asked for the passphrase and finally no connection is established (In order to read my private key, a passphrase is needed. I do not want to store this passphrase on my notebook.)

Instead I can see in the logs:

Nov 23 09:39:26 PHIL_X1 NetworkManager[371]: <info>  [1511426366.4789] audit: op="connection-activate" uuid="53fd88e8-02c8-4e11-899c-348406bbdc43" name="VPN HISKP" pid=5937 uid=1000 result="success"
Nov 23 09:39:26 PHIL_X1 NetworkManager[371]: <info>  [1511426366.4813] vpn-connection[0x559a1c7dd100,53fd88e8-02c8-4e11-899c-348406bbdc43,"VPN HISKP",0]: Started the VPN service, PID 6060
Nov 23 09:39:26 PHIL_X1 NetworkManager[371]: <info>  [1511426366.4857] vpn-connection[0x559a1c7dd100,53fd88e8-02c8-4e11-899c-348406bbdc43,"VPN HISKP",0]: Saw the service appear; activating connection
Nov 23 09:39:26 PHIL_X1 dbus-daemon[5915]: [session uid=1000 pid=5915] Activating service name='org.freedesktop.secrets' requested by ':1.13' (uid=1000 pid=5937 comm="/usr/bin/nm-applet ")
Nov 23 09:39:26 PHIL_X1 dbus-daemon[5915]: [session uid=1000 pid=5915] Successfully activated service 'org.freedesktop.secrets'
Nov 23 09:39:26 PHIL_X1 NetworkManager[371]: <info>  [1511426366.5442] settings-connection[0x559a1c644c40,53fd88e8-02c8-4e11-899c-348406bbdc43]: write: successfully commited (keyfile: update /etc/NetworkManager/system-connections/VPN HISKP (53fd88e8-02c8-4e11-899c-348406bbdc43,"VPN HISKP"))
Nov 23 09:39:26 PHIL_X1 NetworkManager[371]: <info>  [1511426366.5949] settings-connection[0x559a1c644c40,53fd88e8-02c8-4e11-899c-348406bbdc43]: write: successfully commited (keyfile: update /etc/NetworkManager/system-connections/VPN HISKP (53fd88e8-02c8-4e11-899c-348406bbdc43,"VPN HISKP"))
Nov 23 09:39:26 PHIL_X1 NetworkManager[371]: <error> [1511426366.5972] vpn-connection[0x559a1c7dd100,53fd88e8-02c8-4e11-899c-348406bbdc43,"VPN HISKP",0]: final secrets request failed to provide sufficient secrets                                                
Nov 23 09:39:26 PHIL_X1 NetworkManager[371]: <info>  [1511426366.5983] vpn-connection[0x559a1c7dd100,53fd88e8-02c8-4e11-899c-348406bbdc43,"VPN HISKP",0]: VPN plugin: state changed: stopped (6)
Nov 23 09:39:26 PHIL_X1 NetworkManager[371]: <info>  [1511426366.5992] vpn-connection[0x559a1c7dd100,53fd88e8-02c8-4e11-899c-348406bbdc43,"VPN HISKP",0]: VPN service disappeared
Nov 23 09:39:26 PHIL_X1 kgpg[5941]: "No such interface 'org.freedesktop.DBus.Properties' on object at path /org/freedesktop/NetworkManager/ActiveConnection/11"
Nov 23 09:39:26 PHIL_X1 kgpg[5941]: "No such interface 'org.freedesktop.DBus.Properties' on object at path /org/freedesktop/NetworkManager/ActiveConnection/11"
Nov 23 09:39:26 PHIL_X1 kgpg[5941]: "No such interface 'org.freedesktop.DBus.Properties' on object at path /org/freedesktop/NetworkManager/ActiveConnection/11"

However, it does work via the command line and in combination with the -a/--ask switch (for the actual command see the first line of the following log)!!!
This way, nmcli prompts for the passphrase on the command line. Without the --ask option it would be still the task of nm-applet to query me for the passphrase, which results in the same error as above.

Registered Authentication Agent for unix-process:5402:72693 (system bus name :1.218 [nmcli -a con up 53fd88e8-02c8-4e11-899c-348406bbdc43], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Nov 23 09:35:09 PHIL_X1 NetworkManager[371]: <info>  [1511426109.1178] audit: op="connection-activate" uuid="53fd88e8-02c8-4e11-899c-348406bbdc43" name="VPN HISKP" pid=5402 uid=1000 result="success"
Nov 23 09:35:09 PHIL_X1 NetworkManager[371]: <info>  [1511426109.1206] vpn-connection[0x559a1c7dd6d0,53fd88e8-02c8-4e11-899c-348406bbdc43,"VPN HISKP",0]: Started the VPN service, PID 5408
Nov 23 09:35:09 PHIL_X1 NetworkManager[371]: <info>  [1511426109.1255] vpn-connection[0x559a1c7dd6d0,53fd88e8-02c8-4e11-899c-348406bbdc43,"VPN HISKP",0]: Saw the service appear; activating connection
Nov 23 09:35:09 PHIL_X1 NetworkManager[371]: <info>  [1511426109.1853] settings-connection[0x559a1c644c40,53fd88e8-02c8-4e11-899c-348406bbdc43]: write: successfully commited (keyfile: update /etc/NetworkManager/system-connections/VPN HISKP (53fd88e8-02c8-4e11-899c-348406bbdc43,"VPN HISKP"))
Nov 23 09:35:35 PHIL_X1 NetworkManager[371]: <info>  [1511426135.6993] vpn-connection[0x559a1c7dd6d0,53fd88e8-02c8-4e11-899c-348406bbdc43,"VPN HISKP",0]: VPN plugin: state changed: starting (3)

With wifi passwords, the problem does not occur at all and also in  a plasma session (and with plasma-nm)  everything works as expected.

Does somebody has an idea how to fix it?

Many thanks,
Philipp

Offline

#2 2017-11-23 11:05:04

lo1
Member
Registered: 2017-09-25
Posts: 584

Offline

Board footer

Powered by FluxBB