You are not logged in.
Pages: 1
Hi
I tried probably everything and I don't know why it no working.
I have udiskie and I want mount my device without logged on root. If I run pcmanfm as root everything mount OK. But I want mount as normal user.
Here is my :
.xinitrc
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
udiskie &
exec ck-launch-session dbus-launch openbox-session
/etc/polkit-1/localauthority/50-local.d/10-udiskie.pkla (this file and directory i can see only as root).I added as much lines, becouse I hope this be help...
[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=no
[Local Users]
Identity=unix-group:storage
Action=org.freedesktop.udisks.*
ResultAny=yes
ResultInactive=no
ResultActive=yes
[Storage Permissions]
Identity=unix-group:scanner
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=no
[Local Users]
Identity=unix-group:scanner
Action=org.freedesktop.udisks.*
ResultAny=yes
ResultInactive=no
ResultActive=yes
$ groups rlk120
disk network audio optical storage power users scanner
Please, help me...
Offline
According to the archwiki, pcmanfm can have automount support through udisks and dbus. Is there a specific reason your trying to use udiskie?
Offline
You do not need to use both the pkla file AND consolekit. However the problem may be that you are starting udiskie before launching consolekit:
Offline
I'm using devmon for automounting and it works really great. Install it and put this into your ~/.xinitrc
exec ck-launch-session dbus-launch bash -c "devmon & openbox-session"
Offline
Great, helps :
exec ck-launch-session dbus-launch bash -c "udiskie & openbox-session"
and remove pkla file
Offline
Pages: 1