From mboxrd@z Thu Jan 1 00:00:00 1970 From: iyzsong@member.fsf.org (=?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?=) Subject: bug#31769: mpd / pulse control issue Date: Sun, 10 Jun 2018 10:18:47 +0800 Message-ID: <874libidtk.fsf@member.fsf.org> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59273) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fRpyd-0001Fv-HO for bug-guix@gnu.org; Sat, 09 Jun 2018 22:21:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fRpyY-000139-JA for bug-guix@gnu.org; Sat, 09 Jun 2018 22:21:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:33725) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fRpyY-000133-En for bug-guix@gnu.org; Sat, 09 Jun 2018 22:21:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fRpyY-0000zL-8H for bug-guix@gnu.org; Sat, 09 Jun 2018 22:21:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: (Bradley Haggerty's message of "Sat, 9 Jun 2018 06:58:03 -0500") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Bradley Haggerty Cc: 31769@debbugs.gnu.org Bradley Haggerty 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: 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: .