Re: Which X server gets to use sound
- From: f95-msv@xxxxxxxx (Mårten Svantesson)
- Date: Wed, 20 Jul 2005 17:11:29 +0200
hans_schulze98@xxxxxxxx (Hans Schulze) writes:
> I am running several X servers (all with KDE), all on the same
> monitor. How
> do I know (and control) which one gets to use the sound output?
> Apparently only one at a time can make sound, but sometimes none of
> them can and usually the one I need can not.
The X servers have nothing to do with the sound.
Instead this depends on the operating system.
On Linux it works something like this:
When you log in on the console the ownership of some devices,
especially audio devices, are given to you. So, if you log in locally
on several accounts you get in trouble.
You probably have a file /etc/security/console.perms in which it is
specified that this should happen. If you comment out the line about
sound and instead manually set the permissions for your audio device to
something appopriate you should be fine. This is a common scheme:
Add all the users that should be able to use the audio-device
to the group audio and then
chown root.audio /dev/dsp
chmod 660 /dev/dsp
--
- Mårten
mail: msv@xxxxxx *** ICQ: 4356928 *** mobile: +46 (0)707390385
.
- Follow-Ups:
- Re: Which X server gets to use sound
- From: Hans Schulze
- Re: Which X server gets to use sound
- References:
- Which X server gets to use sound
- From: Hans Schulze
- Which X server gets to use sound
- Prev by Date: Which X server gets to use sound
- Next by Date: Re: attempt to build a widget library
- Previous by thread: Which X server gets to use sound
- Next by thread: Re: Which X server gets to use sound
- Index(es):
Relevant Pages
|