[SOLVED] Trying wicd, but daemon error because not logging in as root
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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:
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.
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'.
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.