Thepackage needs to be installed, along with for the polkit rules.
Getting mounting working
First, make sure you have a valid local session within X:
$ loginctl show-session $XDG_SESSION_ID
This should contain
Active=yes in the output. See xinitrc#Preserving the session for troubleshooting if it does not.
A dbus session should also be started along with X, in a way that exports a single
DBUS_SESSION_BUS_ADDRESS for every application in your session. The simplest way to do this is if you don't use a desktop environment is to copy the code from
/etc/skel/.xinitrc that runs files in
/etc/X11/xinit/xinitrc.d to your
~/.xinitrc, and avoid using
There is a known bug that causes duplicate entries for drives.