I have a VM upgraded kubuntu-15.04->15.10 and a physical host with clean install of Kubuntu-15.10 from DVD. In both cases, login is very slow (>40s) even for newly created users. Monitoring ~/.xsession-errors I can see that delay occurs at plasma-nm: Failed to enumerate BT adapters Everything is fast up to this moment and after plasma-nm finally starts. A similar problem manifests itself while trying to configure interfaces: when I right-click on plasma-nm applet in systray to "Configure Network Connections", it takes about 50s for configuration screen to pop up. Reproducible: Always Steps to Reproduce: 1. right-click on plasma-nm applet and choose "Configure Network Connections" 2. 3. It is possible that delay is due to NetworkManager - but even in this case, it would make sense to implement a reasonable timeout (e.g. 10s) in plasma-nm
Same here: With systray enabled for Networkmanager in KDE Sytem Settings plasma desktop hangs a minute after startup. After this long time to log into plasma 5: plasma-nm ends up with a unclickable blank icon Same effekt starting kde5-nm-connection-editor via systray-icon or directly via console. Disabling network in systray stops the problem. Reproducible: Always Steps to Reproduce: 1. right-click on plasma-nm applet and choose "Configure Network Connections" 2. disable and then enable "network" in system tray again. 3. start kde5-nm-connection-editor directly via console plasma-nm 4:5.4.2-0ubuntu1 libkf5networkmanagerqt6 5.15.0-0ubuntu1 Qt: 5.4.2 KDE Frameworks: 5.15.0
Note, "plasma-nm: Failed to enumerate BT adapters" is not the problem. Same output in 15.04, but plasma-nm is working. The problem is, that there is no other output in ~/.xsession-errors or after starting kde5-nm-connection-editor directly via console. In 15.04 it look like this: networkmanager-qt: Connections list networkmanager-qt: "/org/freedesktop/NetworkManager/Settings/0" networkmanager-qt: "/org/freedesktop/NetworkManager/Settings/1" networkmanager-qt: "/org/freedesktop/NetworkManager/Settings/2" networkmanager-qt: "/org/freedesktop/NetworkManager/Settings/3" networkmanager-qt: "/org/freedesktop/NetworkManager/Settings/4" networkmanager-qt: "/org/freedesktop/NetworkManager/Settings/5" networkmanager-qt: "/org/freedesktop/NetworkManager/Settings/6" networkmanager-qt: "/org/freedesktop/NetworkManager/Settings/7" networkmanager-qt: "/org/freedesktop/NetworkManager/Settings/8" networkmanager-qt: "/org/freedesktop/NetworkManager/Settings/9" networkmanager-qt: Connections list networkmanager-qt: Device list networkmanager-qt: "/org/freedesktop/NetworkManager/Devices/0" networkmanager-qt: "/org/freedesktop/NetworkManager/Devices/1" networkmanager-qt: "/org/freedesktop/NetworkManager/Devices/2" networkmanager-qt: "/org/freedesktop/NetworkManager/Devices/3" networkmanager-qt: "/org/freedesktop/NetworkManager/Devices/4" networkmanager-qt: "/org/freedesktop/NetworkManager/Devices/5" Invalid service name "/org/kde/kde5-nm-connection-editor" using: "/org/kde/kde5nmconnectioneditor" plasma-nm: Failed to enumerate BT adapters Could not parse stylesheet of object 0x1b2c400 modemmanager-qt: Adding device "/org/freedesktop/ModemManager1/Modem/0" modemmanager-qt: "/org/freedesktop/ModemManager1/Modem/0" has interfaces: (0, 1, 2, 5, 6, 10) QObject::connect: No such signal ModemManager::Modem::currentModesChanged() plasma-nm: Item "Vodafone" : device changed to "/org/freedesktop/NetworkManager/Devices/5" plasma-nm: Item "Vodafone" : signal changed to 18 kf5.kservice.sycoca: Trying to open ksycoca from "/home/user/.cache/ksycoca5" plasma-nm: Found VPN plugin "VPNC" , type: "org.freedesktop.NetworkManager.vpnc" plasma-nm: Found VPN plugin "OpenVPN" , type: "org.freedesktop.NetworkManager.openvpn" plasma-nm: Found VPN plugin "L2TP" , type: "org.freedesktop.NetworkManager.l2tp" plasma-nm: Found VPN plugin "PPTP" , type: "org.freedesktop.NetworkManager.pptp" plasma-nm: Found VPN plugin "OpenConnect" , type: "org.freedesktop.NetworkManager.openconnect" plasma-nm: Found VPN plugin "StrongSwan" , type: "org.freedesktop.NetworkManager.strongswan" plasma-nm: Found VPN plugin "OpenSwan" , type: "org.freedesktop.NetworkManager.openswan" Could not parse stylesheet of object 0x1b2c400 plasma-nm: Item "WLAN-connection" : active connection state changed to 2 networkmanager-qt: void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) Unhandled property "Devices" networkmanager-qt: "NetworkingEnabled" true networkmanager-qt: void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) Unhandled property "PrimaryConnectionType" plasma-nm: NetworkManager state changed to 7 networkmanager-qt: "WimaxEnabled" true networkmanager-qt: "WimaxHardwareEnabled" true networkmanager-qt: "WirelessEnabled" true networkmanager-qt: "WirelessHardwareEnabled" true networkmanager-qt: "WwanEnabled" true networkmanager-qt: "WwanHardwareEnabled" true In 15.10 it look like that: Invalid service name "/org/kde/kde5-nm-connection-editor" using: "/org/kde/kde5nmconnectioneditor" plasma-nm: Failed to enumerate BT adapters Pass a valid window to KWallet::Wallet::openWallet(). plasma-nm: Item "WLAN-connection" : active connection state changed to 2 networkmanager-qt: void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) Unhandled property "Devices" plasma-nm: NetworkManager state changed to 7
"plasma-nm: Failed to enumerate BT adapters" is not the problem Please note that in my initial report I have never said that we delay _because_ adapters cannot be enumerated - I just mentioned that we delay exactly before this line is displayed in ~/.xsession-errors. But I totally agree that bug description line is misleading, it should be changed just to "plasma-nm and slow login" Could someone with administrative privileges change this? Thanks, Alex
I changed the bug description line myself Alex
Created attachment 95095 [details] strace output Attached output of $ strace -f -o /tmp/nm.out -T -t kde5-nm-connection-editor
I just installed Kubuntu 15.10 to test this bug but I'm no able to reproduce it. I'll continue with testing but so far I have no idea why this is happening. The reason why you see less debug output is that it's disabled by default.
*** Bug 354278 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of bug 354230 ***
Bulk transfer as requested in T17796