On Thu, 01 Oct 2015, ant wrote:
On Thu, 01 Oct 2015, deloptes wrote:
Thank you for the hint - I didn't have udisks (or udisks2?) installed,
so
I have installed it, and now I get no desktop icon. But I can mount it from the cli, possibly because I have an fstab entry. But experiments are continuing...
can you check if this somehow applies to you please? https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=650299
YES! As in the bug report, I edited /usr/share/polkit-1/actions/org.freedesktop.udisks.policy
and set the section '<action id="org.freedesktop.udisks.filesystem-mount">'
to
be '<allow_any>yes</allow_any>' and '<allow_active>yes</allow_active>'
and now it works as advertised. Thank you.
UPDATE: Now it has stopped working. I get an icon, and: -------------- Unable to mount this device. Potential reasons include: Improper device and/or user privilege level Corrupt data on storage device Technical details: org.freedesktop.UDisks.Error.PermissionDenied: Not Authorized: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PolicyKit1 was not provided by any .service files
ps aux gives: kded [tdeinit] --new-startup I am in plugdev. The .policy file is as above.
Where next to look?
cheers
ant
ant wrote:
Technical details: org.freedesktop.UDisks.Error.PermissionDenied: Not Authorized: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PolicyKit1 was not provided by any .service files
it says exactly here - could it be that you dropped the PolicyKit package or you are missing some extra privileges?
For me personally it looks like this: I refused to use systemd until I learn more about it. For this reason I marked as "hi policykit-1" and upower. I don't know if you use systemd or it infers somehow with it.
qdbusviewer comes handy - look in the System BUS
check if you are member of the required groups to handle the device management.
regards