Fedora 17, KDE, and USB Disks – a Workaround!
After recently upgrading from Fedora 16 to 17, I found that USB disk mounts in KDE were failing:
Could not mount the following deviceAn unspecified error has occurred
Not Authorized
I finally found a workaround at http://www.suurmeijer.net, and I have slightly modified it:
Edit /usr/share/polkit-1/actions/org.freedesktop.udisks.policy as follows:
<action id=”org.freedesktop.udisks.filesystem-mount”><description>Mount a device</description>
<description xml:lang=”da”>Montér en enhed</description>
<message>Authentication is required to mount the device</message>
<message xml:lang=”da”>Autorisering er påkrævet for at montere et fil system</message>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>yes</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
</action>
Change is
from <allow_inactive>no</allow_inactive>
to <allow_inactive>yes</allow_inactive>
Applied these changes, and KDE USB mount now works. It would appear that when starting a KDE session from the command line (# startx) the session is still flagged as ‘inactive’ for some reason… Not sure if this is a bug or a feature, now…
Comments
Fedora 17, KDE, and USB Disks – a Workaround! — No Comments