LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Sound doesn't work if I don't use root (https://www.linuxquestions.org/questions/linux-newbie-8/sound-doesnt-work-if-i-dont-use-root-11190/)

mondra 01-05-2002 12:49 AM

Sound doesn't work if I don't use root
 
I have recently installed Slack8 and all seems to work very well except from sound. If I login as root and go into kde or gnome the sound works perfectly. However, when I login as other user (not root) and I go into kde or gnome, the sound does not work at all. I don't really know what can be happening so I would be grateful if somebody could give a piece of advice.
See you

taz.devil 01-05-2002 01:40 AM

By default, only root ends up having sound permission in Slack. You'll want to add a special group, perhaps named 'sound' and then add the non-root user to it. Then go to /dev and type:

chown root:sound audio audio1 dsp dsp1 sequencer sequencer2 mixer mixer1

That'll CHange OWNnership of the applicable sound devices to the new group 'sound'. I think you should be good after this, although you may or may not have to change the permissions of those same files for the group also. For example:

chmod ug=rw,o=r dsp dsp1 audio audio1 etc... It's a long list and the order don't madduh. Something to that effect. Use the -v option to see the actual changes with these commands.


All times are GMT -5. The time now is 06:10 PM.