Re: Which X server gets to use sound



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
.



Relevant Pages

  • Re: Audio Hardware cannot be found on LAPTOP
    ... I go to the volume control dialogue box it simple says there are no active ... cannot turn my sound back on, ... click on any of the audio devices then properties, you can troubleshoot from ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Which X server gets to use sound
    ... >> do I know which one gets to use the sound output? ... > The X servers have nothing to do with the sound. ... > especially audio devices, are given to you. ... nobody ever logs in on the text console (there may not ...
    (comp.windows.x)
  • Re: sound is like underwater
    ... Go into your Control Panel, then click on Sound and Audio Devices. ... underneath that section and see if you can disable the echo. ...
    (microsoft.public.windowsxp.music)
  • Re: Audio issues - help please
    ... > click on it and choose Volume Control. ... check the Sounds and Audio Devices Properties ... One strange problem I've had since the upgrade is that I ... >> now can't get any sound from my Roland SC8850 sound module through my PC ...
    (microsoft.public.windowsxp.basics)
  • Re: Which X server gets to use sound
    ... >>> do I know which one gets to use the sound output? ... >> The X servers have nothing to do with the sound. ... >> especially audio devices, are given to you. ... nobody ever logs in on the text console (there may not ...
    (comp.windows.x)