mpg123
Joel Hammer
Joel
Mon May 17 11:35:29 PDT 2004
Some of the other guys mentioned that KDE likes to hog the sound card. It
does this by changing permissions on the audio device. Here is what mine
tried to do:
==================================================
/etc/X11/kdm/TakeConsole
#!/bin/sh
# Reassign ownership of the console to root, this should disallow
# assignment of console output to any random users's xterm
# $XConsortium: TakeConsole,v 1.2 93/09/28 14:30:29 gildea Exp $
# $Id: TakeConsole,v 1.3 1998/09/30 21:20:26 bieker Exp $
# This list _MUST_ be the same as in GiveConsole
CONSOLE_DEVICES="console audio video radio cdrom dsp mixer vbi sequencer
sequencer2 midi"
for i in $CONSOLE_DEVICES; do
chown --dereference root.root /dev/$i
chmod 600 /dev/$i
done
chmod 622 /dev/console
=================================================================
Here is what I did to make it work
==========================================================
#!/bin/sh
# Reassign ownership of the console to root, this should disallow
# assignment of console output to any random users's xterm
# $XConsortium: TakeConsole,v 1.2 93/09/28 14:30:29 gildea Exp $
# $Id: TakeConsole,v 1.3 1998/09/30 21:20:26 bieker Exp $
exit
# This list _MUST_ be the same as in GiveConsole
CONSOLE_DEVICES="console audio video radio cdrom dsp mixer vbi sequencer
sequencer2 midi"
for i in $CONSOLE_DEVICES; do
chown --dereference root.root /dev/$i
chmod 622 /dev/$i
done
chmod 622 /dev/console
It looks like I just changed the 600 to 622. You may have to play around
with it.
Joel
>
>
> --
> Linux 2.4.18
> up 15:49, 2 users, load average: 0.00, 0.00, 0.00
> Join us in news://news.hkpcug.org and http://www.linux-sxs.org
>
> _______________________________________________
> Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users
> Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
More information about the Linux-users
mailing list