Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 18th August 2008, 06:31 PM
Drolyk Offline
Registered User
 
Join Date: Mar 2008
Posts: 33
mpd, pulseaudio, no sound

Hi all!

I have a problem with mpd in fedora 9. When I`m tying to listen to music with sonata I have no sound, mpd.error says:

Code:
Aug 17 02:38 : Cannot connect to server in PulseAudio output "MPD PulseAudio output" (attempt 1): Connection refused
Aug 17 02:38 : problems opening audio device while playing "Labels/A_State_Of_Trance_ (Record_Label)-PACK-SCMT/asot003 - Outback-Minds_In_Motion-Promo_Vinyl-2003-TGX/02-outback-minds_in_motion__b1-tgx.mp3"
Here is /etc/mpd.conf :

$ grep -v "^#" /etc/mpd.conf

music_directory "/data/Music"
playlist_directory "/var/lib/mpd/playlists"
db_file "/var/lib/mpd/mpd.db"
log_file "/var/lib/mpd/mpd.log"
error_file "/var/lib/mpd/mpd.error"
state_file "/var/lib/mpd/mpdstate"
user "mpd"
bind_to_address "192.168.1.2"
zeroconf_enabled "yes"
zeroconf_name "Music Player"
audio_output {
type "pulse"
name "MPD PulseAudio output"
}

After looking through http://mpd.wikia.com/wiki/PulseAudio, Im trying to add mpd user to pulseaudio groups:

$ sudo usermod -a -G pulse-access mpd
$ sudo usermod -a -G pulse mpd
$ sudo usermod -a -G pulse-rt mpd

but it doesn`t help.

What I need to do to get sound working?

Thanks
Reply With Quote
  #2  
Old 18th August 2008, 10:23 PM
Drolyk Offline
Registered User
 
Join Date: Mar 2008
Posts: 33
As I found in google best solution to remove pulseaudio. When I do this everything works fine
Reply With Quote
  #3  
Old 21st August 2008, 11:51 PM
matth45 Offline
Registered User
 
Join Date: Jun 2007
Posts: 148
Has anyone found a solution to this? I have the same problem as OP and would rather not remove pa.
Reply With Quote
  #4  
Old 22nd August 2008, 06:57 AM
Drolyk Offline
Registered User
 
Join Date: Mar 2008
Posts: 33
To work properly pulseaudio should be started. Therefore you need to modify init script for mpd, by adding pulseaudio startup. If you try to do something like:

# su -c "pulseaudio -D" mpd

it wouldn`t work because mpd user has /sbin/nologin as shell.

Summary: If you want to use mpd with pulseaudio yuo need to modify mpd`s init script to start pulseaudio daemon

PS: Sorry for my mega English
Reply With Quote
Reply

Tags
mpd, pulseaudio, sound

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PulseAudio- no sound fa7ll7en Using Fedora 7 2nd August 2011 08:03 PM
No sound in Fedora 11 w PulseAudio thomas.hedden Using Fedora 2 14th October 2009 04:33 PM
Pulseaudio or alsa problem. Sound works but no sound output spacie Hardware & Laptops 14 27th June 2009 04:08 PM
Pulseaudio / sound not working burnie Hardware & Laptops 6 25th April 2009 09:28 PM


Current GMT-time: 12:16 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat