LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 09-21-2011, 07:58 PM   #1
Konphine
Member
 
Registered: Jul 2011
Location: Phoenix, New York
Distribution: Slackware 13.37
Posts: 376

Rep: Reputation: 11
Trying wicd, but daemon error because not logging in as root


Okay, so I have wicd downloaded and ready to go. It's working great, I like it.

However, whenever I restart my computer, I get this error message:

Code:
Could not connect to wicd's D-Bus interface. Check the wicd log for details.
Code:
The wicd daemon has shut down. The UI will not function properly until it is restarted.
Then another one comes up but that one just says "Disconnected". Anyways, I do know for a fact that wicd requires it to be run as root, so I quickly switched user to root to start wicd by:

Code:
/etc/rc.d/rc.wicd start
Afterwards it works fine, but I don't want to be doing this every time I log on just to get an internet connection. Is there by any chance a possibility to run wicd as soon as I log in?

A second somewhat related question: I downloaded wicd from the /extras section on the Slackware DVD, but I'm wondering if I use slackpkg to update my packages, and there's a new version of wicd out or something, will it also be updated?

I got very far in my Google searches but to no avail, and in LinuxQuestions.org these were the only 2 threads I found with the same (or similar) problem:

http://www.linuxquestions.org/questi...-error-771762/
http://www.linuxquestions.org/questi...stions-892213/

Last edited by Konphine; 09-21-2011 at 08:00 PM.
 
Old 09-21-2011, 08:06 PM   #2
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
So long as it's executable it will start on boot via rc.M in 13.37
 
Old 09-21-2011, 08:30 PM   #3
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Is your user account part of the "netdev" group?
 
Old 09-21-2011, 08:55 PM   #4
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
Is the 'dbus-daemon' process running? Check that /etc/rc.d/rc.messagebus is executable.
 
Old 09-21-2011, 09:56 PM   #5
Konphine
Member
 
Registered: Jul 2011
Location: Phoenix, New York
Distribution: Slackware 13.37
Posts: 376

Original Poster
Rep: Reputation: 11
Quote:
dive:
So long as it's executable it will start on boot via rc.M in 13.37
It does start on boot because by default it is part of rc.M, but it needs root privileges in order to start, which means I have to temporarily log in to root in order to start it.

Quote:
ReaperX7:
Is your user account part of the "netdev" group?
I'm not quite sure how to check. It's been awhile but was it part of the default settings? The only group I added to my user was 'sys'.

Quote:
allend:
Is the 'dbus-daemon' process running? Check that /etc/rc.d/rc.messagebus is executable.
/etc/rc.d/rc.messagebus is executable.
 
Old 09-21-2011, 10:18 PM   #6
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
To check the groups that your user belongs to, either login as that user and type 'groups', or inspect the output of 'less /etc/group'.

The typical groups for a user to belong to are:
Quote:
users floppy audio video cdrom plugdev power netdev
 
Old 09-21-2011, 10:27 PM   #7
Konphine
Member
 
Registered: Jul 2011
Location: Phoenix, New York
Distribution: Slackware 13.37
Posts: 376

Original Poster
Rep: Reputation: 11
Yes, my user does seem to be a part of the "netdev" group ReaperX7, and thank you allend for the command.
 
Old 09-21-2011, 11:25 PM   #8
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
Another thought is to check /var/run/wicd/ for any stale lock files.
As root, do '/etc/rc.d/rc.wicd stop', then delete in files in the above directory, before restarting with '/etc/rc.d/rc.wicd start'.
 
Old 09-21-2011, 11:35 PM   #9
Konphine
Member
 
Registered: Jul 2011
Location: Phoenix, New York
Distribution: Slackware 13.37
Posts: 376

Original Poster
Rep: Reputation: 11
There's nothing in there except the pid file.
 
Old 09-22-2011, 12:46 AM   #10
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Quote:
Originally Posted by Konphine View Post
It does start on boot because by default it is part of rc.M, but it needs root privileges in order to start, which means I have to temporarily log in to root in order to start it.
rc.M is run as root. You don't need to log in to start it, let rc.M start it. Check that there is actually a section in rc.M to start it. Should look like:

Code:
# Start wicd:        
if [ -x /etc/rc.d/rc.wicd ]; then
  sh /etc/rc.d/rc.wicd start
fi

Last edited by dive; 09-22-2011 at 12:57 AM.
 
Old 09-22-2011, 12:51 AM   #11
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Quote:
Originally Posted by Konphine View Post
There's nothing in there except the pid file.
If wicd is definitely not running you can delete that.
 
Old 09-22-2011, 01:06 AM   #12
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
execute
Code:
wicd-client &
as root once you loggged in to your desktop
 
Old 09-22-2011, 01:56 AM   #13
Konphine
Member
 
Registered: Jul 2011
Location: Phoenix, New York
Distribution: Slackware 13.37
Posts: 376

Original Poster
Rep: Reputation: 11
Problem solved. It was my idiocy at work again. :/ I had commented out wicd since I had both it and networkmanager (although networkmanager was in rc.local). Sorry for bothering you guys. I knew it was in rc.M which is why I didn't bother to really check, but then looking at it again...it was commented out.

Well, other than that, thanks guys. ^.^
 
  


Reply



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
proftpd - 530 login error when logging in normal mode + root natoinet Linux - Software 3 06-09-2010 11:52 AM
How to stop wicd daemon at boot time? cola Slackware 5 02-21-2010 10:20 AM
wicd asks for a root pass and X throws an error. ohadbasan Arch 1 08-18-2009 02:39 AM
Wicd/network daemon connection problem Eivuwan Linux - Networking 0 07-15-2008 05:18 PM
crazy error message when logging in as root cjae SUSE / openSUSE 2 02-28-2006 04:53 AM

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

All times are GMT -5. The time now is 06:42 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