sound device permission problem as user
I have slackware 9.1 installed with a 2.6.2 kernel with alsa running from the kernel. The sound works when I am logged in as root but when I try logging in as user I get the following message:Sound server informational message:
Informational-artsmessage Error while initializing the sound driver: device: default can't be opened for playback (Permission denied) The sound server will continue, using the null output device. I should also probably say that I have configured kde not to autodetect the sound device but to use alsa since my oss is broken. This seems to be a permission problem where I need to probably add execute rights for user to use the sound device. Exactly what file should I add this rights to or is something else wrong? Thanks for the help. |
should be good to know wich kind of sound board you have....
anyway the problem concerns to the device ... /dev/"something" need to be free ... chmod 777 /dev/dsp* /dev/pcm* and other things that can be somehow related to mixer ou media... Regards |
Sorry about that I should have posted my device information. I have a Toshiba 5105 laptop with the i810 chipset. I have also tried the two commands above. Doesn't help. Any other suggestions.
|
Is there a particular device in the error output message? I had problems too sound wise with the 2.6 that I managed to resolve but not usb so still on 2.4
|
The problem is the sound is fine when i am logged in as root so I don't see this is a hardware issue. When I log in as a user kde simply gives me the above message without any other information. If this has anything to do with it I created the users using the standard slackware script /usr/sbin/adduser and I might have to add sound permissions somehow. The problem should be solved by adding permissions to a certain file but I have added more permissions to more files in /dev/ that seem to be related to sound then I like. So I guess I am looking for a list of files I should add permission to for a regular user. Thanks for the help.
Update: Sorry for taking everyones time the solution is posted in this thread if anyone is interested: http://www.linuxquestions.org/questi...und+permission Don't know how I missed it in the initial search. Thanks again for all the help. |
Extremely common problem.
As root, adduser {your username} audio logout login. Should do it. |
All times are GMT -5. The time now is 10:18 PM. |