You are not logged in.

#1 2011-09-18 21:23:05

geo909
Member
Registered: 2008-09-07
Posts: 309

PCManfm: Yet another mounting issue

Dear all,

I have been reading the pcmanfm wiki page extensively, yet I have an issue with mounting and
pcmanfm.. I actually get a "Not authorized" message when I click on the icon of my usb stick
or external drive's icon on the left panel.

Note that Dbus is in my daemons array in rc.conf.

What solved temporarily the problem is the following:

If I open a terminal and do

[jorge@flamingo ~]$ ck-launch-session 
[jorge@flamingo ~]$ dbus-launch 
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-9RcHCWNc1p,guid=c8c589921198d11b3dcc2793000002d0
DBUS_SESSION_BUS_PID=8190

..and then run pcmanfm from the very same terminal , then I can automount by clicking on
my drive's icon. If I run pcmanfm in anyother way, I have the same problem.

I tried to add those lines in my .xinitrc, however that does not solve the issue..

[jorge@flamingo ~]$ cat .xinitrc 
setxkbmap -option grp:switch,grp:alt_shift_toggle,grp_led:scroll us,gr

parcellite &
~/.dropbox-dist/dropboxd &
ck-launch-session &
dbus-launch &

while true
do
	xsetroot -name "`date` `uptime | sed 's/.*,//'`"
	sleep 1
done &
exec dwm
[jorge@flamingo ~]$ 

Also note that when I run pcmanfm as root, I don't have that problem..

Please, any ideas about how I could fix that issue?

Thanks a lot in advance

PS. I'm using the dwm window manager

Offline

#2 2011-09-18 21:36:55

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

Re: PCManfm: Yet another mounting issue

Use

exec ck-launch-session dbus-launch dwm

If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#3 2011-09-18 21:51:28

geo909
Member
Registered: 2008-09-07
Posts: 309

Re: PCManfm: Yet another mounting issue

Unia wrote:

Use

exec ck-launch-session dbus-launch dwm

Hmm.. I did that and then pcmanfm does not even start (I don't get any
messages when I run it from the terminal either)..

Any other idea?

Offline

#4 2011-09-19 08:35:49

nnoell
Member
From: Spain
Registered: 2010-08-21
Posts: 99

Re: PCManfm: Yet another mounting issue

Take a look at this post.

Offline

#5 2011-09-21 00:55:48

geo909
Member
Registered: 2008-09-07
Posts: 309

Re: PCManfm: Yet another mounting issue

I was hoping that I would avoid messing up with configuration files right now..
Since

ck-launch-session; dbus-launch dwm; pcmanfm

from a terminal does the job, I would guess there is a simpler solution
involving those lines above when starting X..

Offline

Board footer

Powered by FluxBB