pulseaudio/src/daemon
Colin Guthrie 7aa8a3fa80 daemon: Fix regression introduced in f1d1447e.
With Tanu's patch, the server no longer starts when a server is configured.
While this is sensible in most circumstances there is a corner case where
we still want to start.

In a typical X11 login, module-x11-publish will be loaded and will thus
set the PULSE_SERVER X11 property on the root window. This then hits the
check introduced in f1d1447e and exits. If PA had previously crashed
(thus leaving behind it's X11 properties) then this means that we will not
autospawn nor even allow ourselves to be started manually until
pax11publish -r is run to clear out the X11 properties. This is obviously
not desirable.

This patch introduces a more in-depth check of the server. If it looks like
a local unix domain socket, then we do not exit straight away and instead
probe further. This should not pose any problems with e.g. remote SSH
usage as the DBus Machine ID is used in the server string.
2011-03-25 23:14:28 +00:00
..
.gitignore git: ignore kde related files 2009-10-30 05:20:00 +01:00
caps.c daemon: reset gids too, not just uids 2009-08-14 19:28:18 +02:00
caps.h daemon: strip all special suid/caps log from our startup code, we'll now rely on RealtimeKit for all high-priority/RT scheduling policy issues 2009-06-19 17:37:18 +02:00
cmdline.c log: Add a new log target to a file descriptor 2011-03-18 12:32:51 +00:00
cmdline.h Use LGPL 2.1 on all files previously using LGPL 2 2009-03-03 20:23:02 +00:00
cpulimit.c Fix up some double spaces 2011-03-18 09:20:07 +00:00
cpulimit.h Use LGPL 2.1 on all files previously using LGPL 2 2009-03-03 20:23:02 +00:00
daemon-conf.c log: Correct bad function implementation 2011-03-24 16:34:07 +00:00
daemon-conf.h daemon-conf: Add sync volume parameters to daemon-conf 2010-10-16 11:53:39 +01:00
daemon.conf.in daemon-conf: Add sync volume parameters to daemon-conf 2010-10-16 11:53:39 +01:00
default.pa.in conf: Make system.pa use udev-detect and not hal-detect. 2011-03-03 09:37:16 +00:00
default.pa.win32 big s/polyp/pulse/g 2006-06-19 21:53:48 +00:00
dumpmodules.c Apply #ifdefs around functionality not available on win32 2011-02-17 11:58:22 +01:00
dumpmodules.h Use LGPL 2.1 on all files previously using LGPL 2 2009-03-03 20:23:02 +00:00
esdcompat.in Fix up some double spaces 2011-03-18 09:20:07 +00:00
ltdl-bind-now.c Apply #ifdefs around functionality not available on win32 2011-02-17 11:58:22 +01:00
ltdl-bind-now.h Use LGPL 2.1 on all files previously using LGPL 2 2009-03-03 20:23:02 +00:00
main.c daemon: Fix regression introduced in f1d1447e. 2011-03-25 23:14:28 +00:00
pulseaudio-kde.desktop.in device-manager: Add some scripts that are only run under KDE to load/initialise module-device-manager with routing turned on. 2009-10-01 22:33:22 +01:00
pulseaudio-system.conf daemon: install D-Bus system policy file for PA system instances 2009-08-12 01:50:24 +02:00
pulseaudio.desktop.in Make pulseaudio.desktop and org.pulseaudio.policy translatable. 2009-02-24 00:09:45 +01:00
server-lookup.c Finish the Core dbus interface. 2009-07-21 00:02:27 +03:00
server-lookup.h dbus-protocol: Connection handling for local connections. 2009-06-16 19:03:22 +03:00
start-pulseaudio-kde.in device-manager: Fix typo in module loading script. 2009-10-02 00:49:50 +01:00
start-pulseaudio-x11.in start: we don't need to check for $PULSE_SERVER anymore 2010-01-14 20:33:40 +01:00
system.pa.in conf: Make system.pa use udev-detect and not hal-detect. 2011-03-03 09:37:16 +00:00