You are not logged in.

#1 2009-11-12 12:38:01

jceasless
Member
Registered: 2009-04-20
Posts: 73

No sound unless app is started as root

Okay, so I've switched back from PulseAudio because they can't even bother to fix the issue of not recognizing on-board audio cards in 0.9.20.

However, back in ALSA, I remember now why I set up PulseAudio:

I cannot for the life of me enable ALSA for non-root users.

daenerys% groups
wheel network video audio optical storage power users vboxusers

Now, this is probably connected to another problem: even with my user being in all those groups, I cannot mount unless I am root, and I cannot shutdown either. Obviously, the audio does not work either.

ALSA works fine when an app is run with 'sudo' or as root, so it is not an ALSA configuration problem as far as I can tell. I just upgraded hal, udev, and ConsoleKit.

Any idea why my box doesn't give a crap that my user is in a group or not?

Also, in .xinitrc:

exec ck-launch-session awesome

This should force ACL rules, right? It allows me to access drives as a user, which even in the storage group didn't work.

Offline

#2 2009-11-12 13:45:46

brianhanna
Member
Registered: 2009-10-30
Posts: 157

Re: No sound unless app is started as root

Did you try looking at this section in the unofficial ALSA wiki?

http://alsa.opensrc.org/index.php/FAQ#A … th_that.3F

Offline

#3 2009-11-13 14:16:39

jceasless
Member
Registered: 2009-04-20
Posts: 73

Re: No sound unless app is started as root

Given that that section only asks to verify that the devices belong to the audio group

daenerys% ls -l /dev/snd*
total 0
drwxr-xr-x 2 root root       80 2009-11-13 15:10 by-path
crw-rw---- 1 root audio 116,  9 2009-11-13 15:10 controlC0
crw-rw---- 1 root audio 116, 13 2009-11-13 15:10 controlC1
crw-rw---- 1 root audio 116,  8 2009-11-13 15:10 hwC0D0
crw-rw---- 1 root audio 116, 12 2009-11-13 15:10 hwC1D0
crw-rw---- 1 root audio 116,  7 2009-11-13 15:10 pcmC0D0c
crw-rw---- 1 root audio 116,  6 2009-11-13 15:10 pcmC0D0p
crw-rw---- 1 root audio 116,  5 2009-11-13 15:10 pcmC0D1c
crw-rw---- 1 root audio 116,  4 2009-11-13 15:10 pcmC0D1p
crw-rw---- 1 root audio 116,  3 2009-11-13 15:10 pcmC0D2c
crw-rw---- 1 root audio 116, 11 2009-11-13 15:10 pcmC1D3p
crw-rw---- 1 root audio 116, 10 2009-11-13 15:10 seq
crw-rw---- 1 root audio 116,  2 2009-11-13 15:10 timer

and make sure your user is in the audio group

daenerys% groups
wheel network video audio optical storage power users vboxusers

I'm afraid it is not relevant to the problem I am having.

Last edited by jceasless (2009-11-13 14:17:14)

Offline

Board footer

Powered by FluxBB