X-Git-Url: https://code.delx.au/pulseaudio/blobdiff_plain/c4bdc2fbbbd7bb03d71255052b77bad7b5a70fa8..997e369691496be4ecfe38e3516f7e007ed69a7b:/man/pulseaudio.1.xml.in diff --git a/man/pulseaudio.1.xml.in b/man/pulseaudio.1.xml.in index df828242..7a973795 100644 --- a/man/pulseaudio.1.xml.in +++ b/man/pulseaudio.1.xml.in @@ -72,7 +72,7 @@ USA. @@ -110,7 +110,9 @@ USA.

--check

Return 0 as return code when the PulseAudio daemon - is already running for the calling user.

+ is already running for the calling user, or non-zero + otherwise. Produces no output on the console except for errors + to stderr.

@@ -179,17 +181,16 @@ USA. + + + + + + @@ -311,22 +336,22 @@ USA.
-

~/.pulse/daemon.conf, - @pulseconfdir@/daemon.conf: configuration settings +

~/.config/pulse/daemon.conf, + @PA_DEFAULT_CONFIG_DIR@/daemon.conf: configuration settings for the PulseAudio daemon. If the version in the user's home directory does not exist the global configuration file is loaded. See for more information.

-

~/.pulse/default.pa, - @pulseconfdir@/default.pa: the default configuration +

~/.config/pulse/default.pa, + @PA_DEFAULT_CONFIG_DIR@/default.pa: the default configuration script to execute when the PulseAudio daemon is started. If the version in the user's home directory does not exist the global configuration script is loaded. See for more information.

-

~/.pulse/client.conf, - @pulseconfdir@/client.conf: configuration settings +

~/.config/pulse/client.conf, + @PA_DEFAULT_CONFIG_DIR@/client.conf: configuration settings for PulseAudio client applications. If the version in the user's home directory does not exist the global configuration file is loaded. See for @@ -367,7 +392,7 @@ USA.

User pulse, group pulse: if PulseAudio is running as a system daemon (see --system above) and is started as root the - daemon will drop priviliges and become a normal user process using + daemon will drop privileges and become a normal user process using this user and group. If PulseAudio is running as a user daemon this user and group has no meaning.

@@ -381,7 +406,7 @@ USA. when it needs it to refill the hardware playback buffers. Unfortunately this is a security risk on most systems, since PulseAudio runs as user process, and giving realtime - scheduling priviliges to a user process always comes with the risk + scheduling privileges to a user process always comes with the risk that the user misuses it to lock up the system -- which is possible since making a process real-time effectively disables preemption.

@@ -391,7 +416,7 @@ USA. on trusted systems. To do that start PulseAudio with --realtime (see above) or enabled the appropriate option in daemon.conf. Since acquiring realtime scheduling is a - priviliged operation on most systems, some special changes to the + privileged operation on most systems, some special changes to the system configuration need to be made to allow them to the calling user. Two options are available:

@@ -402,12 +427,12 @@ USA. /etc/security/limits.conf, a resource limit of 9 is recommended.

Alternatively, the SUID root bit can be set for the PulseAudio - binary. Then, the daemon will drop root priviliges immediately on + binary. Then, the daemon will drop root privileges immediately on startup, however retain the CAP_NICE capability (on systems that support it), but only if the calling user is a member of the pulse-rt group (see above). For all other users all - capababilities are dropped immediately. The advantage of this - solution is that the real-time priviliges are only granted to the + capabilities are dropped immediately. The advantage of this + solution is that the real-time privileges are only granted to the PulseAudio daemon -- not to all the user's processes.

Alternatively, if the risk of locking up the machine is @@ -415,7 +440,7 @@ USA. scheduling can be enabled instead (i.e. negative nice level). This can be enabled by passing --high-priority (see above) when starting PulseAudio and may also be enabled with the - approriate option in daemon.conf. Negative nice + appropriate option in daemon.conf. Negative nice levels can only be enabled when the appropriate resource limit RLIMIT_NICE is set (see for more information), possibly configured in @@ -425,10 +450,16 @@ USA.

-

The PulseAudio client libraries check for the existance of the +

The PulseAudio client libraries check for the existence of the following environment variables and change their local configuration accordingly:

-

$PULSE_SERVER: the server string specifying the server to connect to when a client asks for a sound server connection and doesn't explicitly ask for a specific server.

+

$PULSE_SERVER: the server string specifying the server + to connect to when a client asks for a sound server connection and doesn't + explicitly ask for a specific server. The server string is a list of + server addresses separated by whitespace which are tried in turn. A server + address consists of an optional address type specifier (unix:, tcp:, tcp4:, + tcp6:), followed by a path or host address. A host address may include an + optional port number.

$PULSE_SINK: the symbolic name of the sink to connect to when a client creates a playback stream and doesn't explicitly ask for a specific sink.

@@ -438,6 +469,9 @@ USA.

$PULSE_CLIENTCONFIG: path of file that shall be read instead of client.conf (see above) for client configuration.

+

$PULSE_COOKIE: path of file that contains the PulseAudio + authentication cookie. Defaults to ~/.config/pulse/cookie.

+

These environment settings take precedence -- if set -- over the configuration settings from client.conf (see above).