Page 1 of 1

Thunar stopped mounting units in Fluxbox in Salix 15 XFCE

Posted: 14. Apr 2024, 14:31
by Pai Mei
Hi everyone!

I'm using Salix 15.0 XFCE, and installed Fluxbox using Gslapt.
It was mounting my units in Thunar (when I click on the shortcuts in the left panel) but for some reason it stopped, showing no error message.
So I thought that was a polkit permission issue, and tried in a terminal:

Code: Select all

udisksctl mount -b /dev/sdb6
them it mounts my unit.
When I click to unmount (in Thunar left panel), it works, but after when I click to mount, it doesn't mount it.

What could be problem?

Thanks in advance!

PS: Sorry for my english - I'm not a fluent speaker

Re: Thunar stopped mounting units in Fluxbox in Salix 15 XFCE

Posted: 14. Apr 2024, 15:34
by Pai Mei
In time :

When I think about a polkit permission issue, I created the file /etc/polkit-1/rules.d/10-udisks2.rules with:

Code: Select all

// Allow udisks2 to mount devices without authentication
// for users in the “wheel” group.
polkit.addRule(function(action, subject) {
if ((action.id == “org.freedesktop.udisks2.filesystem-mount-system” ||
action.id == “org.freedesktop.udisks2.filesystem-mount”) &&
subject.isInGroup(“wheel”)) {
return polkit.Result.YES;
}
});
But it doesn't work with the units in Thunar (doesn't mount/show any error message).

Any hints?

Thanks in advance!

Re: Thunar stopped mounting units in Fluxbox in Salix 15 XFCE

Posted: 15. Apr 2024, 11:52
by gapan
Are you running fluxbox/thunar with dbus?

Re: Thunar stopped mounting units in Fluxbox in Salix 15 XFCE

Posted: 15. Apr 2024, 22:25
by Pai Mei
Yes, my /usr/bin/startfluxbox contains:

Code: Select all

# Start DBUS session bus:
if [ -z "\$DBUS_SESSION_BUS_ADDRESS" ]; then
   eval \$(dbus-launch --sh-syntax --exit-with-session)
fi