You are not logged in.

#1 2010-10-19 22:34:18

kailua
Member
Registered: 2010-05-27
Posts: 13

pulseaudio system wide daemon won't start

Hi,

my prblem is, that I want to start pulseaudio as a system wide daemon on a headless server. the configuration files (/etc/pulse/default.ps daemon.conf and system.pa) are the default ones. i also added root to the pulse-access group.

could it be that there's a missing daemon in rc.conf that pa needs?
this is my daemon array:
(syslog-ng netfs hal  crond net-profiles sshd acpid alsa samba mpd pulseaudio avahi-daemon)

thankful for any help

greets

Offline

#2 2010-10-19 22:44:19

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,362

Re: pulseaudio system wide daemon won't start

It would be helpful if you posted error messages.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#3 2010-10-20 07:43:16

kailua
Member
Registered: 2010-05-27
Posts: 13

Re: pulseaudio system wide daemon won't start

I would if there were any. it just says FAIL if I run

sudo /etc/rc.d/pulseaudio start

perhaps you know where to look for error messages of pulseaudio?

Offline

#4 2010-10-20 09:00:33

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,362

Re: pulseaudio system wide daemon won't start

First thing to do is actually run pulseaudio as root rather than using the rc.d script. Then you can run it with whatever verbosity you like, "-vvvv" is normally best.

I think pulseaudio is already running for you though, check with ps -e | grep pulse. Its probably running as your user and has control of your soundcard.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#5 2010-10-20 16:43:06

kailua
Member
Registered: 2010-05-27
Posts: 13

Re: pulseaudio system wide daemon won't start

so now i did what you suggested: the output of sudo pulseaudio -vvv shows several red lines:


E: module-console-kit.c: Unable to contact D-Bus system bus: org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /var/run/dbus/system_bus_socket: Datei oder Verzeichnis nicht gefunden
E: module.c: Failed to load  module "module-console-kit" (argument: ""): initialization failed.
E: main.c: Module load failed.
E: main.c: Module load failed.
E: main.c: Konnte Daemon nicht initialisieren.

i hope this will help

Offline

#6 2010-10-20 23:18:30

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,362

Re: pulseaudio system wide daemon won't start

Do you have dbus running?


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#7 2010-10-21 11:05:56

kailua
Member
Registered: 2010-05-27
Posts: 13

Re: pulseaudio system wide daemon won't start

DBus did not run. but if i add it to the daemon-array in rc.conf pulseaudio shows the following messages when i run it as root:

E: module-console-kit.c: GetSessionsForUnixUser() call failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ConsoleKit was not provided by any .service files
E: module.c: Failed to load  module "module-console-kit" (argument: ""): initialization failed.
E: main.c: Module load failed.
E: main.c: Module load failed.
E: main.c: Konnte Daemon nicht initialisieren.

Offline

#8 2010-10-21 11:11:52

kailua
Member
Registered: 2010-05-27
Posts: 13

Re: pulseaudio system wide daemon won't start

ok the thing with consolekit made me think that i should install hal. this solved my problem. now everything runs as it should.

thanks ngoonee for your help

Offline

#9 2010-10-21 22:47:45

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,362

Re: pulseaudio system wide daemon won't start

You MAY be able to get it working without hal (I don't use HAL) by using module-udev-detect instead of module-hal-detect, I think.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#10 2010-10-24 13:54:31

kailua
Member
Registered: 2010-05-27
Posts: 13

Re: pulseaudio system wide daemon won't start

yes indeed it works without hal but it needed consolekit which is a dependency of hal. i noticed that and uninstalled hal again and just installed consolekit. I also needed to comment the following line in /etc/pulse/system.pa:

load-module module-volume-restore table="/var/pulse/volume-restore.table"

to get it finally to work.

Offline

Board footer

Powered by FluxBB