Advertisement
thioshp

Solution to MPD failure to start

Jul 21st, 2013
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. Have you correctly installed and configured your MPD in a Linux distro but whenever you start MPD, it fails?
  2. Here's a possible cause and a solution:
  3. Changing the group that MPD runs as may result in errors like
  4. "output: Failed to open"My ALSA Device"" "[alsa]: Failed to open ALSA device"default": No such file or directory" "player_thread: problems opening audio device while playing "Song Name.mp3""
  5.  
  6. This is because by default MPD runs as member of audio group and the sound devices under/dev/snd/are owned by this group.
  7. The solution is to add user mpd to groupaudio:
  8. # gpasswd -a mpd audio
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement