LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 08-18-2011, 07:57 AM   #1
Grisnak
Member
 
Registered: Nov 2003
Location: Sweden
Distribution: Slackware 13.37 on lappy, ubuntu on server.
Posts: 130

Rep: Reputation: 15
Network manager needs to be root/superuser (fluxbox startup doesnt work)


Trying to get networkmanager with nm-applet to work in fluxbox.
Added Networkmanager & nm-applet to .fluxbox/startup.

But NetworkManager needs to be run as root, so nm-applet wont start.

Cant find any good info on how to start NetworkManager from the fluxbox startup file.

So... How do I do this?
 
Old 08-18-2011, 08:14 AM   #2
yuuko
Member
 
Registered: May 2011
Distribution: Slackware-current
Posts: 42

Rep: Reputation: 20
Quote:
You will also need to start rc.networkmanager during boot - you can use
rc.local, or perhaps you'll want to edit rc.M's call to rc.wicd... :-)
You also need to be a member of 'netdev' to use nm-applet.
 
Old 08-18-2011, 08:25 AM   #3
Grisnak
Member
 
Registered: Nov 2003
Location: Sweden
Distribution: Slackware 13.37 on lappy, ubuntu on server.
Posts: 130

Original Poster
Rep: Reputation: 15
I added rc.networkmanager to rc.d/rc.local, and it said during startup that the networkmanager daemon was started.
I also added my user to netdev, but when I try to launch nm-applet I get:


** (nm-applet:2604): WARNING **: <WARN> request_name(): Could not acquire the NetworkManagerUserSettings service.
Error: (9) Connection ":1.20" is not allowed to own the service "org.freedesktop.NetworkManagerUserSettings" due to security policies in the configuration file

Last edited by Grisnak; 08-18-2011 at 08:41 AM.
 
Old 08-18-2011, 08:46 AM   #4
Grisnak
Member
 
Registered: Nov 2003
Location: Sweden
Distribution: Slackware 13.37 on lappy, ubuntu on server.
Posts: 130

Original Poster
Rep: Reputation: 15
I tried rebooting with the new usergroup, and this time the applet actually started.

It say's that Im disconnected, and when I click eth0 I get a popup saying disconnected too. Why is this?
 
Old 08-18-2011, 11:19 AM   #5
beder
Member
 
Registered: Apr 2011
Posts: 82

Rep: Reputation: 28
Where did you installed NetworkManager and nm-applet from?

I installed it from SlackBuilds, building the proper dependencies whenever something screamed while installing, and works fine. If you want to try it, I recommend you download SboPkg to make things easier: http://sbopkg.org/
 
Old 08-18-2011, 05:31 PM   #6
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib." PC-BSD.
Posts: 2,238

Rep: Reputation: 176Reputation: 176
Mr. Workman's packages work just fine,

http://connie.slackware.com/~rworkma...packages/i486/

or

http://connie.slackware.com/~rworkma...ckages/x86_64/
 
Old 08-18-2011, 07:25 PM   #7
piratesmack
Member
 
Registered: Feb 2009
Distribution: Slackware, Arch
Posts: 518

Rep: Reputation: 133Reputation: 133
If I remember right, I had to launch DBUS to get NetworkManager working right in fluxbox.

Try this in your startup file:
Code:
# test for an existing bus daemon, just to be safe
if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then
  # if not found, launch a new one
  eval `dbus-launch --sh-syntax --exit-with-session`
fi
nm-applet &
 
Old 08-18-2011, 09:25 PM   #8
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 7,906

Rep: Reputation: 1492Reputation: 1492Reputation: 1492Reputation: 1492Reputation: 1492Reputation: 1492Reputation: 1492Reputation: 1492Reputation: 1492Reputation: 1492
You can put nm-applet in your ~/.fluxbox/startup file, like this:

Code:
nm-applet &
I ran it like that just fine until I switched to wicd. The "&" ensures that it will keep running after the startup.
 
  


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
Wireless network connects and works fine, but doesnt show up on the network manager newbie236 Linux - Newbie 1 07-07-2010 12:47 AM
Transparencies doesnt work properly Slackware 10.1 + fluxbox Nah Slackware 5 03-06-2005 07:19 PM
KDE file manager (superuser) in fluxbox wendykroy Linux - Software 2 09-28-2004 03:10 AM
network doesnt work on startup OneManArmy Linux - Networking 1 04-10-2004 12:03 PM
upgrading fluxbox to 0.9.6 doesnt work? slack_is_good Slackware 1 12-18-2003 03:10 PM


All times are GMT -5. The time now is 08:49 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration