LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-05-2019, 12:25 PM   #1
Aeterna
Member
 
Registered: Aug 2017
Location: Terra Mater
Distribution: VM Host: Slackware-current, VM Guests: Artix, CRUX, FreeBSD, Funtoo, HardenedBSD, OpenIndiana
Posts: 178

Rep: Reputation: Disabled
nm-applet DOA at login (openbox) and when changing wireless networks


Hello,
I am using nm-applet with openbox.
All works with exception of nm-applet:
1) to connect first time to wifi, applet is stalled at first and requires several minutes to show available networks.
2) when changing wifi network nm-applet dies again and I have to wait until it refreshes again
3) killing and re-launching applet does nothing (after restarting nm-applet is not responsive again for long time).

Is there a way to fix this/replace nm-applet?

I prefer GUI based app (which is faster) because sometimes I don't have time to fiddle with networks (as someone is patiently waiting for me to enable internet).

thank you
 
Old 02-06-2019, 07:19 AM   #2
Aeterna
Member
 
Registered: Aug 2017
Location: Terra Mater
Distribution: VM Host: Slackware-current, VM Guests: Artix, CRUX, FreeBSD, Funtoo, HardenedBSD, OpenIndiana
Posts: 178

Original Poster
Rep: Reputation: Disabled
I wonder if this would help.
Openbox ver 3.6.1 installed on Slackware -current 64bit up to date.

Maybe someone knows the answer?

thank you
 
Old 02-06-2019, 08:12 AM   #3
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 5,103

Rep: Reputation: 1792Reputation: 1792Reputation: 1792Reputation: 1792Reputation: 1792Reputation: 1792Reputation: 1792Reputation: 1792Reputation: 1792Reputation: 1792Reputation: 1792
The lack of response is probably because nm-applet is fine for everybody else.
Can you reproduce the slow behaviour in a Slackware supplied DE/WM e.g. XFCE?
Is /etc/rc.d/rc.messagebus executable so that DBUS is functional?
nm-applet is a system tray application. Which system tray are using in openbox?
Have you tried wicd as an alternative?
 
Old 02-06-2019, 08:21 AM   #4
Aeterna
Member
 
Registered: Aug 2017
Location: Terra Mater
Distribution: VM Host: Slackware-current, VM Guests: Artix, CRUX, FreeBSD, Funtoo, HardenedBSD, OpenIndiana
Posts: 178

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by allend View Post
The lack of response is probably because nm-applet is fine for everybody else.
Can you reproduce the slow behaviour in a Slackware supplied DE/WM e.g. XFCE?
Is /etc/rc.d/rc.messagebus executable so that DBUS is functional?
nm-applet is a system tray application. Which system tray are using in openbox?
Have you tried wicd as an alternative?
I was suspecting that I am the only one with the issue (unfortunately for me)
I do not have any issues with Plasma 5,
with Openbox I am using tint2 (plank from sbo is not compiling)
yes, /etc/rc.d/rc.messagebus is set to executable
no I did not try wicd. I will give it a go.


thank you for replaying
 
Old 02-06-2019, 08:23 AM   #5
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 1,385

Rep: Reputation: 1037Reputation: 1037Reputation: 1037Reputation: 1037Reputation: 1037Reputation: 1037Reputation: 1037Reputation: 1037
I use Openbox with nm-applet on 14.2, and I don't have any problems like that. Can you try to determine if the problem is truly with the applet or with NetworkManager itself? When the applet is not showing available networks, try using nmcli instead and see if you can connect with that.
 
Old 02-06-2019, 08:37 AM   #6
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 5,103

Rep: Reputation: 1792Reputation: 1792Reputation: 1792Reputation: 1792Reputation: 1792Reputation: 1792Reputation: 1792Reputation: 1792Reputation: 1792Reputation: 1792Reputation: 1792
Quote:
I do not have any issues with Plasma 5,
That rules out hardware and hardware support issues.
How are you starting nm-applet?
In my WindowMaker autostart I have
Code:
# Start nm-applet if NetworkManager is running and nm-applet is not running
( pidof NetworkManager && ! pidof nm-applet ) && nm-applet &
 
Old 02-06-2019, 10:45 AM   #7
Aeterna
Member
 
Registered: Aug 2017
Location: Terra Mater
Distribution: VM Host: Slackware-current, VM Guests: Artix, CRUX, FreeBSD, Funtoo, HardenedBSD, OpenIndiana
Posts: 178

Original Poster
Rep: Reputation: Disabled
Thank you both for answering.

@allend

I start nm-applet from openbox autostart:
(nm-applet) &

if I start nm-applet from cli I see two warnings:
Quote:
(nm-applet:2005): libnotify-WARNING **: 05:58:24.365: Failed to connect to proxy
(nm-applet:2005): nm-applet-WARNING **: 05:58:49.390: Failed to show notification: Error calling StartServiceByName for org.freedesktop.Notifications: Timeout was reached
wicd reports that wifi network is not awailable.

So I think that this is a problem. However nm-applet just sits there (see pictures). then icon changes to "intermediate" for a long time.
Then it shows standard wifi icon. When I right click on it all available networks are listed but if I try to disconnect from currently used wifi to connect to another one nm-applet stalls again for long time.

If I login to Plasma5, all networks are available instantly and Network-Manager does not crash when switching networks

I have Intel Corporation Centrino Ultimate-N 6300 wifi card.
Attached Thumbnails
Click image for larger version

Name:	dead nm-applet1.png
Views:	5
Size:	12.5 KB
ID:	29721   Click image for larger version

Name:	dead nm-applet2.png
Views:	5
Size:	13.6 KB
ID:	29722  

Last edited by Aeterna; 02-06-2019 at 06:09 PM.
 
Old 02-06-2019, 12:57 PM   #8
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.2
Posts: 3,184

Rep: Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549
What if you try nmtui from the command line? It's at least curses-based.

If it can communicate, then it's something other than NM.
 
2 members found this post helpful.
Old 02-06-2019, 01:12 PM   #9
Gordie
Member
 
Registered: Aug 2007
Location: Nolalu, Ontario, Canada
Posts: 502

Rep: Reputation: 171Reputation: 171
Did you make the necessary changes to be able to run wicd?
 
Old 02-06-2019, 06:21 PM   #10
Aeterna
Member
 
Registered: Aug 2017
Location: Terra Mater
Distribution: VM Host: Slackware-current, VM Guests: Artix, CRUX, FreeBSD, Funtoo, HardenedBSD, OpenIndiana
Posts: 178

Original Poster
Rep: Reputation: Disabled
@Richard Cranium
thank you very much. nmtui works.
After connection with nmtui, nm-applet still remains stalled (as in the picture attache above) for quite some time and it is unusable (e.g. changing networks).
It must be some bug there (in nm-applet).

At lest I can connect fast with nmtui.

@Gordie
yes, /etc/wicd/manager-settings.conf is configured. Still wicd does not see networks available.


nmtui works so I will mark this thread as solved.

Thank you all for your help.
 
Old 02-06-2019, 08:17 PM   #11
Gordie
Member
 
Registered: Aug 2007
Location: Nolalu, Ontario, Canada
Posts: 502

Rep: Reputation: 171Reputation: 171
Quote:
Originally Posted by Aeterna View Post
@Richard Cranium
thank you very much. nmtui works.
After connection with nmtui, nm-applet still remains stalled (as in the picture attache above) for quite some time and it is unusable (e.g. changing networks).
It must be some bug there (in nm-applet).

At lest I can connect fast with nmtui.

@Gordie
yes, /etc/wicd/manager-settings.conf is configured. Still wicd does not see networks available.


nmtui works so I will mark this thread as solved.

Thank you all for your help.

I have gone back and forth from wicd to nm and from nm to wicd and have NEVER paid attention to

Code:
/etc/wicd/manager-settings.conf
.

I just switched to wicd without making the necessary changes (just to see) and wicd reported "wifi network is not awailable". I then made the necessary changes and wicd worked and I got on my wireless network
 
Old 02-06-2019, 09:31 PM   #12
Aeterna
Member
 
Registered: Aug 2017
Location: Terra Mater
Distribution: VM Host: Slackware-current, VM Guests: Artix, CRUX, FreeBSD, Funtoo, HardenedBSD, OpenIndiana
Posts: 178

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Gordie View Post
I have gone back and forth from wicd to nm and from nm to wicd and have NEVER paid attention to

Code:
/etc/wicd/manager-settings.conf
.

I just switched to wicd without making the necessary changes (just to see) and wicd reported "wifi network is not awailable". I then made the necessary changes and wicd worked and I got on my wireless network
That is great, unfortunately wicd does not work for me.
 
  


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
nm-applet does not show wireless networks after resuming from suspend on Ubuntu 16.04 Jeff91 Linux - Networking 1 09-14-2016 05:23 PM
[SOLVED] "Permission denied" when Openbox tries to execute autostart.sh in ~/.config/openbox alarazr Linux - Software 4 10-04-2012 04:50 PM
Openbox autostart.sh and setting alias on openbox start Jelloir Linux - Desktop 1 07-03-2011 04:56 AM
Software Raid, Bad sectors (drive DOA) Diablo3d Linux - Hardware 2 08-02-2005 06:44 PM
new SDX-500 tape drive: DOA or me? bdp Linux - Hardware 2 11-07-2004 02:56 PM

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

All times are GMT -5. The time now is 03:13 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration