Thunar/PCManFM doesn't "sense" microcd insertion 17 June 2023, 08:59:11 Hi all.I keep Artix updated every day.Before the last update when I insert a microsd into the usb reader, I look the new device in the list of devices (in the left column).When I click on the new device, the sd card is mounted under /run/media/....After latest update thunar doesn't show the inserted sd card in the left list.Event PCManFM has the same problem.So I think the matter is in the dbus environment.The "service" delegated to manage this I think is udisks2 (udisksd)When I try "udisksctl monitor" command I getError connecting to the udisks daemon: Errore nel chiamare StartServiceByName per org.freedesktop.UDisks2: Failed to execute program org.freedesktop.UDisks2: Permission deniedMy user is oart of this groupsuid=1000(mauro) gid=1000(mauro) gruppi=1000(mauro),979(docker),986(uucp),987(storage),991(lp),992(kvm),994(input),995(disk),998(wheel),999(adm),1001(sudo),1002(libvirt)Thanks all MZ Quote Selected
Re: Thunar/PCManFM doesn't "sense" microcd insertion Reply #1 – 18 June 2023, 08:52:56 Is it the same with other usb keys ?What is the file format on the microsd, fat or ext4 ?Can content be accessed with root (sudo) privileges ? Quote Selected
Re: Thunar/PCManFM doesn't "sense" microcd insertion Reply #2 – 20 June 2023, 17:37:27 I get the same problem with UPower service tooI found one difference comparing two pc with Artix.It is a permissions/ownership problemOn the faulted pcdrwxr-x--- root root /usr/share/polkit-1/rules.d On the working pcdrwxr-x--- root polkitd /usr/share/polkit-1/rules.d But udisks2 and upower keep give me error: Permission Denied.I restarted manually polkitd but the error remain.Even if I plug a usb stick thunar doesn't show the stick Quote Selected
Re: Thunar/PCManFM doesn't "sense" microcd insertion Reply #3 – 20 June 2023, 18:20:29 Hello,A question of privileges?Here is what I have :Code: [Select]groups jplog network scanner power users wheel audio optical uucp lp storage video autologin cups trusted fuse jp Quote Selected
Re: Thunar/PCManFM doesn't "sense" microcd insertion Reply #4 – 24 June 2023, 11:03:17 Thanks for the answer.I think it is a problem on the order of starting services.In this pc I get many error on elogind[ 9.863968] elogind[1751]: Failed to connect to system bus: No such file or directory[ 9.863974] elogind[1751]: Failed to fully start up daemon: No such file or directory[ 9.867631] elogind[1758]: Failed to connect to system bus: No such file or directory[ 9.867635] elogind[1758]: Failed to fully start up daemon: No such file or directory[ 9.871325] elogind[1761]: Failed to connect to system bus: No such file or directory[ 9.871329] elogind[1761]: Failed to fully start up daemon: No such file or directory[ 9.875145] elogind[1763]: Failed to connect to system bus: No such file or directory[ 9.875149] elogind[1763]: Failed to fully start up daemon: No such file or directory[ 9.879266] elogind[1767]: Failed to connect to system bus: No such file or directory[ 9.879272] elogind[1767]: Failed to fully start up daemon: No such file or directory[ 9.894213] elogind[1784]: Failed to connect to system bus: No such file or directory[ 9.894218] elogind[1784]: Failed to fully start up daemon: No such file or directory[ 9.897883] elogind[1789]: Failed to connect to system bus: No such file or directory[ 9.897887] elogind[1789]: Failed to fully start up daemon: No such file or directory[ 9.901589] elogind[1794]: Failed to connect to system bus: No such file or directory[ 9.901593] elogind[1794]: Failed to fully start up daemon: No such file or directory[ 9.905416] elogind[1797]: Failed to connect to system bus: No such file or directory[ 9.905420] elogind[1797]: Failed to fully start up daemon: No such file or directory[ 9.921105] elogind[1808]: Failed to connect to system bus: No such file or directory[ 9.921111] elogind[1808]: Failed to fully start up daemon: No such file or directory[ 9.925367] elogind[1815]: Failed to connect to system bus: No such file or directory[ 9.925371] elogind[1815]: Failed to fully start up daemon: No such file or directory Quote Selected
Re: Thunar/PCManFM doesn't "sense" microcd insertion Reply #5 – 24 June 2023, 14:54:03 Maybe the problem is on polkitd service.I miss polkitd process from `ps aux` Quote Selected
Re: Thunar/PCManFM doesn't "sense" microcd insertion Reply #6 – 24 June 2023, 15:40:40 Although I don't remember polkit being needed for plug-n-play mounting, except for when dbus wants permissions, you can still try.Grep simply for 'polkit', if you don't have any, or if your desktop doesn't provide any, easiest way just is to install lxqt-policykit and execute lxqt-policykit-agent. Quote Selected
Re: Thunar/PCManFM doesn't "sense" microcd insertion Reply #7 – 24 June 2023, 18:29:11 When I try `udisksctl monitor` polkitd should start. I try this on other PC.As I can see, polkit is not started so udisksctl failsI think it is a permission problem, but I don't find where is it. Damn Quote Selected
Re: Thunar/PCManFM doesn't "sense" microcd insertion Reply #8 – 24 June 2023, 18:48:44 I try to start polkitd by hand using dbus-send as root userdbus-send --system --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.StartServiceByName string:org.freedesktop.PolicyKit1 uint32:0Give me "permission denied" Quote Selected
Re: Thunar/PCManFM doesn't "sense" microcd insertion Reply #9 – 24 June 2023, 19:37:36 QuoteI try this on other PC.which has what desktop?You don't need to do all that, try as explained above, just launch any policykit agent to try, it should pull along polkitd with it. Quote Selected