You are not logged in.

#1 2009-12-20 21:21:13

Isildur
Member
Registered: 2009-05-26
Posts: 96

Pcmanfm mount problem

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

#2 2009-12-20 21:42:36

guzz46
Member
From: New Zealand
Registered: 2009-06-18
Posts: 190

Re: Pcmanfm mount problem

Do you have consolekit 0.4.1-2 installed, take a look at this post http://bbs.archlinux.org/viewtopic.php?id=87123

Offline

#3 2009-12-20 22:18:38

Isildur
Member
Registered: 2009-05-26
Posts: 96

Re: Pcmanfm mount problem

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

#4 2009-12-20 23:42:57

guzz46
Member
From: New Zealand
Registered: 2009-06-18
Posts: 190

Re: Pcmanfm mount problem

What does your ~/.xinitrc look like? are you using ck-launch-session

Offline

#5 2009-12-21 01:21:00

guzz46
Member
From: New Zealand
Registered: 2009-06-18
Posts: 190

Re: Pcmanfm mount problem

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

#6 2009-12-21 16:01:47

Isildur
Member
Registered: 2009-05-26
Posts: 96

Re: Pcmanfm mount problem

#!/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

#7 2009-12-22 06:23:16

guzz46
Member
From: New Zealand
Registered: 2009-06-18
Posts: 190

Re: Pcmanfm mount problem

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

#8 2009-12-28 19:27:43

Isildur
Member
Registered: 2009-05-26
Posts: 96

Re: Pcmanfm mount problem

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

#9 2009-12-28 21:18:09

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: Pcmanfm mount problem

Have you added the drive to fstab?

Offline

#10 2009-12-29 16:24:47

Isildur
Member
Registered: 2009-05-26
Posts: 96

Re: Pcmanfm mount problem

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

#11 2009-12-29 17:52:00

FALK
Member
From: Denmark
Registered: 2008-03-24
Posts: 95

Re: Pcmanfm mount problem

Got the same problem, but can mount if I run pcmanfm as root. So I guess it is a problem with permissions.

Offline

#12 2009-12-29 18:18:06

Isildur
Member
Registered: 2009-05-26
Posts: 96

Re: Pcmanfm mount problem

Same for as I wrote above. But there should be a solution to this problem

Offline

#13 2009-12-29 19:30:20

shpelda
Member
Registered: 2008-08-07
Posts: 59

Re: Pcmanfm mount problem

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

#14 2009-12-31 08:12:06

Isildur
Member
Registered: 2009-05-26
Posts: 96

Re: Pcmanfm mount problem

shpelda wrote:

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

Board footer

Powered by FluxBB