From owner-freebsd-questions@freebsd.org Tue Jul 13 13:53:54 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7085865E104 for ; Tue, 13 Jul 2021 13:53:54 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GPMYY4hSCz4vVP for ; Tue, 13 Jul 2021 13:53:53 +0000 (UTC) (envelope-from tomek@cedro.info) Received: by mail-wr1-x42d.google.com with SMTP id k4so24269111wrc.8 for ; Tue, 13 Jul 2021 06:53:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/2JZ8Ce1QxgGePdaoABlEAdZi58BFJZ1j840Xwoj+IM=; b=JUpS/wpLlFX+9Hb8r+tnwgxB+z5GNqFWhMiolvlDgeSu/PXw4Ri/99CuXlYfhDaipa NcIguNO5KJM9kiAnRL4/DFXoius8UqZCEsT0WG2RfbZpr063rhm7GZe0KwkiDHIJ7AfE nQK4/NHc92Cs+mBITllDAdUrAmK1MksTmL2xOmJLsvdSn8V1gzdrfAfaQ3gyqSnaDdkF WdGI2HJW00bF0+GOy2IMgyhIOVn9HI8Fs0bR4Ha9vXmpiqHHQkEgEV3ZfREKEHHlvQzT tBt9xc3He/0o27546o2UqV6PdzAHwYeERdtqG44kwCrKOn/cdb21qO6sdi1elGDXWWtk eBkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/2JZ8Ce1QxgGePdaoABlEAdZi58BFJZ1j840Xwoj+IM=; b=GOeyLeyij8lCmrQsPLyldy1ylJQPuo3kAXVoyeaJOlz5qXWtYnBPK1isEazGK5MaP3 do0756VN8XT6aYYFkPIcRJqYO/0SUmUbEHj9OHVDCFENARhNI0/nV7KIBw94OuDUKO+w NDNcW6IbmSZUjAlqbUrAS6gtwtMNdRvBIkpEmkG/bEHsaqINq9VyVrF1Y/7e53vnQ61W sDvJewVI3UR6luGZIAiJ+GWcXanjS+GeXI2u9Y5JMeWv2lEh/SCYETyIwnkbjAG3QW+V jKOPTb8RDOwivkIuzzVKY+42DdYBUNPHBNy8JlJGi6snjXM/rR28oBzGEGqMUbH4h/XB cyHg== X-Gm-Message-State: AOAM531om1sOvsxRgG6/vecMuZlOcQ/fl1S1p6cdEoLZ4u9r844/LW64 Sz16Jddv5vIOuPnXCxdU0kZ8nTUwiMRll3c0cVnqYw== X-Google-Smtp-Source: ABdhPJyUkJ5zft81Y7G4ItPyK555Xyx9e22u4I3p9w2Sa3TXoYKCz6q5oPwJ+vdtsG5KeYt7NA4hyTxMNMW5lfJpn64= X-Received: by 2002:a05:6000:156c:: with SMTP id 12mr777544wrz.400.1626184432386; Tue, 13 Jul 2021 06:53:52 -0700 (PDT) MIME-Version: 1.0 References: <5b18f5de-7aae-a226-88cd-a210507d5c5@gmail.com> <72194e9f-261c-c3da-996-f8e1bcad2164@gmail.com> In-Reply-To: <72194e9f-261c-c3da-996-f8e1bcad2164@gmail.com> From: Tomasz CEDRO Date: Tue, 13 Jul 2021 15:53:30 +0200 Message-ID: Subject: Re: What the hell starts pulseaudio?! To: Roderick Cc: FreeBSD Questions Mailing List Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4GPMYY4hSCz4vVP X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cedro.info header.s=google header.b=JUpS/wpL; dmarc=none; spf=none (mx1.freebsd.org: domain of tomek@cedro.info has no SPF policy when checking 2a00:1450:4864:20::42d) smtp.mailfrom=tomek@cedro.info X-Spamd-Result: default: False [-3.23 / 15.00]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[cedro.info:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.93)[-0.929]; SUBJECT_ENDS_EXCLAIM(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::42d:from]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; SUBJECT_HAS_QUESTION(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; R_DKIM_ALLOW(-0.20)[cedro.info:s=google]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.999]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[cedro.info]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::42d:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::42d:from]; R_SPF_NA(0.00)[no SPF record]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jul 2021 13:53:54 -0000 On Tue, Jul 13, 2021 at 1:42 PM Roderick wrote: > On Tue, 13 Jul 2021, Tomasz CEDRO wrote: > > What Window Manager do you use? Maybe this guy.. or its audio mixer? :-) > It is written in my original mail. Sorry, TWM does not start it, its the Firefox, or any other application linked against libpulse* will spawn local user service with stream/dgram socket communication (not TCP!) :-) sockstat | grep pulse XXX pulseaudio 99706 5 stream /home/XXX/.xdg/pulse/native XXX pulseaudio 99706 8 stream -> /tmp/dbus-URrI0C27hY XXX pulseaudio 99706 9 stream /home/XXX/.xdg/pulse/native XXX pulseaudio 99706 11 dgram -> /var/run/log XXX pulseaudio 99706 41 stream -> /var/run/dbus/system_bus_socket XXX enlightenm 98712 73 stream -> /home/XXX/.xdg/pulse/native At first I though htop and ps auxd could show process tree with parent, but in my case there was no parent, what seems reasonable because it should work even after its spawning process terminates. Then I found this. Looks like exactly your question and the answer: https://unix.stackexchange.com/questions/204522/how-does-pulseaudio-start Personally I like PulseAudio. It gives you lots of felxibility and control over audio per application on the fly. If you do not like it you may want to try remove / lock the package and/or put a link to /use/bin/true in place of the binary? -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info