LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 08-21-2009, 01:00 PM   #1
ohadbasan
LQ Newbie
 
Registered: Oct 2008
Location: Israel
Distribution: Arch and debian
Posts: 23

Rep: Reputation: 15
Can't control policyKit


Hey fellas.

I'm using arch64bit. kde 4.3
Kde's powerdevil won't let me change the screen brightness (the bar doesn't do anything) and it can not control the system's powersaving options (again, doesn't change anything altough the "cpufreq" daemon runs and all the modules are loaded)
I think that it's somehow related to policykit.
I can not change any value, the "modify" button is grey including the values in "policykit project". even logging to kde as root doesn't help. what do I do?

thanks!
 
Old 08-21-2009, 06:46 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Open up the console and enter "ps -e | grep dbus". There should be two instances. One running as root, and the other as your username. If you have installed updates, you may need to reboot. I had a problem connecting to my sansa-p2 player in amarok. Trying mtp-detect manually, there was an error message dealing with dbus. KDE and Gnome communicate with HAL via the dbus.

While in the console, enter:
polkit-auth --user <username> --show-obtainable

This will show the policies that can be granted. IIRC, you can gain permission with
sudo polkit-auth --user <username> --grant <the policy>

I hadn't noticed a policy editor for kde but have noticed gnome-polkit-editor or something similar.
 
Old 08-22-2009, 05:32 AM   #3
ohadbasan
LQ Newbie
 
Registered: Oct 2008
Location: Israel
Distribution: Arch and debian
Posts: 23

Original Poster
Rep: Reputation: 15
Hey dude
Thanks for the answer
polkit-auth --user <username> --show-obtainable return me nothing.
Like there are no policies I can grant to my user.
something's odd and I'm not well familiar with polickit (and I didn't find any good documentation online)
 
Old 08-22-2009, 11:12 PM   #4
anon099
Member
 
Registered: Oct 2002
Posts: 188

Rep: Reputation: Disabled
apt-get purge policykit
 
Old 08-24-2009, 01:23 PM   #5
ohadbasan
LQ Newbie
 
Registered: Oct 2008
Location: Israel
Distribution: Arch and debian
Posts: 23

Original Poster
Rep: Reputation: 15
this is arch linux so apt-get won't work here
solved by adding this to policykit.conf
although I do presume that purging the package completely will fix it up also

<match user="USERNAME">
<return result="yes"/>
</match>
 
  


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
Contract and Bightness control OR iris control for Logitech Communicate STX webcam nicsmr Linux - Hardware 0 03-13-2008 10:35 AM
tc traffic control tc traffic control Linux QoS control tool(noob help) inv|s|ble Linux - General 1 07-26-2007 11:12 AM
HAL, DBus and Policykit slothpuck Slackware 2 01-31-2007 12:56 PM
PolicyKit and Hal problem TongueTied Linux - Software 1 01-19-2007 08:26 PM
Can't launch redhat-network-control after updating gnome-control-center fedetxf Red Hat 0 12-12-2003 07:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

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