Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 01-30-2004, 03:34 PM   #1
Registered: Mar 2003
Distribution: slackware 9.1
Posts: 30

Rep: Reputation: 15
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:


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.
Old 01-30-2004, 03:42 PM   #2
Senior Member
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 46
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...

Old 01-30-2004, 03:48 PM   #3
Registered: Mar 2003
Distribution: slackware 9.1
Posts: 30

Original Poster
Rep: Reputation: 15
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.

Last edited by matjazk; 01-30-2004 at 04:43 PM.
Old 01-30-2004, 04:55 PM   #4
Senior Member
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
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
Old 01-30-2004, 05:08 PM   #5
Registered: Mar 2003
Distribution: slackware 9.1
Posts: 30

Original Poster
Rep: Reputation: 15
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:
Don't know how I missed it in the initial search. Thanks again for all the help.

Last edited by matjazk; 01-30-2004 at 05:22 PM.
Old 01-31-2004, 03:34 PM   #6
Senior Member
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
Extremely common problem.

As root, adduser {your username} audio

logout login.

Should do it.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba - permission problem on multiple user share timmywo Linux - Software 1 08-06-2005 05:30 PM
permission problem - root is the only user which can login hitman_et Linux - Newbie 6 04-03-2005 10:12 AM
user permission issues with /dev/ (sound and cdrom) ngan_yine Slackware 3 11-03-2004 05:09 PM
Problem when logging as a user (permission denied) Dartelin Linux - Newbie 3 05-03-2004 12:15 PM
"permission denied" when I try to send raw data to the sound device. Travis86 Linux - Hardware 2 10-29-2003 09:08 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:32 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration