Is my Plasma-nm applet broken or is Network Manager itself the Problem?

So I have the issue that the NM widget, and mostly the connection editor don’t accept any kind of changes to settings or edits. Many fields to fill out are empty. And I wonder why.

The issue persists after I had to reinstall my complete machine and copied my backed-up home directory into place. Right now, i can connect to any wifi connection just fine by using “nmcli con --ask up id NetworkName” and entering the credentials. However, the list of saved connections in the nm-applet seems broken. No settings or passwords are stored. And most importantly trying to fill out any information is futile as the information entered are not stored in the configuration after hitting apply and closing the connection editor.

This is what my troubleshooting brought up so far:

  1. When opening up the applet connection editor, the system journal reports the following reproducably:
Nov 16 20:31:26 rob-pc kded5[908]: plasma-nm: virtual NMVariantMapMap SecretAgent::GetSecrets(const NMVariantMapMap&, const QDBusObjectPath&, const QString&, const QStringList&, uint)
Nov 16 20:31:26 rob-pc kded5[908]: plasma-nm: Path: "/org/freedesktop/NetworkManager/Settings/17"
Nov 16 20:31:26 rob-pc kded5[908]: plasma-nm: Setting name: "802-11-wireless-security"
Nov 16 20:31:26 rob-pc kded5[908]: plasma-nm: Hints: ()
Nov 16 20:31:26 rob-pc kded5[908]: plasma-nm: Flags: 4
Nov 16 20:31:26 rob-pc kded5[908]: plasma-nm: GetSecrets was called again! This should not happen, cancelling first call "/org/freedesktop/NetworkManager/Settings/17" "802-11-wireless-security"
Nov 16 20:31:26 rob-pc kded5[908]: plasma-nm: virtual void SecretAgent::CancelGetSecrets(const QDBusObjectPath&, const QString&)
Nov 16 20:31:26 rob-pc kded5[908]: plasma-nm: Path: "/org/freedesktop/NetworkManager/Settings/17"
Nov 16 20:31:26 rob-pc kded5[908]: plasma-nm: Setting name: "802-11-wireless-security"
Nov 16 20:31:26 rob-pc kded5[908]: plasma-nm: bool SecretAgent::processSaveSecrets(SecretsRequest&) const Waiting for the wallet to open
Nov 16 20:31:26 rob-pc kded5[908]: plasma-nm: bool SecretAgent::processSaveSecrets(SecretsRequest&) const Waiting for the wallet to open
Nov 16 20:31:26 rob-pc kded5[908]: plasma-nm: bool SecretAgent::processGetSecrets(SecretsRequest&) const Waiting for the wallet to open
Nov 16 20:31:26 rob-pc kded5[908]: plasma-nm: bool SecretAgent::processDeleteSecrets(SecretsRequest&) const Waiting for the wallet to open
Nov 16 20:31:26 rob-pc kded5[908]: plasma-nm: bool SecretAgent::processGetSecrets(SecretsRequest&) const Waiting for the wallet to open
Nov 16 20:31:26 rob-pc kded5[908]: plasma-nm: bool SecretAgent::processGetSecrets(SecretsRequest&) const Waiting for the wallet to open
Nov 16 20:31:26 rob-pc kded5[908]: plasma-nm: bool SecretAgent::processSaveSecrets(SecretsRequest&) const Waiting for the wallet to open
Nov 16 20:31:26 rob-pc kded5[908]: plasma-nm: bool SecretAgent::processSaveSecrets(SecretsRequest&) const Waiting for the wallet to open
Nov 16 20:31:26 rob-pc kded5[908]: plasma-nm: bool SecretAgent::processGetSecrets(SecretsRequest&) const Waiting for the wallet to open
Nov 16 20:31:26 rob-pc kded5[908]: plasma-nm: bool SecretAgent::processDeleteSecrets(SecretsRequest&) const Waiting for the wallet to open
Nov 16 20:31:26 rob-pc kded5[908]: plasma-nm: bool SecretAgent::processGetSecrets(SecretsRequest&) const Waiting for the wallet to open
Nov 16 20:31:26 rob-pc kded5[908]: plasma-nm: bool SecretAgent::processGetSecrets(SecretsRequest&) const Waiting for the wallet to open
Nov 16 20:31:26 rob-pc kded5[908]: plasma-nm: bool SecretAgent::processGetSecrets(SecretsRequest&) const Waiting for the wallet to open

I am not sure whether this is related. I do not recall to have used any kind of wallet before, and right now, I do not see a relation. So this might be yet another issue?

  1. I tried to check /etc/NetworkManager/system-connections. I can only open the folder using su in Konsole, there is no access through Dolphin. Many advice about NM connection seems to assume that people can enter /system-connection just fine, so maybe this directory is supposed to be at least read by the user? On the other hand, this is probably DBUS’s job, so this might be just fine as well.

  2. The only network that connects just fine (even through plasma-nm) is “Eduroam”, which is a widespread university wifi here in Europe. However, this might be because Eduroam is a WPA-Enterprise network. The Arch wiki suggest that Network-Manager cannot connect to such networks and asks for configuring it using iwd. Since this network runs just fine once it occurs, maybe this might be due to iwd making its job, when nm is broken?

  3. Most connection files that I can see are missing the “psk=” which stores the password. The only exception is my home wifi. However, when accessing the connection through the applet, no password credentials are shown or can be changed.

So, I am at a loss where to start from here. I’m not even sure whether its an NM or Plasma-nm applet problem. Any ideas?

*I’m using Manjaro with Kernel 4.19.208, Plasma 5.22.5 and nm 1.32.12 on my Thinkpad x230.

FYI, This is the Log output for a startup.

  1. I did wake my machine up from sleep.
  2. I unlocked the device.
  3. I opened the plasma-nm applet to watch what happens. In the background nm tried to connect to my home wifi network. Alas, it didn’t succeed, so
    thing No.
  4. I did was to use the abort button in the plasma applet, which worked fine. After that I opened the connection using nmcli, which worked just fine.
Nov 16 21:14:25 rob-pc kernel: iwlwifi 0000:03:00.0: Radio type=0x1-0x2-0x0
Nov 16 21:14:25 rob-pc kernel: iwlwifi 0000:03:00.0: Radio type=0x1-0x2-0x0
Nov 16 21:14:25 rob-pc ModemManager[617]: <info>  [sleep-monitor] system is resuming
Nov 16 21:14:25 rob-pc NetworkManager[579]: <info>  [1637093665.7667] manager: sleep: wake requested (sleeping: yes  enabled: yes)
Nov 16 21:14:25 rob-pc NetworkManager[579]: <info>  [1637093665.7668] device (enp0s25): state change: unavailable -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
Nov 16 21:14:25 rob-pc NetworkManager[579]: <info>  [1637093665.9026] device (enp0s25): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Nov 16 21:14:25 rob-pc kernel: e1000e: enp0s25 NIC Link is Down
Nov 16 21:14:25 rob-pc kernel: IPv6: ADDRCONF(NETDEV_UP): enp0s25: link is not ready
Nov 16 21:14:26 rob-pc NetworkManager[579]: <info>  [1637093666.1650] device (wlp3s0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Nov 16 21:14:26 rob-pc kernel: IPv6: ADDRCONF(NETDEV_UP): enp0s25: link is not ready
Nov 16 21:14:26 rob-pc kernel: IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
Nov 16 21:14:26 rob-pc NetworkManager[579]: <info>  [1637093666.1799] device (wlp3s0): set-hw-addr: set MAC address to 5A:95:26:53:38:AD (scanning)
Nov 16 21:14:26 rob-pc kernel: iwlwifi 0000:03:00.0: Radio type=0x1-0x2-0x0
Nov 16 21:14:26 rob-pc kernel: iwlwifi 0000:03:00.0: Radio type=0x1-0x2-0x0
Nov 16 21:14:26 rob-pc kernel: IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
Nov 16 21:14:26 rob-pc NetworkManager[579]: <info>  [1637093666.6426] manager: NetworkManager state is now DISCONNECTED
Nov 16 21:14:26 rob-pc wpa_supplicant[787]: dbus: fill_dict_with_properties dbus_interface=fi.w1.wpa_supplicant1.Interface.P2PDevice dbus_property=P2PDeviceConfig getter failed
Nov 16 21:14:26 rob-pc kernel: IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
Nov 16 21:14:26 rob-pc NetworkManager[579]: <info>  [1637093666.7629] device (wlp3s0): supplicant interface state: internal-starting -> disconnected
Nov 16 21:14:26 rob-pc NetworkManager[579]: <info>  [1637093666.7632] device (wlp3s0): state change: unavailable -> disconnected (reason 'supplicant-available', sys-iface-state: 'managed')
Nov 16 21:14:28 rob-pc ModemManager[617]: <info>  [base-manager] couldn't check support for device '/sys/devices/pci0000:00/0000:00:19.0': not supported by any plugin
Nov 16 21:14:28 rob-pc ModemManager[617]: <info>  [base-manager] couldn't check support for device '/sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0': not supported by any plugin
Nov 16 21:14:29 rob-pc NetworkManager[579]: <info>  [1637093669.7291] policy: auto-activating connection 'MyNetwork' (8981acbf-304a-4d97-b7ef-eafc8678953a)
Nov 16 21:14:29 rob-pc NetworkManager[579]: <info>  [1637093669.7306] device (wlp3s0): Activation: starting connection 'MyNetwork' (8981acbf-304a-4d97-b7ef-eafc8678953a)
Nov 16 21:14:29 rob-pc NetworkManager[579]: <info>  [1637093669.7307] device (wlp3s0): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
Nov 16 21:14:29 rob-pc NetworkManager[579]: <info>  [1637093669.7310] manager: NetworkManager state is now CONNECTING
Nov 16 21:14:29 rob-pc NetworkManager[579]: <info>  [1637093669.7465] device (wlp3s0): set-hw-addr: reset MAC address to 84:3A:4B:57:0D:14 (preserve)
Nov 16 21:14:29 rob-pc kernel: iwlwifi 0000:03:00.0: Radio type=0x1-0x2-0x0
Nov 16 21:14:30 rob-pc kernel: iwlwifi 0000:03:00.0: Radio type=0x1-0x2-0x0
Nov 16 21:14:30 rob-pc NetworkManager[579]: <info>  [1637093670.1796] device (wlp3s0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Nov 16 21:14:30 rob-pc NetworkManager[579]: <info>  [1637093670.1803] device (wlp3s0): Activation: (wifi) access point 'MyNetwork' has security, but secrets are required.
Nov 16 21:14:30 rob-pc NetworkManager[579]: <info>  [1637093670.1803] device (wlp3s0): state change: config -> need-auth (reason 'none', sys-iface-state: 'managed')
Nov 16 21:14:30 rob-pc NetworkManager[579]: <info>  [1637093670.1806] sup-iface[70baf50bf117d5b1,36,wlp3s0]: wps: type pbc start...
Nov 16 21:14:30 rob-pc kernel: IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
Nov 16 21:14:30 rob-pc NetworkManager[579]: <info>  [1637093670.1865] device (wlp3s0): supplicant interface state: disconnected -> interface_disabled
ov 16 21:14:30 rob-pc kded5[908]: plasma-nm: Unhandled active connection state change:  1
Nov 16 21:14:30 rob-pc kded5[908]: plasma-nm: virtual NMVariantMapMap SecretAgent::GetSecrets(const NMVariantMapMap&, const QDBusObjectPath&, const QString&, const QStringList&, uint)
Nov 16 21:14:30 rob-pc kded5[908]: plasma-nm: Path: "/org/freedesktop/NetworkManager/Settings/17"
Nov 16 21:14:30 rob-pc kded5[908]: plasma-nm: Setting name: "802-11-wireless-security"
Nov 16 21:14:30 rob-pc kded5[908]: plasma-nm: Hints: ()
Nov 16 21:14:30 rob-pc kded5[908]: plasma-nm: Flags: 9
Nov 16 21:14:30 rob-pc kded5[908]: plasma-nm: GetSecrets was called again! This should not happen, cancelling first call "/org/freedesktop/NetworkManager/Settings/17" "802-11-wireless-security"
Nov 16 21:14:30 rob-pc kded5[908]: plasma-nm: virtual void SecretAgent::CancelGetSecrets(const QDBusObjectPath&, const QString&)
Nov 16 21:14:30 rob-pc kded5[908]: plasma-nm: Path: "/org/freedesktop/NetworkManager/Settings/17"
Nov 16 21:14:30 rob-pc kded5[908]: plasma-nm: Setting name: "802-11-wireless-security"
Nov 16 21:14:30 rob-pc kded5[908]: plasma-nm: bool SecretAgent::processSaveSecrets(SecretsRequest&) const Waiting for the wallet to open
Nov 16 21:14:30 rob-pc kded5[908]: plasma-nm: bool SecretAgent::processSaveSecrets(SecretsRequest&) const Waiting for the wallet to open
Nov 16 21:14:30 rob-pc kded5[908]: plasma-nm: bool SecretAgent::processGetSecrets(SecretsRequest&) const Waiting for the wallet to open
Nov 16 21:14:30 rob-pc kded5[908]: plasma-nm: bool SecretAgent::processDeleteSecrets(SecretsRequest&) const Waiting for the wallet to open
Nov 16 21:14:30 rob-pc kded5[908]: plasma-nm: bool SecretAgent::processGetSecrets(SecretsRequest&) const Waiting for the wallet to open
Nov 16 21:14:30 rob-pc kded5[908]: plasma-nm: bool SecretAgent::processGetSecrets(SecretsRequest&) const Waiting for the wallet to open
Nov 16 21:14:30 rob-pc kded5[908]: plasma-nm: bool SecretAgent::processSaveSecrets(SecretsRequest&) const Waiting for the wallet to open
Nov 16 21:14:30 rob-pc kded5[908]: plasma-nm: bool SecretAgent::processSaveSecrets(SecretsRequest&) const Waiting for the wallet to open
Nov 16 21:14:30 rob-pc kded5[908]: plasma-nm: bool SecretAgent::processSaveSecrets(SecretsRequest&) const Waiting for the wallet to open
Nov 16 21:14:30 rob-pc kded5[908]: plasma-nm: bool SecretAgent::processGetSecrets(SecretsRequest&) const Waiting for the wallet to open
Nov 16 21:14:30 rob-pc kded5[908]: plasma-nm: bool SecretAgent::processDeleteSecrets(SecretsRequest&) const Waiting for the wallet to open
Nov 16 21:14:30 rob-pc kded5[908]: plasma-nm: bool SecretAgent::processGetSecrets(SecretsRequest&) const Waiting for the wallet to open
Nov 16 21:14:30 rob-pc kded5[908]: plasma-nm: bool SecretAgent::processGetSecrets(SecretsRequest&) const Waiting for the wallet to open
Nov 16 21:14:30 rob-pc kded5[908]: plasma-nm: bool SecretAgent::processSaveSecrets(SecretsRequest&) const Waiting for the wallet to open
Nov 16 21:14:30 rob-pc kded5[908]: plasma-nm: bool SecretAgent::processGetSecrets(SecretsRequest&) const Waiting for the wallet to open
Nov 16 21:14:30 rob-pc NetworkManager[579]: <info>  [1637093670.2856] device (wlp3s0): supplicant interface state: interface_disabled -> inactive
Nov 16 21:14:30 rob-pc wpa_supplicant[787]: wlp3s0: WPS-PBC-ACTIVE
Nov 16 21:14:30 rob-pc NetworkManager[579]: <info>  [1637093670.2921] device (wlp3s0): supplicant interface state: inactive -> scanning
Nov 16 21:14:32 rob-pc audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 16 21:14:32 rob-pc systemd[1]: NetworkManager-dispatcher.service: Deactivated successfully.
Nov 16 21:14:32 rob-pc kernel: audit: type=1131 audit(1637093672.630:1400): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 16 21:16:25 rob-pc NetworkManager[579]: <info>  [1637093785.5040] device (wlp3s0): state change: need-auth -> deactivating (reason 'user-requested', sys-iface-state: 'managed')
Nov 16 21:16:25 rob-pc kernel: audit: type=1111 audit(1637093785.500:1401): pid=579 uid=0 auid=4294967295 ses=4294967295 msg='op=device-disconnect interface="wlp3s0" ifindex=3 pid=965 uid=1000 result=success exe="/usr/bin/NetworkManager" hostname=? addr=? terminal=? res=success'
Nov 16 21:16:25 rob-pc audit[579]: USYS_CONFIG pid=579 uid=0 auid=4294967295 ses=4294967295 msg='op=device-disconnect interface="wlp3s0" ifindex=3 pid=965 uid=1000 result=success exe="/usr/bin/NetworkManager" hostname=? addr=? terminal=? res=success'
Nov 16 21:16:25 rob-pc dbus-daemon[578]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.5' (uid=0 pid=579 comm="/usr/bin/NetworkManager --no-daemon ")
Nov 16 21:16:25 rob-pc NetworkManager[579]: <info>  [1637093785.5044] manager: NetworkManager state is now DISCONNECTING
Nov 16 21:16:25 rob-pc NetworkManager[579]: <info>  [1637093785.5058] audit: op="device-disconnect" interface="wlp3s0" ifindex=3 pid=965 uid=1000 result="success"
Nov 16 21:16:25 rob-pc kded5[908]: plasma-nm: Unhandled active connection state change:  3
Nov 16 21:16:25 rob-pc kded5[908]: plasma-nm: virtual void SecretAgent::CancelGetSecrets(const QDBusObjectPath&, const QString&)
Nov 16 21:16:25 rob-pc kded5[908]: plasma-nm: Path: "/org/freedesktop/NetworkManager/Settings/17"
Nov 16 21:16:25 rob-pc kded5[908]: plasma-nm: Setting name: "802-11-wireless-security"
Nov 16 21:16:25 rob-pc kded5[908]: plasma-nm: bool SecretAgent::processSaveSecrets(SecretsRequest&) const Waiting for the wallet to open
Nov 16 21:16:25 rob-pc kded5[908]: plasma-nm: bool SecretAgent::processSaveSecrets(SecretsRequest&) const Waiting for the wallet to open
Nov 16 21:16:25 rob-pc kded5[908]: plasma-nm: bool SecretAgent::processGetSecrets(SecretsRequest&) const Waiting for the wallet to open
Nov 16 21:16:25 rob-pc kded5[908]: plasma-nm: bool SecretAgent::processDeleteSecrets(SecretsRequest&) const Waiting for the wallet to open
Nov 16 21:16:25 rob-pc kded5[908]: plasma-nm: bool SecretAgent::processGetSecrets(SecretsRequest&) const Waiting for the wallet to open
Nov 16 21:16:25 rob-pc kded5[908]: plasma-nm: bool SecretAgent::processGetSecrets(SecretsRequest&) const Waiting for the wallet to open
Nov 16 21:16:25 rob-pc kded5[908]: plasma-nm: bool SecretAgent::processSaveSecrets(SecretsRequest&) const Waiting for the wallet to open
Nov 16 21:16:25 rob-pc systemd[1]: Starting Network Manager Script Dispatcher Service...
Nov 16 21:16:25 rob-pc dbus-daemon[578]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Nov 16 21:16:25 rob-pc systemd[1]: Started Network Manager Script Dispatcher Service.
Nov 16 21:16:25 rob-pc audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 16 21:16:25 rob-pc kernel: audit: type=1130 audit(1637093785.550:1402): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 16 21:16:25 rob-pc NetworkManager[579]: <warn>  [1637093785.5634] device (wlp3s0): Deactivation failed: GDBus.Error:fi.w1.wpa_supplicant1.NotConnected: This interface is not connected
Nov 16 21:16:25 rob-pc NetworkManager[579]: <info>  [1637093785.5636] device (wlp3s0): state change: deactivating -> disconnected (reason 'user-requested', sys-iface-state: 'managed')
Nov 16 21:16:25 rob-pc kernel: IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
Nov 16 21:16:25 rob-pc NetworkManager[579]: <info>  [1637093785.5851] device (wlp3s0): set-hw-addr: set MAC address to 86:2C:C6:7D:51:2E (scanning)
Nov 16 21:16:25 rob-pc kernel: iwlwifi 0000:03:00.0: Radio type=0x1-0x2-0x0
Nov 16 21:16:25 rob-pc kernel: iwlwifi 0000:03:00.0: Radio type=0x1-0x2-0x0
Nov 16 21:16:26 rob-pc NetworkManager[579]: <info>  [1637093786.0095] manager: NetworkManager state is now DISCONNECTED
Nov 16 21:16:26 rob-pc NetworkManager[579]: <info>  [1637093786.0124] device (wlp3s0): supplicant interface state: scanning -> interface_disabled
Nov 16 21:16:26 rob-pc kernel: IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
Nov 16 21:16:26 rob-pc plasmashell[965]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationPopup.qml:116:15: QML QQuickItem: Binding loop detected for property "height"
Nov 16 21:16:26 rob-pc NetworkManager[579]: <info>  [1637093786.0849] device (wlp3s0): supplicant interface state: interface_disabled -> inactive
Nov 16 21:16:36 rob-pc systemd[1]: NetworkManager-dispatcher.service: Deactivated successfully.
Nov 16 21:16:36 rob-pc audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 16 21:16:36 rob-pc kernel: audit: type=1131 audit(1637093796.630:1403): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 16 21:17:08 rob-pc wpa_supplicant[787]: wlp3s0: Reject scan trigger since one is already pending