Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
04-11-2006, 03:02 AM
|
#1
|
Member
Registered: Jul 2004
Distribution: Arch, Debian sid, Kubuntu, Slackware 11
Posts: 324
Rep:
|
powersave cannot be run by user
Hi!
I'm having trouble with powersave on my laptop. When I start KDE, I'm being told by KPowersave that powersaved is not running. So I took a look and found out that it is running (both acpid and powersaved are on the process list). I tried then to use the console to tweak the settings with powersave. The problem was that that was OK when I was root, but when I tried to do the same stuff as a user, powersave failed with error like: "An error occured. Make sure that the powersave daemon is running and use -v to increase verbose level and have a look into syslog."
So I looked at the syslog. I found the following: "[powersave]: ERROR (dbusSendMessageGeneric:209) Error: A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "com.novell.powersave.request" member "SchemesGet" error name "(unset)" destination "com.novell.powersave")".
What does this all mean? Should I change permissions or something?
Thanks
|
|
|
04-12-2006, 01:15 AM
|
#2
|
Senior Member
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191
Rep:
|
I have just recently recompiled my kernel and remember seeing an option to allow users to engage power saver mode while doing my config. I don't remember where it was exactly so you will need to look around for it. Enabling it in the kernel should fix the problem.
let me know how it goes,
...drkstr
|
|
|
04-12-2006, 12:15 PM
|
#3
|
Member
Registered: Jul 2004
Distribution: Arch, Debian sid, Kubuntu, Slackware 11
Posts: 324
Original Poster
Rep:
|
Hmmm.... OK, thanks a lot for the advice. Have only stock 2.6.16 kernel. I'll try to compile a kernel from source as soon as I come home this afternoon.
But as far as the error messages go, it's the dbus configuration that is not allowing inter-process communication? Is this somehow bound by kernel too then? Because I tried to edit dbus config file. I even tried to allow all communication (which of course can be potentially dangerous). But with no luck The same message in syslog and the same error on KDE startup...
Now the funny thing is that I am able to query info about battery, fans and such (eg. powersave -F or -T or -B) without any problems. Though when I'm trying to list schemes with powersave -x I get the usual "An error occured. Make sure that the powersave daemon is
running and use -v to increase verbose level and have a look into syslog."
Increasing verbosity doesn't help either...
So I just hope that your suggestion works. Anyway thank you very much for the help
|
|
|
04-12-2006, 01:48 PM
|
#4
|
Member
Registered: Jul 2004
Distribution: Arch, Debian sid, Kubuntu, Slackware 11
Posts: 324
Original Poster
Rep:
|
Ehmm.... Sorry if this sounds stupid, but cannot find that option in the kernel configuration. Do you remember where you saw it? Cause I've been through the menuconfig a couple of times now and I can't find any trace of it. But then again it's rather late already and it's been long since my last coffee
|
|
|
04-12-2006, 02:14 PM
|
#5
|
Senior Member
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191
Rep:
|
I am running 2.4 kernel so I'm not sure if it's in the exact same place, but I found it here:
General Setup->Power Management Support->Advanced Power Management BIOS support
There are a few kernel option in this last category that might be useful to your problem. Ignore User suspend being one of them. I am not an expert on BIOS stuff so you might want to read up a little bit about your BIOS and figure out which options are right for your hardware.
I don't know for sure that this is what's causing your problem, but it seemed like it might be important to configure you kernel to correctly use your BIOS.
regards,
...drkstr
|
|
|
04-12-2006, 02:27 PM
|
#6
|
Member
Registered: Jul 2004
Distribution: Arch, Debian sid, Kubuntu, Slackware 11
Posts: 324
Original Poster
Rep:
|
Thanks a lot for taking time to look at the kernel config again
Yeah, I saw that option but I thought it wasn't the right one since it was disabled by default (I guess the same configuration is used for the pre-kernel in Debian too?) So now I'm compiling the newly-configured kernel. Will come back and tell how it goes
|
|
|
04-14-2006, 11:27 AM
|
#7
|
Member
Registered: Jul 2004
Distribution: Arch, Debian sid, Kubuntu, Slackware 11
Posts: 324
Original Poster
Rep:
|
Well, I have now recompiled my kernel several times with no success. Upgraded powersave. No results. The same dbus problem. Some other advice, anyone?
On the positive side I've got hibernating to work after recompiling the kernel, so that's at least something. Though suspend and standby still don't work.
|
|
|
All times are GMT -5. The time now is 05:27 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|