The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
2answers
96 views

Allowing normal user to mount and eject devices

In the file manager PCManFM I can access discs in my USB DVD drive but I cannot eject them or access other USB storage devices - I get the error message "Not Authorized". Any clues? I use Debian ...
2
votes
2answers
697 views

The name > org.freedesktop.PolicyKit1 was not provided by any .service files

When attempting to launch system-config-users from command line, I get the following warning, and the tool does not open. I'm using CentOS 7 with Mate 1.8.1. WARNING **: Error enumerating ...
5
votes
2answers
165 views

Suspend to RAM not working

I get following error when I try to suspend my laptop: failed to check authorisation: GDBus.Error:org.freedesktop.DBus.Error.Service.Unknown: The name org.freedesktop.PolicyKit1 was not provided by ...
1
vote
0answers
109 views

How can I install Policykit with System V?

I created a minimal install on my Raspbian Raspberry Pi running Debian Jessie. Among other things, I removed libx11-.* and dependencies, which included removal of policykit-1. I'm trying to reinstall ...
1
vote
0answers
105 views

Is there a way to check for a working polkit agent without checking for running process?

I need to check if I have an usable polkit agent in a desktop-environment agnostic way. Right now, what I'm doing is to check if a polkit agent is running, using a code like this: ps aux | grep ...
3
votes
1answer
249 views

Invoking PolicyKit/polkit via xinit/startx?

I recently upgraded a minimal installation of Ubuntu (with no full-fledged DE) from precise to saucy and since doing so I'm no longer able to mount removable drives as a normal user. I googled a bit ...
6
votes
1answer
534 views

Non-root user cannot control NetworkManager. polkit rule has no effect

I have disabled slim and lightdm, using startx instead. Almost everything works, except I cannot control the network connections with NetworkManager when logged in as the non-root user. Enable ...
0
votes
2answers
170 views

How to configure polkit with KDE?

My system is Gentoo amd64, KDE 4.11, and lightDM. I updated my system recently, and found out my user account can't shutdown from KDE. The function is disappeared. I looked for a long time, and I ...
12
votes
1answer
2k views

What happens when I press “Shut Down” from the GUI?

I have been banging my head against this for quite a while now. It's related to this question. I would like to find out exactly what happens when I choose to shut down my Linux box from the GUI. This ...
2
votes
2answers
4k views

Can't mount drive in Thunar anymore

Today, I got a Not authorized to perform operation. message when I tried to mount a drive in Thunar. # cat /etc/polkit-1/localauthority/50-local.d/10-udiskie.pkla [Local Users] ...
1
vote
3answers
391 views

How can I fix the location of polkit and glib include headers?

I am developing an application in which I require to use PolicyKit and it appears PolicyKit uses Glib libraries. What happens is that I installed PolicyKit, but the location of the headers are on ...
4
votes
1answer
4k views

Arch Linux , mount disks with thunar , without password

I just setup a minimal installation of Arch , installed gvfs , thunar-volman. But mounting disk requires password , this shouldn't happen. How should I work it out ?
2
votes
2answers
1k views

Removing supend and hibernate privileges

On OpenSUSE 12.1 x86_64, Gnome 3.2 . I want to remove the suspend and hibernate options from the Gnome (Shell) menu as suspend makes no sense IMO for a desktop hibernate has a slight tendency to ...
3
votes
1answer
134 views

What is the best way to restraint/secure a workstation?

I want to prevent users to copy on usb devices and some others actions. I was thinking of using polkit. Do you think it is a good solution or does someone know some alternatives ? EDIT: I also need ...
3
votes
2answers
3k views

How do I shut down a system through a ConsoleKit DBus message as user?

I found the following command line to shut down a Debian/GNU Linux system dbus-send \ --system \ --dest=org.freedesktop.ConsoleKit \ --type=method_call \ --print-reply \ ...
3
votes
3answers
631 views

Prevent non-root user from formatting a partition

Few days back I mistakenly formatted a partition on my external hard drive by clicking Format from the Context menu in Computer. I want to know that how can I prevent non-root user from being able to ...
23
votes
1answer
6k views

What are ConsoleKit and PolicyKit? How do they work?

I've seen that recent GNU/Linux are using ConsoleKit and PolicyKit. What are they for? How do they work? The best answer should explain what kind of problem each one tries to solve, and how they ...