You are not logged in.
Hello,
I want to start my VPN with nmcli but it seems to have problems with PolicyKit.
Here the output with any "nmcli ..." command:
$ nmcli con up id <VPN...>
Usage: nmcli connexion_name start|stop
---Available Connections:
Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManagerSystemSettings was not provided by any .service files
Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManagerUserSettings was not provided by any .service files
---Active Connections:
Error org.freedesktop.DBus.Error.AccessDenied: Property "ServiceName" of interface "org.freedesktop.NetworkManager.Connection.Active" isn't exported (or may not exist)
process 1243: arguments to dbus_message_set_destination() were incorrect, assertion "destination == NULL || _dbus_check_is_valid_bus_name (destination)" failed in file dbus-message.c line 3354.
This is normally a bug in some application using the D-Bus library.
D-Bus not built with -rdynamic so unable to print a backtraceNetworkmanger via nm-applet doesn't make any problems (I start networkmanager with systemd every boot) and connecting to my VPN also works.
And this is what "NetworkManager --nodaemon" tells me:
$ sudo NetworkManager --no-daemon
NetworkManager[1333]: <info> NetworkManager (version 0.9.4.0) is starting...
NetworkManager[1333]: <info> Read config file /etc/NetworkManager/NetworkManager.conf
NetworkManager[1333]: <info> VPN: loaded org.freedesktop.NetworkManager.openconnect
NetworkManager[1333]: <info> VPN: loaded org.freedesktop.NetworkManager.openvpn
NetworkManager[1333]: <info> Loaded plugin keyfile: (c) 2007 - 2010 Red Hat, Inc. To report bugs please use the NetworkManager mailing list.
NetworkManager[1333]: keyfile: parsing <VPN4> ...
NetworkManager[1333]: keyfile: read connection <VPN4>
NetworkManager[1333]: keyfile: parsing <WLAN1> ...
NetworkManager[1333]: keyfile: read connection <WLAN1>
NetworkManager[1333]: keyfile: parsing <WLAN2> ...
NetworkManager[1333]: keyfile: read connection <WLAN2>
NetworkManager[1333]: keyfile: parsing <VPN1> ...
NetworkManager[1333]: keyfile: read connection <VPN1>
NetworkManager[1333]: keyfile: parsing <VPN2> ...
NetworkManager[1333]: keyfile: read connection <VPN2>
NetworkManager[1333]: keyfile: parsing LAN <LAN1> ...
NetworkManager[1333]: keyfile: read connection <LAN1>
NetworkManager[1333]: keyfile: parsing <VPN3> ...
NetworkManager[1333]: keyfile: read connection <VPN3>
NetworkManager[1333]: <info> modem-manager is now available
NetworkManager[1333]: <info> monitoring kernel firmware directory '/lib/firmware'.
NetworkManager[1333]: <info> found WiFi radio killswitch rfkill1 (at /sys/devices/pci0000:00/0000:00:05.0/0000:02:00.0/ieee80211/phy0/rfkill1) (driver (unknown))
NetworkManager[1333]: <error> [1344372126.403663] [nm-dbus-manager.c:338] nm_dbus_manager_start_service(): Could not acquire the NetworkManager service as it is already taken.
NetworkManager[1333]: <error> [1344372126.403779] [main.c:617] main(): failed to start the dbus service.
NetworkManager[1333]: <info> exiting (error)It seems to have problems with connection to dbus daemon.
I hope you can tell me what this means and how to fix it.
Thanks in advance,
Fliegenfalle
Offline