LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-06-2021, 09:24 AM   #1
xj25vm
Member
 
Registered: Jun 2008
Posts: 393

Rep: Reputation: 68
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.
 
Old 04-06-2021, 09:48 AM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,367

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

Last edited by allend; 04-06-2021 at 10:03 AM.
 
1 members found this post helpful.
Old 04-06-2021, 09:54 AM   #3
giomat
Member
 
Registered: Jul 2017
Posts: 337

Rep: Reputation: 238Reputation: 238Reputation: 238
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)

Last edited by giomat; 04-06-2021 at 09:56 AM. Reason: Added details
 
2 members found this post helpful.
Old 04-06-2021, 11:30 AM   #4
xj25vm
Member
 
Registered: Jun 2008
Posts: 393

Original Poster
Rep: Reputation: 68
Quote:
Originally Posted by giomat View Post
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 :-)
 
Old 09-21-2022, 08:51 AM   #5
zentara
LQ Newbie
 
Registered: Jul 2011
Posts: 24

Rep: Reputation: Disabled
Slackware nm-applet connection problems.... Solution

Hi, I found your post and I found a solution to a similar problem I was having. When I tried to use nm-applet to connect via a wifi link, I was getting errors and lockups about nm-applet permission denied: can't open freedesktop.org.secrets. I found the solution on the Gentoo site. For normal users to access the freedesktop.org secrets the user must be a member of the plugdev group. Command to use: usermod -aG plugdev username

Also remember to have the /usr/bin/gnome-keyring-daemon installed and executable.

Fixed the problem. I hope someone finds this useful.

Last edited by zentara; 09-21-2022 at 08:58 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackwar64-current and VirtualBox 6.1.x, recurring errors w/NetworkManager, applet, libnma, etc... slvr32 Slackware 12 03-29-2021 07:55 AM
[SOLVED] I can't manage NetworkManager via /etc/rc.d/rc.networkmanager script igadoter Slackware 20 03-22-2018 03:17 PM
no blueman-applet(bluetooth-applet) in desktop tray when slack-current boots mainam Slackware 16 04-03-2016 07:26 PM
Aboout "with very long lines",how long is very long? yun1st Linux - Newbie 4 07-20-2012 03:38 PM
long long long: Too long for GCC Kenny_Strawn Programming 5 09-18-2010 01:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration