LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-13-2003, 07:20 AM   #1
kadaver
Member
 
Registered: Nov 2003
Location: Beautiful Northern-sweden (Luleå)
Posts: 90

Rep: Reputation: 15
xmms & alsa permission problems


First of all, i spent the last 15 minutes probing the forum for this, didn't find it so don't be like "ARGH ARGH USE THE SEARCH FUNCTION MTFU!!!" =)

ALSA is now up and running and it works sooo much better than OSS did.
Two problems though:

1) Whenever i start xmms (root or nonroot doesn't matter) i get an error message saying:

"libartsc.so.0: failed to open shared objects file: the file or folder doesn't exist."

But as root xmms still runs and the sound works anyway, but it's annoying..

2) When i start xmms as a normal user i get the following errors (except for the libartsc.so.0 stuff):

"**WARNING**: alsa_setup_mixer(): Attaching to mixer hw:0 failed: Permission Denied"

Obviously it's a permissions issue, so I went and did this:

"chmod u+rw /dev/dsp* /dev/mixer* /dev/sequencer* /dev/midi*"

Still doesn't work.
In other words, sound works as root but not as a regular user. What to do??

Thank you for reading...
 
Old 01-08-2004, 07:21 PM   #2
homerhomer
LQ Newbie
 
Registered: Jul 2003
Location: Porltand - Oregon
Distribution: Vectorlinux
Posts: 2

Rep: Reputation: 0
I was in the same boat

I was able to get is going by
adding

# chmod 777 /dev/amixer*
# chmod 777 /dev/snd/*

This appears to be the alsa mixer
and I also added the user to the "sys" group

I hope that this helps


Oh and this is totally not secure



Last edited by homerhomer; 01-08-2004 at 11:58 PM.
 
Old 01-12-2004, 05:22 AM   #3
kadaver
Member
 
Registered: Nov 2003
Location: Beautiful Northern-sweden (Luleå)
Posts: 90

Original Poster
Rep: Reputation: 15
I know =)
Got it working now, I reset all the permissions to default and added myself to the sudoers file instead. Much more secure, and a much more correct approach =)
 
Old 09-22-2004, 03:20 PM   #4
node
LQ Newbie
 
Registered: Sep 2004
Posts: 18

Rep: Reputation: 0
SOMEtimes devfsd doesn't initialize correctly/ontime and the /dev/snd/* doesn't get it's permissions set correctly.
I have noticed that just today. At first I didn't know what the reason was. xmms just complained and a reboot fixed it.
Call me lazy, but it didn't bother me.

Today I got it again, 4th time now and it was starting to get annoying. So i launched it from console, and there it was, permission denied. As root, sound, as user, error. A quick browse through /dev/snd showed me that the audio group wasn't allowed to rw to /dev/snd/*

A restart of devfsd fixed all. If you use fixed nodes then chmod fixes it. If you use devfsd and remember chmodded settings, chmod fixes it. If you use devfsd, edit your devfsd.conf to handle /dev/snd entries properly (make it 0660 and put yerself in the 'audio' group) Dunno yet about the new udev though.
 
  


Reply


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
Permission problem (xmms & YMessenger) zahadumy Linux - Software 3 06-04-2005 02:03 AM
XMMS, ALSA and Device Problems. ShoCkwave Slackware 1 02-08-2005 01:45 PM
XMMS, Soundcard & ALSA maxismusp Debian 3 03-02-2004 05:06 AM
ALSA is a piece of sh*t... (XMMS & ALSA) Astro Slackware 3 12-02-2003 10:18 PM
Problems Installing MPlayer, XMMS, and alsa-driver dot hog Linux - Newbie 7 10-18-2003 07:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:26 AM.

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