LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   NetworkManager applet (nm-applet) long hangs in -current (https://www.linuxquestions.org/questions/slackware-14/networkmanager-applet-nm-applet-long-hangs-in-current-4175693207/)

xj25vm 04-06-2021 09:24 AM

NetworkManager applet (nm-applet) long hangs in -current
 
I've just upgrade to -current (64bits) on a laptop. I've been using wicd on Fluxbox for many, many years - but seeing as there is no sign of it being ported to Python 3, I thought I should give NetworkManager a go, to be prepared for the eventuality of having to switch over. I've stopped the wicd server, killed wicd-client, started the NetworkManager service, and then started nm-applet. It all kind of works - I can connect to wifi networks and open up settings. But the applet hangs badly - somewhere between 2-4 minutes. Then it unfreezes, I can use the interface for 1-2 minutes, then it hangs again. Starting nm-applet from the command line, I can see the following warning message - but I can't be certain if they are causing the hangs or not.

Code:

(nm-applet:31660): libnotify-WARNING **: 15:20:13.924: Failed to connect to proxy

(nm-applet:31660): nm-applet-WARNING **: 15:20:38.948: Failed to show notification: Error calling StartServiceByName for org.freedesktop.Notifications: Timeout was reached

Is there anything else that I've missed? My user is in the 'netdev' group - anything else that the NetworkManager service or applet needs? I can't seem to find any suggestions on Google or in the docs.

allend 04-06-2021 09:48 AM

I do not use Fluxbox, but I have found that starting the xfce-notifyd daemon stops the hanging of nm-applet

giomat 04-06-2021 09:54 AM

I've also stumbled on this issue, nm-applet wants to send you notifications and if there's no daemon to use it times out the request blocking.

If you don't like or don't want to use the xfce daemon, there's a lightweight alternative called dunst (and probably many more that I don't know about)

xj25vm 04-06-2021 11:30 AM

Quote:

Originally Posted by giomat (Post 6237776)
I've also stumbled on this issue, nm-applet wants to send you notifications and if there's no daemon to use it times out the request blocking.

If you don't like or don't want to use the xfce daemon, there's a lightweight alternative called dunst (and probably many more that I don't know about)

Brilliant - that fixed it! Thank you for the dunst suggestion - I am all for lightweight stuff :-)


All times are GMT -5. The time now is 06:20 AM.