You are not logged in.
Hi, Nautilus gives me an "Not Authorized" error when I try to access any USB storage device or mount anything. I'm using awesome wm, and lightdm for login. I've found couple of sollutions involving .xinitrc, but I'm not using .xinirc at all, so they will not work for me.
I have loaded the pam_ck_connect.so module in /etc/pam.d/lighdm and login and ck-list-sessions gives me a list of all active consolekit sessions. I'm in the storage and disk groups so I don't think that it's a group issue.
Any help will be greatly appreciated,
Regards
Offline
Ha, after investigating a bit I found that the problem was in polkit. I wasn't alowed to mount filesystems.
This is what I did, I created /etc/polkit-1/localauthority/50-local.d/mount.pkla with this content :
[Storage Permissions]
Identity=unix-group:storage
Action=org.freedesktop.udisks.filesystem-mount;org.freedesktop.udisks.drive-eject;org.freedesktop.udisks.drive-detach;org.freedesktop.udisks.luks-unlock;org.freedesktop.udisks.inhibit-polling;org.freedesktop.udisks.drive-set-spindown
ResultAny=yes
ResultActive=yes
ResultInactive=yesyou need to be in the `storage` group in order for this to work.
Regards
Offline
Ha, after investigating a bit I found that the problem was in polkit. I wasn't alowed to mount filesystems.
This is what I did, I created /etc/polkit-1/localauthority/50-local.d/mount.pkla with this content :
[Storage Permissions] Identity=unix-group:storage Action=org.freedesktop.udisks.filesystem-mount;org.freedesktop.udisks.drive-eject;org.freedesktop.udisks.drive-detach;org.freedesktop.udisks.luks-unlock;org.freedesktop.udisks.inhibit-polling;org.freedesktop.udisks.drive-set-spindown ResultAny=yes ResultActive=yes ResultInactive=yesyou need to be in the `storage` group in order for this to work.
This is what eventually worked for me with xdm/fvwm, literally bringing tears of joy to my eyes after 2 hours. I was almost there, but I had to say "yes" for all the Result options.
Also, in my .xinitrc, I've commented out the stuff that runs the files in xinitrc.d, and my launch command is:
exec ck-launch-session dbus-launch --exit-with-session fvwmI don't know if that's still required, but I'm done messing with it for the night.
Offline