Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

my xubuntu installation asks me for my password everytime I try to mount/umount/update software ... all the things that policykit-desktop-privilege should grant me. The user is in both admin and sudo group and I think the necessary packages are installed:

i A policykit-1                     - framework for managing administrative poli
i A policykit-1-gnome               - GNOME-Authentifizierungsagent für PolicyKi
i   policykit-desktop-privileges    - run common desktop actions without passwor
i A libpolkit-agent-1-0             - Authentifizierungsagent-API für PolicyKit 
i A libpolkit-backend-1-0           - PolicyKit backend API                     
i A libpolkit-gobject-1-0           - PolicyKit Authorization API               
i A libpolkit-qt-1-1                - PolicyKit-qt-1 library

has anyone tips on this?

share|improve this question
Installing updates in Linux usually requires a password - perfectly normal and standard behavior. Hope you'll get used to it. Mounting and unmouning partitions depen on how you do it. Use udisks, it shouldn't need passwords. – mikewhatever Feb 18 '13 at 13:21
Upvoted from -1 to 0. Applying updates to already installed software and mounting internal and external drives does NOT require a password when policykit-desktop-privileges is installed, at least for gnome based desktops. – aquaherd Feb 18 '13 at 13:26
I understand that changing the system needs more rights than a 'normal' user has - my problem is that policykit and policykit-desktop-privilege, which should grant me these rights, seem not to do this. – chichak Feb 18 '13 at 13:51

In the ubuntu desktop privileges, file com.ubuntu.desktop.pkla, this caught my attention:

[Mounting, checking, etc. of internal drives]

And for software:

[Update already installed software]
  • You will need to check if the policykit agent is running, e.g. pgrep -lf polkit from the command line. Same applies to udisk, udev and gvfs.
  • Any upgrade will work unless there are new packages thrown in or packages obsoleted by changed dependencies, e.g. new kernels. In this case, you will need the org.debian.apt.install-or-remove-packages privilege, which you can add in the same manner as ubuntu did. There are more privileges which can be seen with grep "<action id=" /usr/share/polkit-1/actions/org.debian.apt.policy from the command line.
  • This is just the same as in regular ubuntu, not xubuntu-specific. Maybe there is a slight difference between xfce and xubuntu sessions during login when you upgraded from previous versions of xubuntu where still hal was used over udev.
share|improve this answer
polkit-agent, udisk, udev and gvfs seem to be running - see here – chichak Feb 24 '13 at 16:16

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.