Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. 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

I recently installed Debian Wheezy with XFce4. Whenever I try to unmount a USB, I get this error message:

GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PolicyKit1 was not provided

How can I fix this?

share|improve this question
up vote 1 down vote accepted

This might be part of the same family of issues that cause one not to be able to mount USB drives and other kinds of external media in Debian (and other distros) without administration privileges when PolicyKit is involved.

Though I don't have the complete information at hand, I seem to remember the culprit is the default permissions for udisks (which XFCE uses to handle automounting).

You can partially (or perhaps fully) solve this by

  • making sure you have all PolicyKit relevant packages installed, as well as the CK connector.
  • Adding a file called udisks.pkla to the /etc/polkit-1/localauthority/50-local.d/ directory with the following contents:


(Might merit a X restart or full system reboot)

I got this from somewhere in the Arch forums. Credits go to them.

EDIT - similar issues have been posted here, with similar solutions: Impossible to mount USB stick

share|improve this answer

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.