You are not logged in.
For some time now I get the following error when trying to mount a partition with pcmanfm
Rejected send message, 1 matched rules; type="method_call", sender=":1.11" (uid=1000 pid=3073 comm="pcmanfm) interface="org.freedesktop.Hal.Device.Volume" member="Mount" error name="(unset)" requested_reply=0 destination="org.freedesktop.Hal" (uid=0 pid=2865 comm="/usr/sbin/hald))
Anyone any idea what causes this problem?
Offline
Do you have consolekit 0.4.1-2 installed, take a look at this post http://bbs.archlinux.org/viewtopic.php?id=87123
Offline
Thanks, but it doesn't work for me. I've got the latest version but get continue to get the error after starting the daemon
Offline
What does your ~/.xinitrc look like? are you using ck-launch-session
Offline
Actually I have just discovered I am getting the same errors with pcmanfm, sometimes I will boot up and everything will be fine other times I will get the same errors as you, It must be a problem with pcmanfm because thunar has no problems.
Maybe I should change file manager's
Offline
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice
#exec fluxbox
startfluxbox
and in .fluxbox/startup
...
pcmanfm -d &
...
Maybe we should submit a bug report? As far as I can understand the Bug-Wikisite the bug report must be sent to the pcmanfm developers because they are responsible?!
Last edited by Isildur (2009-12-21 16:03:42)
Offline
Have you tried exec ck-launch-session startfluxbox, I'm not too worried as I have switched over to thunar, I've never been too sure on which one I like the best, I like tab browsing in pcmanfm but it seems to be a bit buggy sometimes where thunar is rock solid.
Anyway pcmanfm is being completely rewritten according their website so a new version maybe out in the near future
Offline
Damn, sometimes the "solution"(or the hint) is easier than you think. Thunar has the same problem, but running either of them as root solves the problem. Now I don't really want to run these apps as root, so the question is why I cannot mount as normal user which had been working.
Anyone any ideas?
Offline
Have you added the drive to fstab?
Offline
No I havent, but it did work before without the fstab entry as well.
Though there was a fstab.pacnew version which doesn't fix the problem either.
I can post my fstab as soon as I'm back at my pc
Offline
Got the same problem, but can mount if I run pcmanfm as root. So I guess it is a problem with permissions.
Offline
Same for as I wrote above. But there should be a solution to this problem
Offline
IMO sollution is to allow user to send message to hal volumes.
/etc/dbus-1/system.d/hal.conf:
<policy context="default">
...
<allow send_destination="org.freedesktop.Hal"
send_interface="org.freedesktop.Hal.Device.Volume"/>
...
</policy>
if this command passes, pcmanfm should mount it too..
just replace $UDI with udi of the evice you're attempting to mount. You can find this out by grepping output of lshal.
dbus-send --system --print-reply --dest=org.freedesktop.Hal $UDI org.freedesktop.Hal.Device.Volume.Mount string: string: array:string:
Last edited by shpelda (2009-12-29 19:32:51)
Offline
IMO sollution is to allow user to send message to hal volumes.
/etc/dbus-1/system.d/hal.conf:<policy context="default"> ... <allow send_destination="org.freedesktop.Hal" send_interface="org.freedesktop.Hal.Device.Volume"/> ... </policy>
That solved the problem for me. Thanks a lot!
Offline