Hi,
The first user to use the soundcard keeps it. No-one else can use the soundcard.
Any ideas on how to fix the problem? It is a pam problem IIRC.
TTFN
Paul
On Sun, 2004-10-03 at 16:51 +0100, Paul wrote:
Hi,
The first user to use the soundcard keeps it. No-one else can use the soundcard.
Even after the first user logs out? Or are you doing a login and then using something like gdmflexiserver to spawn a new concurrent session?
Hi,
The first user to use the soundcard keeps it. No-one else can use the soundcard.
Even after the first user logs out? Or are you doing a login and then using something like gdmflexiserver to spawn a new concurrent session?
Version 1.
User 1 logs in, uses xmms, logs out User 2 logs in, xmms reports soundcard blocked
Version 2.
User 1 logs in, uses xmms, logs into a couple of consoles (use bittorrent, do an update and something else). Logs out User 2 logs in, xmms reports soundcard blocked.
What should happen is for version 1, user 2 should gain control over the soundcard. Not sure what should happen for version 2, but I think once user 1 has logged out of the X session, then user 2 should gain permission. Failing that, everyone should have access at all times to the soundcard.
TTFN
Paul
On Sun, 2004-10-03 at 17:20 +0100, Paul wrote:
Version 1.
User 1 logs in, uses xmms, logs out User 2 logs in, xmms reports soundcard blocked
Version 2.
User 1 logs in, uses xmms, logs into a couple of consoles (use bittorrent, do an update and something else). Logs out User 2 logs in, xmms reports soundcard blocked.
What should happen is for version 1, user 2 should gain control over the soundcard.
Absolutely. If User 2 doesn't gain control that's a bug. Can you be sure that /var/run/console/console.lock doesn't exist after User 1 logs out?
Not sure what should happen for version 2, but I think once user 1 has logged out of the X session, then user 2 should gain permission.
Yes, I think it would be best if user 2 gained permission as well, but unless the device supports hardware mixing you're going to lose anyways. In this case you need a sound server. But if you do have hardware mixing one nicer way to do this might be to modify pam_console to use ACLs on the devices instead of changing ownership.
Em Dom, 2004-10-03 às 14:03, Colin Walters escreveu:
Version 2. User 1 logs in, uses xmms, logs into a couple of consoles (use bittorrent, do an update and something else). Logs out User 2 logs in, xmms reports soundcard blocked. Not sure what should happen for version 2, but I think once user 1 has logged out of the X session, then user 2 should gain permission.
Yes, I think it would be best if user 2 gained permission as well, but unless the device supports hardware mixing you're going to lose anyways. In this case you need a sound server. But if you do have hardware mixing one nicer way to do this might be to modify pam_console to use ACLs on the devices instead of changing ownership.
And what alsa is all about?