Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-13-2003, 07:20 AM
|
#1
|
Member
Registered: Nov 2003
Location: Beautiful Northern-sweden (Luleå)
Posts: 90
Rep:
|
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...
|
|
|
01-08-2004, 07:21 PM
|
#2
|
LQ Newbie
Registered: Jul 2003
Location: Porltand - Oregon
Distribution: Vectorlinux
Posts: 2
Rep:
|
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.
|
|
|
01-12-2004, 05:22 AM
|
#3
|
Member
Registered: Nov 2003
Location: Beautiful Northern-sweden (Luleå)
Posts: 90
Original Poster
Rep:
|
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 =)
|
|
|
09-22-2004, 03:20 PM
|
#4
|
LQ Newbie
Registered: Sep 2004
Posts: 18
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 04:26 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|