[pulseaudio-discuss] main.c: daemon startup failed.

Ben Finney bignose+hates-spam at benfinney.id.au
Sun Apr 13 19:25:08 PDT 2008


Ben Finney <bignose+hates-spam at benfinney.id.au> writes:

> Sean McNamara <smcnam at gmail.com> writes:
> 
> > You should probably comment out module-x11-publish from
> > /etc/pulse/default.pa. It's not as useful as it sounds, and
> > depending on the circumstances, that X error alone could be causing
> > the server to shut down.
> 
> Okay. Am I right in thinking that I will still get a functioning
> PulseAudio client-server session in the absence of an X11 connection?

The answer to this is yes. With the 'load-module module-x11-publish'
commented out, the PulseAudio server now starts:

=====
$ sudo /usr/bin/pulseaudio -vvvv --daemonize=false
I: main.c: Found user 'pulse' (UID 112) and group 'pulse' (GID 113).
I: main.c: Successfully dropped root privileges.
W: pid.c: Stale PID file, overwriting.
W: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
W: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
I: main.c: Page size is 4096 bytes
I: main.c: Dude, your kernel stinks! The chef's recommendation today is Linux with high-resolution timers enabled!
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules//module-hal-detect.so': success
I: module-hal-detect.c: Trying capability alsa
I: module-hal-detect.c: Trying capability oss
I: module-hal-detect.c: Loaded 0 modules.
I: module.c: Loaded "module-hal-detect" (index: #0; argument: "").
I: module.c: Loaded "module-esound-protocol-unix" (index: #1; argument: "socket="/tmp/.esd/socket"").
I: protocol-native.c: Allowing access to group 'pulse-access'.
I: protocol-native.c: loading cookie from disk.
I: module.c: Loaded "module-native-protocol-unix" (index: #2; argument: "").
I: module.c: Loaded "module-esound-protocol-tcp" (index: #3; argument: "").
I: protocol-native.c: Allowing access to group 'pulse-access'.
I: protocol-native.c: using already loaded auth cookie.
I: protocol-native.c: Allowing access to group 'pulse-access'.
I: protocol-native.c: using already loaded auth cookie.
I: module.c: Loaded "module-native-protocol-tcp" (index: #4; argument: "").
D: module-zeroconf-publish.c: Publishing services in Zeroconf
I: module.c: Loaded "module-zeroconf-publish" (index: #5; argument: "").
I: module-volume-restore.c: starting with empty ruleset.
I: module.c: Loaded "module-volume-restore" (index: #6; argument: "").
I: module.c: Loaded "module-default-device-restore" (index: #7; argument: "").
I: module.c: Loaded "module-rescue-streams" (index: #8; argument: "").
I: module.c: Loaded "module-suspend-on-idle" (index: #9; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules//module-gconf.so': failure
I: main.c: Daemon startup complete.
D: module-hal-detect.c: dbus: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=NameAcquired
I: module-zeroconf-publish.c: Successfully established main service.
=====

When I stop this, and 'sudo invoke-rc.d pulseaudio start', that
process succeeds also. A client in a user session is then able to
connect to the server across TCP/IP.


Thanks for helping me get this far.

Could I suggest that the 'daemon startup failed' message be changed,
to at least include the proximate *reason* why the startup failed.

-- 
 \        "The number of UNIX installations has grown to 10, with more |
  `\         expected." —Unix Programmer's Manual, 2nd Ed.,1972-06-12 |
_o__)                                                                  |
Ben Finney




More information about the pulseaudio-discuss mailing list