Hope this is the right place to post this issue. I could mount/umount usb through pcmanfm. Recently I have upgraded my debian to wheezy. The pcman version is now 0.9.8 but now I can't mount/umount usb drive any more. It gives an error "Not Authorized" . I already have this at .xinitrc

panther wrote:There are no policykit nor policykit-gnome packages in in Wheezy anymore, so I can't install them. (Yes, I likely have the same problem.) I already have policykit-1 and policykit-1-gnome installed.

I'm just going in here saying that I've also got this problem (based on what's been said) although I've not been upgrading from squeeze to wheezy, but rather been on the testing branch since squeeze were there. The last couple of weeks or something I've been mounting my external devices manually, which isn't that big of a deal really, but still a bit annoying to say the least.

Excuse me if my English fails at times since I'm from Sweden. And so on, and so on.

i encountered a similar problem on Wheezy and finally managed to solve it. if you don't run any desktop environment but just WM with additional apps and you get this error with PCManFM or udisks --mount, you can try the following:

(1) install lxpolkit package.

(2) create a file inside the /etc/polkit-1/localauthority/local.d directory with *.pkla extension (eg. 50-mount.pkla). other extensions such as .conf won't work. the contents should be as follows: