Thunar doesn't mount units in Fluxbox

Hi everyone. Thanks for the fast replies.
Answering them:
No, I’m not in the disk group.
Yes, I need polkit rules.
Reading this wiki:
https://wiki.archlinux.org/title/Udisks#Configuration
I figured that my problem is with udisks2 and the polkit rules. Searching in the forum, I found this topic:
https://forum.endeavouros.com/t/password-authentication-when-mounting-drives-in-thunar/17812/5
This is what my problem: add a polkit rule for udisk2.
Followed the post (created /etc/polkit-1/rules.d/10-udisks2.rules) with:

// 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;
}
});

and now my thunar mount my partitions without asking a password (because I’m in the wheel group), in XFCE and in Fluxbox. It’s a elegant solution, since I don’t have to mess with polkit and udisk2. Many thanks to everyone who helped me.

1 Like