<div dir="ltr"><div><div><div><div><div>Hi all,<br><br>I'm running Ubuntu 14.04. Whenever I'm using the default 
Unity desktop environment (or using the Gnome Classic session with 
Metacity), a flash drive with a LUKS-encrypted filesystem is 
automatically mounted whenever it's plugged in. This happens without any
 entries in <code>/etc/fstab</code>; I simply save the decryption 
passphrase for the drive in my keyring.<br></div><br>When I use an alternative 
windows manager in my Gnome session (in my case, <span class="">xmonad</span>), the USB drive 
is not automounted when plugged in. How can I get the encrypted flash drive to automount in Gnome+<span class="">xmonad</span>?<div><p>The
 debus session monitor output for both sessions is essentially identical
 at first, but the log output for Unity has additional entries, starting
 with:<br></p></div>signal sender=:1.72 -> dest=(null destination) serial=237 path=/org/freedesktop/UDisks2; interface=org.freedesktop.DBus.ObjectManager; member=InterfacesAdded<br>   object path "/org/freedesktop/UDisks2/jobs/4"<br>   array [<br>      dict entry(<br>         string "org.freedesktop.UDisks2.Job"<br>         array [<br>            dict entry(<br>               string "Operation"<br>               variant                   string "encrypted-unlock"<br>            )<br><br>...<br><br></div>so
 I suppose my question could be rephrased as "what process/daemon/helper
 causes the encrypted-unlock operation of udisks2 to execute when an 
encrypted flash drive is plugged in?"<br><br></div>Any advice or suggestions for a more appropriate place to ask this question would be greatly appreciated.<br><br></div>Cheers,<br></div>-Caleb</div>