GNU bug report logs - #31769
mpd / pulse control issue

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Bradley Haggerty <bradigger@HIDDEN>; dated Sat, 9 Jun 2018 13:04:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 31769 <at> debbugs.gnu.org:


Received: (at 31769) by debbugs.gnu.org; 11 Jun 2018 03:33:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 10 23:33:57 2018
Received: from localhost ([127.0.0.1]:42705 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fSDae-0000Eh-Rb
	for submit <at> debbugs.gnu.org; Sun, 10 Jun 2018 23:33:57 -0400
Received: from out1-smtp.messagingengine.com ([66.111.4.25]:34055)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <leo@HIDDEN>) id 1fSDac-0000EZ-R6
 for 31769 <at> debbugs.gnu.org; Sun, 10 Jun 2018 23:33:55 -0400
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44])
 by mailout.nyi.internal (Postfix) with ESMTP id 7A38521B68;
 Sun, 10 Jun 2018 23:33:54 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162])
 by compute4.internal (MEProxy); Sun, 10 Jun 2018 23:33:54 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name;
 h=cc:content-type:date:from:in-reply-to:message-id:mime-version
 :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=
 mesmtp; bh=EF/G2SrvUu3/ozXD/Q9v5izBauwprfqBQiVkoMzDJiE=; b=itQq+
 nsIh+ovh9UQYhv+wRt297ugzm4lr1NuOWGLuwIc/3CcJFSdbSqJkSDXdXwv+sCwt
 NHTo8UHYNRO6wLa8/4qS1PCJwOYw5cA90dWL5/D1A6M/8bktN/mm2o/Onr/wKsPX
 VGZzChAtEFDJ0PXwMJRZ2LmibX60+SuHuR/QkQ=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-type:date:from:in-reply-to
 :message-id:mime-version:references:subject:to:x-me-sender
 :x-me-sender:x-sasl-enc; s=fm3; bh=EF/G2SrvUu3/ozXD/Q9v5izBauwpr
 fqBQiVkoMzDJiE=; b=SsJpoWh+342jAtYkTQ/D4TSQCnqeN2i1batpiqM6RMp4N
 19bK0GBeFgh07pQcjlkybiNeZlHc0jAj1wt1uglSz/GNxZe9DXMjuWKRA4c9dZlC
 PS6+bq7Z1/SmtR56++P+KyA8f8zWQJiBG74v6g2XQcx9sthKzMR+SWQQop7M/F7k
 ++QiYwiMADtMeCNsvnkA4SZxisfhWNr2gmQgH9dsFSb+Xb4klv6Kkj1ACgXQTTeR
 R+QKU34lYajbeFbbTGlVoFH4Io9QXqJY9mnc/LzfRHKMJrzl1zVK6b5XhapOumqa
 QIxz+yiuFEtZjmkHFORaJXMtjQlJSb2ag41sX7HrA==
X-ME-Proxy: <xmx:ou0dWwJI7vRz0Zn-xIh5ZXjemnO4dHhnP8TYzMN3ZzPVtt6cL8QX7A>
X-ME-Proxy: <xmx:ou0dW2LsAFWrerEra_KqeR-JhL9IVKUmb0q1BLHJajOHirKKVkO6jQ>
X-ME-Proxy: <xmx:ou0dW7ga3X81L2I8K4LWXhtmEAbT2xx-U9Vsfip8z2jHjoXyiCMyNQ>
X-ME-Proxy: <xmx:ou0dWwPBNwumoMTk3JiUrbWPzGGNLvTS1C_smorWMxL_gWu7L7k-nQ>
X-ME-Proxy: <xmx:ou0dW2qiZPDtfTpU7jDZlERsHLtx8YnolyCIPLyL-fb0Ao8hdPotHQ>
X-ME-Proxy: <xmx:ou0dW44B8cL5auNbYlhZYDCXwFWuLqJVz8dFy1Xzl84VgExeRhmzCg>
X-ME-Sender: <xms:ou0dW687VGjsCAqBH5XiuVVPUUllXnrVg-_xIe_z8UyA-lN15ZO0hA>
Received: from localhost (unknown [172.58.225.176])
 by mail.messagingengine.com (Postfix) with ESMTPA id 24FCAE465D;
 Sun, 10 Jun 2018 23:33:54 -0400 (EDT)
Date: Sun, 10 Jun 2018 23:33:53 -0400
From: Leo Famulari <leo@HIDDEN>
To: Bradley Haggerty <bradigger@HIDDEN>
Subject: Re: bug#31769: mpd / pulse control issue
Message-ID: <20180611033353.GA24092@HIDDEN>
References: <CABGw91f0rxauVJNqcGQxrU1ua2c=Lrvb-zmLoKG6_XyP0GENfQ@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature"; boundary="Kj7319i9nmIyA2yE"
Content-Disposition: inline
In-Reply-To: <CABGw91f0rxauVJNqcGQxrU1ua2c=Lrvb-zmLoKG6_XyP0GENfQ@HIDDEN>
User-Agent: Mutt/1.10.0 (2018-05-17)
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 31769
Cc: 31769 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)


--Kj7319i9nmIyA2yE
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Jun 09, 2018 at 06:58:03AM -0500, Bradley Haggerty wrote:
> When I start my computer, mpd can play my music fine, but pavucontrol can=
't
> connect to pulse and show my volume controls. If I kill pulse and open
> pavucontrol, all my volume controls are visible, but then mpd can't play
> music.

As =E5=AE=8B=E6=96=87=E6=AD=A6 and Julien said, this should be fixed in our=
 service but it might be
tricky to do without being able to listen to music ;)

In the meantime, If it suits your needs, you can run MPD with your
unprivileged user instead of at the system level.

Below is a file I use to start MPD as my own user on GuixSD, and it
seems to do the right thing regarding PulseAudio, although I use
pulsemixer instead of pavucontrol.

I originally copied the file from Dave Thompson... any mistakes are my
own :)

By the way, the file should be named '~/.config/shepherd/init.scm'.

------
;; To use this automatically, add something like the following line to
;; whatever gets sourced for a login shell:
;;
;; [[ -z $(pgrep -U $(id --user) shepherd) ]] && shepherd & > /dev/null
;;
;; Or, just invoke `shepherd`.

(use-modules (ice-9 match)
             (srfi srfi-1)
             (system repl server))

(define (touch-file file)
  (close-port (open-file file "a0b")))

(register-services

  (make <service>
    #:provides '(mpd)
    #:requires '()=20
    #:start (lambda args
              (define (mpd-dir file)
                (string-append (getenv "HOME") "/.mpd/" file))
              (unless (file-exists? (mpd-dir "playlists"))
                (mkdir (mpd-dir "playlists")))
              (touch-file (mpd-dir "database"))
              (fork+exec-command
               (list "mpd" "--no-daemon")))
    #:stop (make-kill-destructor)))

(action 'shepherd 'daemonize)

(for-each start '(mpd))
------

--Kj7319i9nmIyA2yE
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlsd7Z0ACgkQJkb6MLrK
fwgiww//UbM7j8nUBpvM5Qi/HHuypvoWQRe1krpca9bDYReoH1lRn3BIMkFY6m6K
g9n9c8cuGK3zx5hDj5enpbxw89DgOXrcPSeTy29c+Nrb7FGaEwH6UgXBhcTwf55W
pjg4as4sGbckL8oom1dEBAjh0WRWXvSDcWFztaKFFTz9N5gshKFCuwAUUHGvfKx6
LINIdByFGwpVzDeudukiBtdfGx3BzuglHYL65lVKGPppDPjFSJ18C1fPTkMsuzFu
uvvqFglsD8f1xCyprYlf76olwXp33odnLito9qDTAULQm9A5gSKfA3hrTMSCXrbj
iHbYtEe2MR/DGf1jppDMufVD1qoAYD2yYuoikj/GYInslIDZbPhQbLFaDCIsiXII
6ilkwtleXJyX/x6l3PbuGJA/TedDMdbonjP5Z4tqr+3ley1+xfLlE3upjQSebajD
xFxWN+uVHfWSS1GlLYUDMu8j5rIlBUpOcYwSQNUZpcWfpjpcLFIUbNR7lnXsv7BL
/4TBhh3RvJQIKv6rj3tAH2RRiaY5wkGJATKQkLv+Z3B4GaFQ1Tqe4XXsBgqabkjo
L3ioowWaTG955wuKTtD16fLaYd02i5OByVscwSPMYf9+Z6W2lDTY7U69ZQFiH2MV
LiU6Ra2yBKY3PnI3I59Ww1m5iI5N6/IvzTDLTNkpRvGaC+Fe3Ac=
=NvI2
-----END PGP SIGNATURE-----

--Kj7319i9nmIyA2yE--




Information forwarded to bug-guix@HIDDEN:
bug#31769; Package guix. Full text available.

Message received at 31769 <at> debbugs.gnu.org:


Received: (at 31769) by debbugs.gnu.org; 10 Jun 2018 08:15:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 10 04:15:47 2018
Received: from localhost ([127.0.0.1]:41742 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fRvVq-0001F0-P6
	for submit <at> debbugs.gnu.org; Sun, 10 Jun 2018 04:15:47 -0400
Received: from lepiller.eu ([89.234.186.109]:40430)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <julien@HIDDEN>) id 1fRvVp-0001Es-5o
 for 31769 <at> debbugs.gnu.org; Sun, 10 Jun 2018 04:15:45 -0400
Received: from [100.123.114.90] (chomsky.torservers.net [77.247.181.162])
 by lepiller.eu (OpenSMTPD) with ESMTPSA id 7d53c35b
 (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256:NO)
 for <31769 <at> debbugs.gnu.org>; Sun, 10 Jun 2018 08:18:10 +0000 (UTC)
Date: Sun, 10 Jun 2018 10:15:35 +0200
User-Agent: K-9 Mail for Android
In-Reply-To: <874libidtk.fsf@HIDDEN>
References: <CABGw91f0rxauVJNqcGQxrU1ua2c=Lrvb-zmLoKG6_XyP0GENfQ@HIDDEN>
 <874libidtk.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/alternative;
 boundary="----D0WJWT7S5CBVZVU5DLN7KKEMO1RM5V"
Content-Transfer-Encoding: 7bit
Subject: Re: bug#31769: mpd / pulse control issue
From: Julien Lepiller <julien@HIDDEN>
Message-ID: <1AF31671-633B-45D0-B405-82610F3ADF79@HIDDEN>
X-Spam-Score: 1.2 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  I think the best solution is to implement this in our herd
    service. It doesn't look too difficult to do the part in the mpd configuration,
    but pulseaudio might be trickier to configure... Le 10 juin 2018 04:18:47
    GMT+02:00, iyzsong@HIDDEN a écrit : >Bradley Haggerty <bradigger@HIDDEN>
    writes: > >> I have mpd enabled as a herd service. When I start my computer,
    mpd >can play my music fine, but pavucontrol can't connect to pulse and show
    >my volume controls. If I >> kill pulse and open pavucontrol, all my volume
    controls are visible, >but then mpd can't play music. If I kill pulse again
    and this time play >a song in mpd, mpd works again, >> but pavucontrol can't
    connect. Basically, if mpd starts pulse, mpd >works, but other things can't
    connect, and if pavucontrol starts pulse, >mpd can't connect to pulse. Since
    >> I have mpd enabled as a service, it's the one to start pulse on a >fresh
    boot. I also tried starting pulse as my user by killing it and >opening pavucontrol,
    then restarting the >> mpd service in case it could find my pulse service
    this way. No >success there. While mpd has control of pulse, other applications
    also >lack sounds, such as mpv (video >> players) and icecat. > >According
    to the wiki of ArchLinux, users of PulseAudio with a >system-wide MPD configuration
    have to implement a workaground: > ><https://wiki.archlinux.org/index.php/Music_Player_Daemon/Tips_and_tricks#Local_.28with_separate_mpd_user.29>
    > >It suggests letting mpd use pulseaudio's tcp module to send sound to >localhost,
    where user's pulseaudio server listening. > >This seems too tricky for me,
    I'll suggest you forget the system herd >service, and launch mpd as a normal
    user: ><https://wiki.archlinux.org/index.php/Music_Player_Daemon#Per-user_configuration>.
    [...] 
 
 Content analysis details:   (1.2 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
  1.2 MISSING_HEADERS        Missing To: header
  0.0 HTML_MESSAGE           BODY: HTML included in message
X-Debbugs-Envelope-To: 31769
Cc: 31769 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.2 (/)

------D0WJWT7S5CBVZVU5DLN7KKEMO1RM5V
Content-Type: text/plain;
 charset=utf-8
Content-Transfer-Encoding: quoted-printable

I think the best solution is to implement this in our herd service=2E It do=
esn't look too difficult to do the part in the mpd configuration, but pulse=
audio might be trickier to configure=2E=2E=2E

Le 10 juin 2018 04:18:47 GMT+02:00, iyzsong@member=2Efsf=2Eorg a =C3=A9cri=
t :
>Bradley Haggerty <bradigger@gmail=2Ecom> writes:
>
>> I have mpd enabled as a herd service=2E When I start my computer, mpd
>can play my music fine, but pavucontrol can't connect to pulse and show
>my volume controls=2E If I
>> kill pulse and open pavucontrol, all my volume controls are visible,
>but then mpd can't play music=2E If I kill pulse again and this time play
>a song in mpd, mpd works again,
>> but pavucontrol can't connect=2E Basically, if mpd starts pulse, mpd
>works, but other things can't connect, and if pavucontrol starts pulse,
>mpd can't connect to pulse=2E Since
>> I have mpd enabled as a service, it's the one to start pulse on a
>fresh boot=2E I also tried starting pulse as my user by killing it and
>opening pavucontrol, then restarting the
>> mpd service in case it could find my pulse service this way=2E No
>success there=2E While mpd has control of pulse, other applications also
>lack sounds, such as mpv (video
>> players) and icecat=2E
>
>According to the wiki of ArchLinux, users of PulseAudio with a
>system-wide MPD configuration have to implement a workaground:
>
><https://wiki=2Earchlinux=2Eorg/index=2Ephp/Music_Player_Daemon/Tips_and_=
tricks#Local_=2E28with_separate_mpd_user=2E29>
>
>It suggests letting mpd use pulseaudio's tcp module to send sound to
>localhost, where user's pulseaudio server listening=2E
>
>This seems too tricky for me, I'll suggest you forget the system herd
>service, and launch mpd as a normal user:
><https://wiki=2Earchlinux=2Eorg/index=2Ephp/Music_Player_Daemon#Per-user_=
configuration>=2E

------D0WJWT7S5CBVZVU5DLN7KKEMO1RM5V
Content-Type: text/html;
 charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><head></head><body>I think the best solution is to implement this in =
our herd service=2E It doesn&#39;t look too difficult to do the part in the=
 mpd configuration, but pulseaudio might be trickier to configure=2E=2E=2E<=
br><br><div class=3D"gmail_quote">Le 10 juin 2018 04:18:47 GMT+02:00, iyzso=
ng@member=2Efsf=2Eorg a =C3=A9crit :<blockquote class=3D"gmail_quote" style=
=3D"margin: 0pt 0pt 0pt 0=2E8ex; border-left: 1px solid rgb(204, 204, 204);=
 padding-left: 1ex;">
<pre class=3D"k9mail">Bradley Haggerty &lt;bradigger@gmail=2Ecom&gt; write=
s:<br><br><blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 1ex 0=
=2E8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> I have mpd ena=
bled as a herd service=2E When I start my computer, mpd can play my music f=
ine, but pavucontrol can't connect to pulse and show my volume controls=2E =
If I<br> kill pulse and open pavucontrol, all my volume controls are visibl=
e, but then mpd can't play music=2E If I kill pulse again and this time pla=
y a song in mpd, mpd works again,<br> but pavucontrol can't connect=2E Basi=
cally, if mpd starts pulse, mpd works, but other things can't connect, and =
if pavucontrol starts pulse, mpd can't connect to pulse=2E Since<br> I have=
 mpd enabled as a service, it's the one to start pulse on a fresh boot=2E I=
 also tried starting pulse as my user by killing it and opening pavucontrol=
, then restarting the<br> mpd service in case it could find my pulse servic=
e this way=2E No success there=2E While mpd has control of pulse, other app=
lications also lack sounds, such as mpv (video<br> players) and icecat=2E<b=
r></blockquote><br>According to the wiki of ArchLinux, users of PulseAudio =
with a<br>system-wide MPD configuration have to implement a workaground:<br=
><br>&lt;https://wiki=2Earchlinux=2Eorg/index=2Ephp/Music_Player_Daemon/Tip=
s_and_tricks#Local_=2E28with_separate_mpd_user=2E29&gt;<br><br>It suggests =
letting mpd use pulseaudio's tcp module to send sound to<br>localhost, wher=
e user's pulseaudio server listening=2E<br><br>This seems too tricky for me=
, I'll suggest you forget the system herd<br>service, and launch mpd as a n=
ormal user:<br>&lt;https://wiki=2Earchlinux=2Eorg/index=2Ephp/Music_Player_=
Daemon#Per-user_configuration&gt;=2E<br></pre></blockquote></div></body></h=
tml>
------D0WJWT7S5CBVZVU5DLN7KKEMO1RM5V--




Information forwarded to bug-guix@HIDDEN:
bug#31769; Package guix. Full text available.

Message received at 31769 <at> debbugs.gnu.org:


Received: (at 31769) by debbugs.gnu.org; 10 Jun 2018 02:20:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 09 22:20:09 2018
Received: from localhost ([127.0.0.1]:41622 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fRpxf-0000xo-UN
	for submit <at> debbugs.gnu.org; Sat, 09 Jun 2018 22:20:09 -0400
Received: from rezeros.cc ([45.76.207.221]:33944)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <iyzsong@HIDDEN>) id 1fRpxe-0000xf-Cq
 for 31769 <at> debbugs.gnu.org; Sat, 09 Jun 2018 22:20:07 -0400
Received: from localhost (223.87.207.28 [223.87.207.28])
 by rezeros.cc (OpenSMTPD) with ESMTPSA id 12b18c7f
 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); 
 Sun, 10 Jun 2018 02:20:02 +0000 (UTC)
Received: from gift (localhost [127.0.0.1])
 by localhost (OpenSMTPD) with ESMTP id 2a4aa9a4;
 Sun, 10 Jun 2018 02:18:47 +0000 (UTC)
From: iyzsong@HIDDEN (=?utf-8?B?5a6L5paH5q2m?=)
To: Bradley Haggerty <bradigger@HIDDEN>
Subject: Re: bug#31769: mpd / pulse control issue
References: <CABGw91f0rxauVJNqcGQxrU1ua2c=Lrvb-zmLoKG6_XyP0GENfQ@HIDDEN>
Date: Sun, 10 Jun 2018 10:18:47 +0800
In-Reply-To: <CABGw91f0rxauVJNqcGQxrU1ua2c=Lrvb-zmLoKG6_XyP0GENfQ@HIDDEN>
 (Bradley Haggerty's message of "Sat, 9 Jun 2018 06:58:03 -0500")
Message-ID: <874libidtk.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 1.1 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview: Bradley Haggerty <bradigger@HIDDEN> writes: > I have mpd
 enabled as a herd service. When I start my computer, mpd can play my music
 fine, but pavucontrol can't connect to pulse and show my volume controls.
 If I > kill pulse and open pavucontrol, all my volume controls are visible,
 but then mpd can't play music. If I kill pulse again and this time play a
 song in mpd, mpd works again, > but pavucontrol can't connect. Basically,
 if mpd starts pulse, mpd works, but other things can't connect,
 and if pavucontrol
 starts pulse, mpd can't connect to pulse. Since > I have mpd enabled as a
 service, it's the one to start pulse on a fresh boot. I also tried starting
 pulse as my user by killing it and opening pavucontrol, then restarting the
 > mpd service in case it could find my pulse service this way. No success
 there. While mpd has control of pulse, other applications also lack sounds,
 such as mpv (video > players) and icecat. [...] 
 Content analysis details:   (1.1 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 1.0 SPF_SOFTFAIL           SPF: sender does not match SPF record (softfail)
 0.1 FROM_EXCESS_BASE64     From: base64 encoded unnecessarily
X-Debbugs-Envelope-To: 31769
Cc: 31769 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.1 (/)

Bradley Haggerty <bradigger@HIDDEN> writes:

> I have mpd enabled as a herd service. When I start my computer, mpd can play my music fine, but pavucontrol can't connect to pulse and show my volume controls. If I
> kill pulse and open pavucontrol, all my volume controls are visible, but then mpd can't play music. If I kill pulse again and this time play a song in mpd, mpd works again,
> but pavucontrol can't connect. Basically, if mpd starts pulse, mpd works, but other things can't connect, and if pavucontrol starts pulse, mpd can't connect to pulse. Since
> I have mpd enabled as a service, it's the one to start pulse on a fresh boot. I also tried starting pulse as my user by killing it and opening pavucontrol, then restarting the
> mpd service in case it could find my pulse service this way. No success there. While mpd has control of pulse, other applications also lack sounds, such as mpv (video
> players) and icecat.

According to the wiki of ArchLinux, users of PulseAudio with a
system-wide MPD configuration have to implement a workaground:

<https://wiki.archlinux.org/index.php/Music_Player_Daemon/Tips_and_tricks#Local_.28with_separate_mpd_user.29>

It suggests letting mpd use pulseaudio's tcp module to send sound to
localhost, where user's pulseaudio server listening.

This seems too tricky for me, I'll suggest you forget the system herd
service, and launch mpd as a normal user:
<https://wiki.archlinux.org/index.php/Music_Player_Daemon#Per-user_configuration>.




Information forwarded to bug-guix@HIDDEN:
bug#31769; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 9 Jun 2018 13:03:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 09 09:03:08 2018
Received: from localhost ([127.0.0.1]:40444 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fRdWO-00044r-8w
	for submit <at> debbugs.gnu.org; Sat, 09 Jun 2018 09:03:08 -0400
Received: from eggs.gnu.org ([208.118.235.92]:50675)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bradigger@HIDDEN>) id 1fRcVa-0002VB-BY
 for submit <at> debbugs.gnu.org; Sat, 09 Jun 2018 07:58:14 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <bradigger@HIDDEN>) id 1fRcVU-0008N8-6B
 for submit <at> debbugs.gnu.org; Sat, 09 Jun 2018 07:58:09 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:60299)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <bradigger@HIDDEN>) id 1fRcVU-0008Mz-2t
 for submit <at> debbugs.gnu.org; Sat, 09 Jun 2018 07:58:08 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:41643)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <bradigger@HIDDEN>) id 1fRcVS-0001Yf-RY
 for bug-guix@HIDDEN; Sat, 09 Jun 2018 07:58:07 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <bradigger@HIDDEN>) id 1fRcVS-0008ML-5J
 for bug-guix@HIDDEN; Sat, 09 Jun 2018 07:58:06 -0400
Received: from mail-oi0-x231.google.com ([2607:f8b0:4003:c06::231]:46078)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <bradigger@HIDDEN>) id 1fRcVR-0008MB-Vp
 for bug-guix@HIDDEN; Sat, 09 Jun 2018 07:58:06 -0400
Received: by mail-oi0-x231.google.com with SMTP id 188-v6so729814oid.12
 for <bug-guix@HIDDEN>; Sat, 09 Jun 2018 04:58:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:from:date:message-id:subject:to;
 bh=djGSDy1irFf2coUQ7wZzYCPIcX/pdj3xUdFhDGi69PY=;
 b=WfRuRd0LA39YoB16DTXYAVAHVJ12rTVAbGYRBoC+K9L5q5Qh2F2dO7V7x8jZmQEPcB
 jAMb8qHzs0+BX2ZtBOFAP3rvsGGe8/LQGlqa9kvGDRDlwgVRL5+whC4aPNzucdj2VXrC
 jKM3LiphdBhR3DapyOaT4QIPa0f+NTU/q6nNyHVmsGsJ8ZvsA1jMz9QyzbumO1Q+8X17
 bVKWeGr3jjlsp3V4cKug50O0zugQaPP/KOiz/RczMDe7DdDst65MeYOQQ6wqOwazSojh
 3eGaXJbdBVsXV48efAWG0AmzLq9bb3d8RSjF/3JgIDZiInCXOIrKvffEeVmRaBUDszIc
 1GQg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=djGSDy1irFf2coUQ7wZzYCPIcX/pdj3xUdFhDGi69PY=;
 b=KDZT1KnJJYnEt4tOq9t1b7KTvVwJiEL0L2pzs33eX0fTLOMV+LGuhEdKvXRur5Mtp+
 IGbQIK8VHj7jhBLjZojQo6iTi3etuN1c816Pu012Glnw6+gFOHJ1WQG5L8Qvo0HmJEIc
 sA2d5LOGe/1DLxtqCVQQLCFmJdNi9fx5U/kN7hkzqjXfiankODxKVRF12YddAaUw+5xA
 epSBxIAykIP5TL9/HKBJ32uEgp/0GzP1gaDgpPCGeWgzjK7OdtAP4ZPQ43S/Mg111mWp
 Uyu9g0fwVzizYEBk4qCJRqDQdbV/frR3BWqxpHuFZjjJkJ64LQIHC/tmMvRSdN3Mo/id
 gJ7Q==
X-Gm-Message-State: APt69E2AOF1belzhHs7rGifhNmMows56DBgay5nNF5FFLVIGE3bpO3uw
 yxre50+v2NJUJXLsbahoS2GUocIPrWbGGIUqj44=
X-Google-Smtp-Source: ADUXVKLeROhLKWSfxidDye5fYkWg5IYZ7689vOVUAqQyi3Ufa3BbRupYGzJL6iOVT32mP9liTBRX9o9+PxUfNZpQ5dc=
X-Received: by 2002:aca:ba46:: with SMTP id
 k67-v6mr4583261oif.106.1528545484562; 
 Sat, 09 Jun 2018 04:58:04 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:a9d:74d8:0:0:0:0:0 with HTTP;
 Sat, 9 Jun 2018 04:58:03 -0700 (PDT)
From: Bradley Haggerty <bradigger@HIDDEN>
Date: Sat, 9 Jun 2018 06:58:03 -0500
Message-ID: <CABGw91f0rxauVJNqcGQxrU1ua2c=Lrvb-zmLoKG6_XyP0GENfQ@HIDDEN>
Subject: mpd / pulse control issue
To: bug-guix@HIDDEN
Content-Type: multipart/alternative; boundary="000000000000a16743056e343a73"
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Sat, 09 Jun 2018 09:03:05 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

--000000000000a16743056e343a73
Content-Type: text/plain; charset="UTF-8"

I have mpd enabled as a herd service. When I start my computer, mpd can
play my music fine, but pavucontrol can't connect to pulse and show my
volume controls. If I kill pulse and open pavucontrol, all my volume
controls are visible, but then mpd can't play music. If I kill pulse again
and this time play a song in mpd, mpd works again, but pavucontrol can't
connect. Basically, if mpd starts pulse, mpd works, but other things can't
connect, and if pavucontrol starts pulse, mpd can't connect to pulse. Since
I have mpd enabled as a service, it's the one to start pulse on a fresh
boot. I also tried starting pulse as my user by killing it and opening
pavucontrol, then restarting the mpd service in case it could find my pulse
service this way. No success there. While mpd has control of pulse, other
applications also lack sounds, such as mpv (video players) and icecat.

mpd version: 0.20.20
OS: GuixSD c300cae68233ec7cbf50c40bdea7c191eed21e54 x86_64

--000000000000a16743056e343a73
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div>I have mpd enabled as a herd service. When I sta=
rt my computer, mpd can play my music fine, but pavucontrol can&#39;t conne=
ct to pulse and show my volume controls. If I kill pulse and open pavucontr=
ol, all my volume controls are visible, but then mpd can&#39;t play music. =
If I kill pulse again and this time play a song in mpd, mpd works again, bu=
t pavucontrol can&#39;t connect. Basically, if mpd starts pulse, mpd works,=
 but other things can&#39;t connect, and if pavucontrol starts pulse, mpd c=
an&#39;t connect to pulse. Since I have mpd enabled as a service, it&#39;s =
the one to start pulse on a fresh boot. I also tried starting pulse as my u=
ser by killing it and opening pavucontrol, then restarting the mpd service =
in case it could find my pulse service this way. No success there. While mp=
d has control of pulse, other applications also lack sounds, such as mpv (v=
ideo players) and icecat.<br></div><br>mpd version: 0.20.20<br></div>OS: Gu=
ixSD c300cae68233ec7cbf50c40bdea7c191eed21e54 x86_64<br><div><div><br></div=
></div></div>

--000000000000a16743056e343a73--




Acknowledgement sent to Bradley Haggerty <bradigger@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#31769; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.