! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
automount is not handled well with multiple xfce sessions
Status:
RESOLVED: MOVED
Product:
Thunar-volman
Component:
General

Comments

Description b3nmore 2014-11-01 11:18:59 CET
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.
Comment 1 Git Bot editbugs 2020-05-25 23:11:00 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/thunar-volman/-/issues/10.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #11267

Reported by:
b3nmore
Reported on: 2014-11-01
Last modified on: 2020-05-25

People

Assignee:
Jannis Pohlmann
CC List:
1 user

Version

Attachments

Additional information