% sudo -u user pcmanfm

(pcmanfm:31435): Gdk-WARNING **: 21:20:14.176: gdk_window_set_icon_list: icons too large

% pcmanfm 
%
For a few days pcmanfm hasn't been working (not that i use it so much). I thought it may have to do with some testing/lib.... being incompatible with some obcore/obextra pkg not being updated yet, but I did some downgrading and got no difference in behavior.
When I run pcmanfm there is no feedback, no process induced, no error, no logging event I can locate (or know how would I log this output if there was any), just a prompt returning. When I run it with sudo -u username pcmanfm it works with only the above warning.
What is done differently when you run the same program as user or use "sudo -u sameuser program" and it works? Default shell is zsh
I run pcmanfm from a chroot of another installation and it work, it gives me a warning that ~/Templates doesn't exist.


arch-Testing stuff (core and extra no community-testing) that are installed are below:
% pacman -Sl testing | grep installed
testing ldb 1:2.0.7-1 [installed]
testing libwbclient 4.11.2-2 [installed: 4.10.8-2]
testing rsync 3.1.3-3 [installed]
testing smbclient 4.11.2-2 [installed: 4.10.8-2]
testing tdb 1.4.2-1 [installed]
testing tevent 1:0.10.1-1 [installed]
testing xfsprogs 5.4.0-1 [installed]
testing xorg-server 1.20.7-1 [installed: 1.20.5-5]
testing xorg-server-common 1.20.7-1 [installed: 1.20.5-5]
testing xorg-server-xephyr 1.20.7-1 [installed: 1.20.5-5]
testing xorg-server-xnest 1.20.7-1 [installed: 1.20.5-5]
testing xorg-server-xvfb 1.20.7-1 [installed: 1.20.5-5]
testing xorg-server-xwayland 1.20.7-1 [installed: 1.20.5-5]
ldb was initially a suspect since most of the ldb related libraries are replacing 1.1 libraries, but no change after downgrade. I run the system as if no testing pkg (other than ob....-testing) was installed, no difference.

I think I have used pcmanfm since my first day on linux, don't remember ever breaking it before.
all obarun repo was updated.
Generally speaking if a program run with sudo and not with regular user, a permissions issue is involved. So, polkit, dbus, pam crappy stuff like this. You should investigate in that direction
16 days later
I don't which of all recent upgrades did it but without me "fixing" anything pcmanfm started working again.
I use to get mysteries like this in debian sans-systemd but on obarun it has been a rare phenomenon - things breaking on their own then fixing themselves. For a couple of weeks sqlite was breaking thunderbird but I guess thunderbird maintainers got around the breakage inevitably. But pcmanfm hasn't changed since Sept.19

Powered by Obarun