On Fri, Dec 17, 2004 at 08:28:05PM -0600, Marcelo E. Magallon wrote: > On Sat, Dec 18, 2004 at 07:03:22AM +1100, Graham Williams wrote: > > > At any time on one machine (home machines running Debian unstable) I > > allow multiple users to have their X sessions running concurrently > > (e.g., on tty7, tty8, etc). I've not yet figured out how to get > > gnome-volume-manager working happily in this situation. > > My initial reaction is "sorry, you loose". > > You are in a situation where g-v-m just won't work. By automatically > mounting a device the first user that mounts the device "owns" it, > i.e. only this user and root can unmount this device (it's what the > "user" option does) > > I can't imagine a sane way to deal with this. There's no "current" > desktop really. It's just two processes cooperating. The X server > "knows" which desktop is active because it arbitrates access to > hardware and it cooperates with the other X server accessing the > hardware.
What about setting the thing up so that all users are part of a common group, and g-v-m mounting the device as this group ? > You could signal g-v-m to go and "sleep" when the desktop changes, but > I'm not aware of a mechanism for the X server to inform applications of > something like this. This still leaves you with the other problem: > user A mounts and user B wants to unmount it. I guess it is just that nobody really tried to do something like that yet, and thus g-v-m was not designed with this in mind, hopefully this bug will be fixed in the future. Friendly, Sven Luther

