[pulseaudio-discuss] only "dummy audio" available when many users want to use one audio card
Colin Guthrie
gmane at colin.guthr.ie
Wed Nov 25 10:50:00 PST 2009
'Twas brillig, and Tomasz Chmielewski at 25/11/09 18:27 did gyre and gimble:
> Colin Guthrie wrote:
>
>> There should be some info kicking around about system mode PA if you
>> google around for it.
>
> I don't have much success with getting audio for two users with pulseaudio.
>
> I start pulsaudio as root with these options:
>
> # pulseaudio --log-target=syslog --system -D --disallow-exit
>
> And get this info in syslog; both users only have "dummy audio". So it's even worse this way.
>
> Nov 25 19:23:40 dom pulseaudio[21012]: main.c: Running in system mode, but --disallow-module-loading not set!
> Nov 25 19:23:40 dom pulseaudio[21012]: main.c: Running in system mode, forcibly disabling SHM mode!
> Nov 25 19:23:40 dom pulseaudio[21012]: main.c: Running in system mode, forcibly disabling exit idle time!
> Nov 25 19:23:40 dom pulseaudio[21013]: main.c: OK, so you are running PA in system mode. Please note that you most likely shouldn't be doing that.
> Nov 25 19:23:40 dom pulseaudio[21013]: main.c: If you do it nonetheless then it's your own fault if things don't work as expected.
> Nov 25 19:23:40 dom pulseaudio[21013]: main.c: Please read http://pulseaudio.org/wiki/WhatIsWrongWithSystemMode for an explanation why system mode is usually a bad idea.
> Nov 25 19:23:40 dom pulseaudio[21013]: module.c: module-hal-detect is deprecated: Please use module-udev-detect instead of module-hal-detect!
> Nov 25 19:23:40 dom pulseaudio[21013]: module-alsa-card.c: Card '0' doesn't exist: No such file or directory
> Nov 25 19:23:40 dom pulseaudio[21013]: module.c: Failed to load module "module-alsa-card" (argument: "device_id=0 name="pci_8086_3a3e_sound_card_0" card_name="alsa_card.pci_8086_3a3e_sound_card_0" tsched=1 card_properties="module-hal-detect.discovered=1""): initialization failed.
> Nov 25 19:23:40 dom pulseaudio[21013]: module-alsa-card.c: Card '2' doesn't exist: No such file or directory
> Nov 25 19:23:40 dom pulseaudio[21013]: module.c: Failed to load module "module-alsa-card" (argument: "device_id=2 name="pci_1002_aa38_0_sound_card_2" card_name="alsa_card.pci_1002_aa38_0_sound_card_2" tsched=1 card_properties="module-hal-detect.discovered=1""): initialization failed.
> Nov 25 19:23:40 dom pulseaudio[21013]: module-alsa-card.c: Card '1' doesn't exist: No such file or directory
> Nov 25 19:23:40 dom pulseaudio[21013]: module.c: Failed to load module "module-alsa-card" (argument: "device_id=1 name="pci_1002_aa38_sound_card_1" card_name="alsa_card.pci_1002_aa38_sound_card_1" tsched=1 card_properties="module-hal-detect.discovered=1""): initialization failed.
> Nov 25 19:23:40 dom pulseaudio[21013]: main.c: Failed to acquire org.pulseaudio.Server: org.freedesktop.DBus.Error.AccessDenied: Connection ":1.122" is not allowed to own the service "org.pulseaudio.Server" due to security policies in the configuration file
>
This is typically a permissions problem. Does the "pulse" user (which
IIRC is used by system mode) have permissions to open the sound devices?
Col
--
Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/
Day Job:
Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
Mandriva Linux Contributor [http://www.mandriva.com/]
PulseAudio Hacker [http://www.pulseaudio.org/]
Trac Hacker [http://trac.edgewall.org/]
More information about the pulseaudio-discuss
mailing list