You are not logged in.

#1 2015-08-27 20:38:35

martinc2
Member
Registered: 2011-09-23
Posts: 62

[SOLVED] Networkmanager 1.0.6-1: Can't connect to OpenVPN

Hi,

(solved with networkmanager-openvpn-1.0.6-2)

OpenVPN connections worked fine for me under previous versions of (qt)-NetworkManager, but now I get a message that the service can't be started.  The most likely cause seems to be

Aug 27 21:26:19 spork NetworkManager[523]: <warn>  VPN connection 'xxxxxxx' failed to connect: 'User 'nm-openvpn' not found, check NM_OPENVPN_USER.'.
Aug 27 21:26:19 spork NetworkManager[523]: <warn>  error disconnecting VPN: Could not process the request because no VPN connection was active.

However, I can't find any mention of nm-openvpn or NM_OPENVPN_USER online (and attempting to set the latter  to something sensible doesn't seem to help).  Does anyone know what's going on?

Ta

--mc

Last edited by martinc2 (2015-08-29 22:40:03)

Offline

#2 2015-08-27 21:38:16

naghmash
Member
Registered: 2015-08-27
Posts: 1

Re: [SOLVED] Networkmanager 1.0.6-1: Can't connect to OpenVPN

Same error. but i can connect through terminal by

sudo openvpn <.ovpn>

Last edited by naghmash (2015-08-27 21:43:24)

Offline

#3 2015-08-27 21:51:56

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [SOLVED] Networkmanager 1.0.6-1: Can't connect to OpenVPN


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#4 2015-08-28 00:37:04

jugs
Member
Registered: 2007-12-05
Posts: 39

Re: [SOLVED] Networkmanager 1.0.6-1: Can't connect to OpenVPN

Yep broken for me, and everyone else. Not good.

Offline

#5 2015-08-28 09:05:57

klingt.net
Member
Registered: 2014-03-10
Posts: 25

Re: [SOLVED] Networkmanager 1.0.6-1: Can't connect to OpenVPN

AnAkkk provided a preliminary fix for the problem:

groupadd -r nm-openvpn
useradd -r -g nm-openvpn -d / -s /sbin/nologin -c "Default user for running openvpn spawned by NetworkManager" nm-openvpn

Offline

#6 2015-08-28 09:34:04

masolit
Member
Registered: 2013-12-24
Posts: 46

Re: [SOLVED] Networkmanager 1.0.6-1: Can't connect to OpenVPN

.

Last edited by masolit (2019-12-03 16:10:11)

Offline

#7 2015-08-28 15:26:37

Ekaradon
Member
Registered: 2014-05-31
Posts: 44

Re: [SOLVED] Networkmanager 1.0.6-1: Can't connect to OpenVPN

Same issue here,  I do not get the same logs because it is accessed through KDE:

Aug 28 17:20:47 MyPC kde5-nm-connection-editor[9234]: QDBusObjectPath: invalid path ""
Aug 28 17:20:47 MyPC kde5-nm-connection-editor[9234]: plasma-nm: Item  "MyVPN" : active connection state changed to  0
Aug 28 17:20:47 MyPC kde5-nm-connection-editor[9234]: plasma-nm: Item  "MyVPN" : connection updated
Aug 28 17:20:47 MyPC kde5-nm-connection-editor[9234]: plasma-nm: Item  "MyVPN" : connection updated
Aug 28 17:20:47 MyPC kde5-nm-connection-editor[9234]: plasma-nm: Item  "MyVPN" : active connection removed
Aug 28 17:20:47 MyPC kde5-nm-connection-editor[9234]: plasma-nm: Checking VPN "MyVPN" type: "org.freedesktop.NetworkManager.openvpn"

Solved with the solution above.

Last edited by Ekaradon (2015-08-28 15:28:07)

Offline

#8 2015-08-28 23:29:12

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: [SOLVED] Networkmanager 1.0.6-1: Can't connect to OpenVPN

Also solved with this morning's update (without any of the above solutions):

Name           : networkmanager-openvpn
Version        : 1.0.6-2

Scott

Offline

Board footer

Powered by FluxBB