switch user & usb flash drive conflict

Bug #1333354 reported by bzipitidoo
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
udev (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

This is on Lubuntu 14.04. My system has 2 desktop users who may both be logged in. I use the "switch user" option on the Logout popup to switch between these users. I don't recall exactly how I created the 2nd user, maybe used "useradd -m". They do not have the same groups. user2 is logged in first.

Groups for user1 are user1 adm cdrom sudo dip plugdev lpadmin nopasswdlogin sambashare.
Groups for user2 are user2 nopasswdlogin.

When both are logged in and I insert a flash drive into a USB port, both users' desktops try to mount it. Various error and other messages and dialogs are the result, and the drive fails to mount. User2 will ask for administrator password while user1 gets a popup saying that an operation is pending. By switching back and forth between the users and canceling the dialogs, I can get the flash drive to mount.

Tags: trusty wily
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in rdesktop (Ubuntu):
status: New → Confirmed
Jarno Suni (jarnos)
tags: added: trusty wily xenial
Jarno Suni (jarnos)
affects: rdesktop (Ubuntu) → udev (Ubuntu)
Revision history for this message
Jarno Suni (jarnos) wrote :

I also have this in Ubuntu Studio 14.04.4 LTS, if I am logged in as user1 and user2, I have setup automatic mounting of removable media in pcmanfm's preferences or thunar's preferences for user1, and if I am using user2 when I plug in a USB pen drive.

Revision history for this message
Jarno Suni (jarnos) wrote :

In case of #2, user2 gets a popup saying that an operation is pending, and when I switch back to user1, I see the request for administrator password.

Revision history for this message
Jarno Suni (jarnos) wrote :

As for #3, the notification about operation being pending is shown after I try to mount the USB drive by clicking on its icon on desktop two times.

Changed in udev (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Jarno Suni (jarnos) wrote :

I tried this in Ubuntu Studio 14.04. and Xubuntu 15.10. If I have both Thunar and PCManFM installed, and automounting enabled - I don't know, if there is difference, if it is enabled in only one or in both - mounting fails in the later session in 14.04. If only Thunar is installed, it succeeds to mount, but when I return to the first session, the password dialog is there for mounting. In 15.10 mounting seemed to work even if both Thunar and PCManFM are installed and set to automount.

tags: removed: xenial
Revision history for this message
Jarno Suni (jarnos) wrote :

In some cases the password dialog is there for mounting is there when I return to the first session in 15.10, too.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.