Ben, Please try the below replacement of /etc/pulse/default.pa. Make sure to back-up your existing default.pa before proceeding. The main change of note is that I've removed the HAL detection and inserted static configuration for your soundcard. See the lines for load-module module-alsa-sink, and load-module module-null-source, for more details about that. Also, I went ahead and deleted some modules which were probably commented out in your file anyway. Best Regards, Sean #!/usr/bin/pulseaudio -nF # # This file is part of PulseAudio. # # PulseAudio is free software; you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # PulseAudio is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License # along with PulseAudio; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. .nofail ### Load something into the sample cache #load-sample-lazy x11-bell /usr/share/sounds/gtk-events/activate.wav load-sample-lazy pulse-hotplug /usr/share/sounds/startup3.wav #load-sample-lazy pulse-coldplug /usr/share/sounds/startup3.wav #load-sample-lazy pulse-access /usr/share/sounds/generic.wav .fail ### Load audio drivers statically #This is your ALSA output which seems to work... plug will convert the sound to big endian load-module module-alsa-sink device=plug:hw:0 sink_name=output #This will NOT give you sound input, but it will satisfy PA's want for a default source load-module module-null-source source_name=input #.ifexists module-esound-protocol-unix.so .nofail load-module module-esound-protocol-unix auth-anonymous=1 .fail #.endif load-module module-native-protocol-unix auth-group=pulse-access #The below lines would allow only localhost to connect to PA through TCP #load-module module-esound-protocol-tcp auth-ip-acl=127.0.0.0/8 #load-module module-native-protocol-tcp auth-ip-acl=127.0.0.0/8 #The below lines allow anyone (who can get through your firewall) to connect to PA through TCP #These aren't commented out because you mentioned network access in your posts, Ben load-module module-native-protocol-tcp auth-anonymous=1 load-module module-esound-protocol-tcp auth-anonymous=1 load-module module-zeroconf-publish ### Load the RTP reciever module (also configured via paprefs, see above) #load-module module-rtp-recv ### Load the RTP sender module (also configured via paprefs, see above) #load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 description="RTP Multicast Sink" #load-module module-rtp-send source=rtp.monitor ### Automatically restore the volume of playback streams load-module module-volume-restore ### Automatically restore the default sink/source when changed by the user during runtime load-module module-default-device-restore ### Automatically move streams to the default sink if the sink they are ### connected to dies, similar for sources load-module module-rescue-streams ### Automatically suspend sinks/sources that become idle for too long #load-module module-suspend-on-idle ### Set the created sink and source as default set-default-sink output set-default-source input On Mon, 2008-04-14 at 12:25 +1000, Ben Finney wrote: > 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. > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20080414/92f38d01/attachment.htm>