Find the answer to your Linux question:
Results 1 to 2 of 2
ok my sound wouldnt work because permission was denied to the sound devices as a regular user, so I added myself to the sudo allow all priviledge in /etc/sudoers and ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2013
    Posts
    47

    annoying sound problem fedora 19


    ok my sound wouldnt work because permission was denied to the sound devices as a regular user, so I added myself to the sudo allow all priviledge in /etc/sudoers and run xmms as


    Code:
    sudo xmms
    and I can play the sound just fine. i know it's not proper but it works.

  2. #2
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,318
    Quote Originally Posted by DaemonDave View Post
    and I can play the sound just fine. i know it's not proper but it works.
    both true. this is a more appropriate solution, for future readers:

    get the name of the group to which the sound devices belong, e.g.:
    Code:
    find /dev/snd/ -type c -printf "%g\n"
    it is probably "audio", that is what it is on my F17 box.

    then, as root, add your user to that group, e.g.:

    Code:
    usermod -G audio someuser
    you'll have to log in as someuser again in order for the addition to the new group to take effect. if you type "groups", you should now see "audio" appended to your list of groups. you should now be able to use the sound devices, e.g.:
    Code:
    touch /dev/snd/controlC0
    NOTE: to narrow down the problem specifically in the first place, one could do:
    Code:
    strace xmms 2>&1|grep Permission

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •