automount is not handled well with multiple xfce sessions
Submitted by b3nmore
Assigned to Jannis Pohlmann
Description
thunar-volman should try to automount only in the active session. Right now all thunar-volman processes trying to mount (race condition) and thus blocking each other and popping unwanted authentication request in the wrong sessions.
As a simple workaround one can place the following script in /usr/local/bin (assuming that logind is running on the system):
#!/bin/bash if [ $(loginctl user-status $USER | grep -c 'State: active') -gt 1 ]; then exec /usr/bin/thunar-volman $@ fi
But IMO the check for the active session should be done by thunar-volman.
Version: 0.8.0