Red Hat Bugzilla – Bug 135718
Request for multiple users to have access to devices
Last modified: 2007-11-30 17:10:51 EST
Description of problem:
Under the current (and probable release version of FC3), it is not
possible for users to have access to audio (and other) devices when
one user is logged into a console and another user is logged into an X
For example, user "a" logs into X and into a console. This user gains
the permissions to audio. The user logs out of X, but is still logged
into the console. User "b" logs into X, but has the audio permissions
blocked as user "a" still has the rights to the device and is logged
into a console.
It's a pain in the backside that this isn't already available,
especially when (for example) user "a" is logged in to a console
session for an update and another console session for downloading a
So you mean that the console logins should have lower priority than X
logins? So if someone logs out of X but is logged on console he/she
doesn't lose the ownership of the devices but if then someone else
logs in X he gets the ownership.
Easier change without necessary code changes would be to assign
ownership only on X logins, but then the user 1 would lose the
ownership immediately after logging out of X. This is easily
achievable by changing console.perms by making the console class equal
to xconsole class - this of course cannot be made default as many
users depend on the current behaviour.
What would I need to do to make the console equal to the xconsole
class? I can try it and if it works, this request can be closed
<console>=tty[0-9][0-9]* vc/[0-9][0-9]* :[0-9]\.[0-9] :[0-9]
Then the console logins (non X) won't affect the permissions and
ownership of device nodes.
This is probably impossible to do right. You can make various
manipulations with console.perms file on workstations with concurrent
multiuser access but it wouldn't be right to unnecesarily complicate
the setup for normal desktops.