Registered Member
|
I am running Ubuntu 14.04 with KDE 4 in a chroot environment (Using crouton on a Chromebook). Whenever I use Muon Package Manager, I get the error message:
This operation cannot continue since proper authorization was not provided. I researched this problem on the internet, but I can't find a solution. I read that you need to install the package polkit-kde-1, but I have it installed. I've also researched that this is a service. Usually to start a service on my chroot I need to edit the rc.local file and put in the service name to start when I enter the chroot. But I don't know what to type into rc.local to make this service work. Any help would be appreciated! |
|
Policykit is a dbus service, check "qdbus --system org.freedesktop.PolicyKit1"
Actions and rules are usually located in /usr/share/polkit-1, you need the muon thing there - if it is and the server responds, the muon actions may require you to be in a certain group ("wheel") |
Registered Member
|
What do you mean by "you need the muon thing there". Because I ran that command, but it did not fix anything. |
|
Applications drop their policies in those directories - muon on ubuntu should require /usr/share/polkit-1/actions/org.kubuntu.qaptworker.policy (but I don't know for sure; simply make sure that your chrooted environment has the polkit actions and policies)
The command "qdbus --system org.freedesktop.PolicyKit1" is *not* supposed to "fix" anything, but to ensure that the polkit daemon responds in your environment. |
Registered Member
|
|
|
If this is your chrooted environment, probably not, given (?) the server accessible from your chrroted environment (the command should print the interface of the server).
2 things: a) the folder is only root readable - does that mean you're operating as root user? b) "sudo ls -1 /usr/share/polkit-1/actions" - you don't need to post screenshots to list dir contents qaptworker2 is likely the interesting action, check the permission requirements in it and whether your user matches them (it will probably allow some users or groups unconditional execution and require a password from other users/groups - everyone else will be denied) |
Registered Member
|
I am not running as a root user.
I looked at the properties of the file and no one, even the root account has executable access, but it has read and write. Other users only have read access. |
|
It's not about the file permissions, but what's written inside the file.
It controls access to certain commands. |
Registered Member
|
I read through the files and I saw that all the other files have text written in them like:
"To view the list of trusted keys, you must authenticate" but when I look at the qaptworker2 file all it says is: Kubuntu http://www.kubuntu.org package-x-generic at the beginning, and the whole rest of the file is text in a bunch of different languages... |
Registered Member
|
|
|
No, that's a wonky xml representation - but the file is not meant to be interpreted by a browser.
Open it in a texteditor or just "less" and check the "defaults" sections. |
Registered Member
|
<defaults>
<allow_inactive>no</allow_inactive> <allow_active>auth_admin_keep</allow_active> </defaults> Are these the correct settings for the "defaults" section? |
|
You may want to try
The typical case for inactive are remote sessions (ssh, vnc) - but I frankly don't know how chroot impacts this. |
Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft