You are not logged in.

#1 2020-04-03 18:43:44

CodingPotato
Member
Registered: 2020-04-03
Posts: 1

PCManFM: Daemon-mode not quitting properly on shutdown

Recently, I was looking into file managers, and installed PCManFM. To enable the auto-mounter, I added a line

pcmanfm --daemon-mode &

to my X startup script. But then, when I poweroff/reboot, the shutdown phase hangs at

[***] A stop job is running for session 1 of user ____ (xxx / 1:30) ...

and waits for the whole 1min 30s before properly shutting down.

After a little bit of research, I was able to find out that it was the PCManFM daemon process which wasn't able to be properly stopped, that made the shutdown process stop for 1min 30s. Tried with pcmanfm and pcmanfm-gtk3, on two seperate installations of Arch. Both of them suffered this problem. I couldn't find any reference regarding this issue in the Archwiki, or any other forums. The shutdown issue was fixed when I removed the PCManFM Daemon mode command from the startup script. Didn't face this issue when I used

thunar --daemon &

. Would appreciate any help regarding this issue.

Arch Linux version up-to-date, running on Linux 5.5.13-arch2-1

Offline

#2 2020-04-03 21:47:53

jamespeter
Member
Registered: 2020-04-03
Posts: 1

Re: PCManFM: Daemon-mode not quitting properly on shutdown

I am experiencing the exact same issue as CodingPotato. Running LXDE on updated Arch.  I am using pcmanfm's daemon mode in my startup scripts as  mentioned in the Arch wiki.

My ~/.config/openbox/autostart contains the following:

pcmanfm --desktop &

When shutting down, my laptop pauses for 1.5 minutes. If I comment out the line, the problem desists.

Last edited by jamespeter (2020-04-04 19:40:22)

Offline

#3 2020-04-06 08:40:38

Asaf K.
Member
Registered: 2011-05-04
Posts: 67

Re: PCManFM: Daemon-mode not quitting properly on shutdown

I have the same issue as well, and indeed it seems that PCManFM and gdbus are the culprits (although gdbus is not always mentioned in the logs). I do not have pcmanfm in my openbox autostart, but I normally run it (by hand) shortly after booting up.


It seems that RedHat recently had a related bug report: https://bugzilla.redhat.com/show_bug.cgi?id=1797193 so hopefully this can be fixed for us as well.

Last edited by Asaf K. (2020-04-06 08:44:49)

Offline

#4 2020-04-07 14:26:07

edacval
Member
From: .LT
Registered: 2008-10-23
Posts: 89

Re: PCManFM: Daemon-mode not quitting properly on shutdown

Fedora bug report
Patch

Last edited by edacval (2020-04-08 04:29:43)

Offline

#5 2020-04-09 16:38:31

linmjorg
Member
Registered: 2020-04-09
Posts: 10

Re: PCManFM: Daemon-mode not quitting properly on shutdown

The same here. I have found a workaround for me:
Logout first and then shutdown from the login screen.

Offline

#6 2020-04-10 21:27:21

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: PCManFM: Daemon-mode not quitting properly on shutdown

I do not see a bug report for Arch yet. Not sure if the Arch developers read Fedora bugreports. It's not me who does so, because I do not use pcmanfm.

Offline

#7 2020-04-14 12:02:23

linmjorg
Member
Registered: 2020-04-09
Posts: 10

Re: PCManFM: Daemon-mode not quitting properly on shutdown

I am new to arch linux. So i have a question:
Since there is already a patch, wouldn't it be better to simply flag the package out-of-date?

https://www.archlinux.org/packages/comm … 4/pcmanfm/

Offline

#8 2020-04-14 12:16:14

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,425

Re: PCManFM: Daemon-mode not quitting properly on shutdown

No, the out of date flag is for when there was an official upstream release of the software. If a random patch is floating about you'd like to have included, open a bug report/feature request on the bugtracker.

Offline

#9 2020-04-15 20:58:40

linmjorg
Member
Registered: 2020-04-09
Posts: 10

Re: PCManFM: Daemon-mode not quitting properly on shutdown

Offline

Board footer

Powered by FluxBB