Thunar stopped mounting units in Fluxbox in Salix 15 XFCE

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
User avatar
Pai Mei
Donor
Posts: 17
Joined: 13. Jan 2012, 02:17
Location: Brazil

Thunar stopped mounting units in Fluxbox in Salix 15 XFCE

Post 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
Linux User #551004
Pentium Core i5-6400
Salix 15 XFCE 64 bits
User avatar
Pai Mei
Donor
Posts: 17
Joined: 13. Jan 2012, 02:17
Location: Brazil

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

Post 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!
Linux User #551004
Pentium Core i5-6400
Salix 15 XFCE 64 bits
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

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

Post by gapan »

Are you running fluxbox/thunar with dbus?
Image
Image
User avatar
Pai Mei
Donor
Posts: 17
Joined: 13. Jan 2012, 02:17
Location: Brazil

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

Post 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
Linux User #551004
Pentium Core i5-6400
Salix 15 XFCE 64 bits
Post Reply