LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 08-17-2008, 01:50 AM   #1
slackwarefan
Member
 
Registered: Oct 2003
Location: Florida
Distribution: Slackware
Posts: 273

Rep: Reputation: 30
xine and alsa only work for root


I'm not sure if this has been posted before, but I was unable to find it with the search function; Mostly because I don't know exactly what my search terms should be.
Anyway . . .

I've been using slackware for a while. My old installation got all messed up because I let my kernel get too old, then upgraded glibc, causing a fatal error. I've done a clean format and install of Slackware 12.1. I've got everything setup, including X. And even upgraded firefox to 3.0. I've run into one big problem though. If I try to use xine, gxine, amarok, aplay, etc. . . anything that uses audio or video, as any user other than root, the application will either hang, or spit out a bunch of errors to the command line.

This:
Code:
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_concat returned error: No such device
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_refer returned error: No such device
ALSA lib conf.c:3982:(snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM default
aplay: main:546: audio open error: No such device
is what I get when I try to use aplay on an mp3 as a non-root user.

I've tried changing the permissions on /dev/audio and /dev/dsp to add read access to all users, but that hasn't changed a thing.

Any ideas? I'm sure it's something simple I'm overlooking, but I'm stumped.

EDIT: This just in . . . Apparantly this only happens on KDE. I run xine on xfce and it works fine. I'm thinking it's something with KDE trying to take control of something it's not, but I'm not sure.

Thanks in advance guys.

Last edited by slackwarefan; 08-17-2008 at 02:03 AM.
 
Old 08-17-2008, 02:02 AM   #2
Prostetnic_Jeltz
Member
 
Registered: Feb 2006
Posts: 66

Rep: Reputation: 16
Did you try adding the user to the audio group (see /etc/group)?

Last edited by Prostetnic_Jeltz; 08-17-2008 at 02:04 AM.
 
  


Reply



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
ALSA, XINE and SNES9x Static gfem Linux - Software 0 08-17-2006 01:37 PM
alsa work with root or sudo but not user walterbyrd Linux - Hardware 5 10-24-2005 01:53 PM
ALSA - 5.1 doesn't work with Xine / Totem viluve Mandriva 1 04-26-2004 09:39 AM
How to tell Xine to use Alsa ? Danodare Linux - Software 1 03-31-2004 08:49 AM
got ALSA to work in root, need help getting it to work in my user profile ic3 Slackware 2 11-28-2003 10:32 PM

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

All times are GMT -5. The time now is 11:42 PM.

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