You are not logged in.
Now i have removed hal completely, but i met a problem while automount removable media.
i am using xfce4.6 and slim. i am starting xfce4 through "ck-launch-session startxfce4".
and i can successfully using palimpsest from gnome-disks-utility to mount or umount, but nautilus(gvfs) can not.
Environment: xfce4.6, nautilus 2.29, gvfs 1.54, udisks 1.0.0-1.20100223
any ideas?
Last edited by jarryson (2010-03-05 08:27:16)
Offline
i am really confused, when i using gdm to login, gvfs can mount now.
Offline
I have the same problem! I'm using Gnome 2.28 and Slim 1.3.
"devkit-disks --mount" works perfectly but Nautilus can't mount any external disks. From this (http://bbs.archlinux.org/viewtopic.php?id=86832) thread I have found that changing "<allow_any>no</allow_any>" to "<allow_any>yes</allow_any>" in "/usr/share/polkit-1/actions/org.freedesktop.devicekit.disks.policy" works, but that is really not a very good solution.
I have also found that launching Nautilus with "dbus-launch nautilus" works.
Last but not least I have found that running this "/usr /lib/gvfs-gdu-volume --monitor" also works.
Does anybody know of a permanent solution?
Offline
finally, i figure out what the matter with that.
start session must with the following command:
ck-launch-session dbus-launch --sh-syntax --exit-with-session gnome-session
Dont try to ignore dbus-launch, even there is /etc/X11/xinit/xinitrc.d/30-dbus in your system. you can delete /etc/X11/xinit/xinitrc.d/30-dbus but have to keep this.
i think maybe gvfs have to talk to udisk by dbus, but if not start session by that line, the started dbus is not belone to this session and will be denied
Offline