Simultaneous sound for 2 users under f7
Mikkel L. Ellertson
mikkel at infinity-ltd.com
Wed Oct 17 17:23:45 UTC 2007
Olaf Mueller wrote:
> two users logged in at the same time on pc A, one user local and the
> other by x-terminal from pc B on the local network, can play sound
> under fc6 on the soundcard of pc A if root is doing the
> commands 'chmod 0660' and 'chown root.audio' on the following files on
> pc A:
> /dev/dsp* /dev/audio* /dev/midi* \
> /dev/mixer* /dev/sequencer* /dev/sound/* /dev/beep* \
> /dev/snd/* /dev/adsp* /dev/admm* /dev/aload* \
> /dev/amidi* /dev/dmfm* /dev/dmmidi* /dev/sndstat*
> This little hack doesn't work any more under fedora 7.
> So what is the trick under f7 to allow two users to play sound
> alternately if they are logged in at the same time?
> And what is the meaning of '+' in 'crw-rw----+ 1 root audio 14, 4 16.
> Okt 06:46 /dev/audio' under f7?
> Thanks a lot.
Part of the problem is that the permissions of these devices are
controlled by console.perms, so that your changing the permissions
only lasts until someone logs into or out of the local console. When
the first non-root user logs into the local console, the ownership
is set to that user. When they log out, they are set back to the
default ownership/permissions. The values used are specified in
/etc/security/console.perms.d/50-default.perms. but you can create
your own file to override the permissions you want. This is covered
in the console.perms and pam_console man pages.
Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20071017/1ea97e99/attachment-0001.bin
More information about the users