You are not logged in.
Pages: 1
ok, sound was working fine with alsa, until i decided to install mplayer, and with it, jack-audio-connection-kit. now, i have no sound in any application. here's the strange part - sound works if i run mplayer (or any other app i want sound in) as root. obviously, there is a permissions problem somewhere. the thing is, i've added my user to all the requisite groups, as far as i know. here is a copy of my /etc/groups file
root::0:root
bin::1:root,bin,daemon
daemon::2:root,bin,daemon
sys::3:root,bin
adm::4:root,daemon
tty::5:
disk::6:root,hanman
lp::7:daemon
mem::8:
kmem::9:
wheel::10:root,hanman
ftp::11:
mail::12:
log::19:root
smmsp::25:
games::50:hanman
network:x:90:hanman
video:x:91:hanman,hal
audio::92:hanman,hal
optical::93:hanman,hal
floppy:x:94:hal,hanman
storage:x:95:hal,hanman
power:x:98:hanman
nobody::99:
users::100:hanman
slocate:x:21:
dbus:x:81:hanman
hal:x:82:hanman
avahi:x:84:hanman
i'm sure it something simple i'm missing, but i just can't see it. i'm ready to pull out my hair, and i don't have much left! please help me.
EDIT: after some more reading, it seems running jack in daemon mode starts it as root, therefore, only applications launched by root can access it. so, my new question is, how can i get it to run as my user as a daemon?
Last edited by hanman (2007-10-24 04:35:10)
Offline
I have the same problem with you. You can find the dir and file created by jack with owner root and permission rw----,so all other users' applications can't connect to jack. I have try to run jack as my user, but it start failed.
Offline
how can i get it to run as my user as a daemon?
This is not the right answer for starting jack from rc.conf as a user (I'm still trying to get that one to work too) but one way is to simply use qjackctl by setting it up to work after your favourite desktop is up and running, selecting start jackd on application startup from Setup -> Misc, and then rely on the desktop session saving ability to auto run qjackctl next time you boot up.
Another possibility, after the above (once the above is successful), is to copy the ~/.jackdrc produced by qjackctl to /etc/rc.local something like this (but I haven't got it to work yet)....
sudo -u your_username jackd -R -dalsa -dhw:0 -r48000 -p256 -n3
Offline
Pages: 1