Sound error (permission denied in /dev directory)
I've install LICQ, but as recommend by the package, I also install SOX. Then I start LICQ as a normal user. Whenever there is incoming message (a sound accompanies it), I have the following error on the terminal:
sox: Can't open output file '/dev/dsp': Permission denied playing /usr/share/licq/sounds/icq/Message.wav sox: Can't open output file '/dev/dsp': Permission denied playing /usr/share/licq/sounds/icq/Message.wav Is this the correct permission for the dsp file in /dev? david:/dev# ls -l dsp crw-rw---- 1 root audio 14, 3 Mar 15 2002 dsp All the files in /dev seems to be owned by root though. Does that mean I can only run LICQ as root to have the sound properly played? Thanks ! |
You should have the file writable (and readble) by others.
"crw-rw-rw- 1 root audio 14, 3 Mar 15 2002 dsp" |
What command can I use to list those in 'Audio' group?
Thanks :) |
that's a way to do it, the more proper way is adding your user to the group audio:
adduser username audio choose for username your own username. I've had the same problem. Quite stupid the user isn't added to the audio group automatically... |
I've added the user into the audio group. However, the same error persists:
david@xdavid:~$ ** WARNING **: oss_open(): Failed to open audio device (/dev/dsp): Permission denied Is there any command to list the users in 'Audio' group for me to verify? PS. Running Xmms as root works perfectly. Thanks ! Quote:
|
su
chmod a+rwx /dev/dsp* /dev/mixer* ps: avoid X usage as root |
the finest solution for "Failed to open audio device (/dev/dsp): Permission denied"
@mrcheeks
that way too much just chika:/etc $ sudo chmod o+rw dsp [then make sure that it show like this] chika:/etc $ ls -la dsp .... crw-rw-rw- 1 root audio 14, 3 2009-05-06 02:40 dsp .... |
Have you seen the date on this thread?
|
nope
but, i come with the same problem
n the solution is there... i just send the conclusion btw, thanks 4 reply add me ym: chika.tambun |
First user created is automatically added to video and audio group. Next ones need to be added manually.
I've never found a command to list users present in a group but grep audio /etc/group will give you the list of users minus the user that has the same name, if any: user:x:1000: audio:x:29:user |
All times are GMT -5. The time now is 07:20 PM. |