Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[mpd+pulseaudio]Cannot connect to PulseAudio server [resolu]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
debimax
n00b
n00b


Joined: 14 Nov 2010
Posts: 16
Location: Grenoble

PostPosted: Sat Apr 02, 2011 7:29 am    Post subject: [mpd+pulseaudio]Cannot connect to PulseAudio server [resolu] Reply with quote

Bonjour

Je n'arrive pas à faire fonctionne mpd+pulseaudio

mpd+alsa fonctionne
audacious fonctionne sur la sortie pulse idem vlc+pulse

J'ai pensé à un problème de droit mais je crois avoir déjà mis le bazarre dans /etc/group :P (a propos comment on fait pour enlever un user à un groupe)?


Code:
# cat   /etc/group |  grep  pulse
audio::18:limax,pulse
plugdev:x:105:limax,pulse
pulse-access:x:101:limax,mpd
pulse:x:999:limax,mpd


# cat   /etc/group |  grep  mpd
pulse-access:x:101:limax,mpd
pulse:x:999:limax,mpd



quand j'emerge
Code:
[ebuild   R   ] media-sound/pulseaudio-0.9.21.1  USE="X alsa asyncns avahi bluetooth caps dbus glib ipv6 libsamplerate tcpd udev -doc -gnome -hal -jack -lirc (-oss) (-system-wide) -test" 0 kB
[ebuild   R   ] media-sound/mpd-0.15.15  USE="aac alsa ao audiofile avahi bzip2 curl ffmpeg fifo flac id3 ipv6 lame lastfmradio libmms libsamplerate mad mikmod musepack network ogg pulseaudio unicode vorbis wavpack zip -cdio -cue -debug -fluidsynth -jack -modplug -oss -pipe -profile -sid -sqlite -wildmidi" 0 kB



# tail /var/log/mpd.log
Code:
Apr 02 06:39 : output: Failed to open "My Pulse Output" [pulse]: Cannot connect to PulseAudio server: Connection refused
Apr 02 06:39 : player_thread: problems opening audio device while playing "Alain Bashung/Bleu Pétrole/05 - Venus.mp3"
Apr 02 06:39 : output: Failed to open "My Pulse Output" [pulse]: Cannot connect to PulseAudio server: Connection refused
Apr 02 06:39 : avahi: Service 'Music Player' successfully established.
Apr 02 06:50 : output: Failed to open "My Pulse Output" [pulse]: Cannot connect to PulseAudio server: Connection refused
Apr 02 06:50 : output: Failed to open "My Pulse Output" [pulse]: Cannot connect to PulseAudio server: Connection refused
Apr 02 06:51 : output: Failed to open "My Pulse Output" [pulse]: Cannot connect to PulseAudio server: Connection refused
Apr 02 06:51 : output: Failed to open "My Pulse Output" [pulse]: Cannot connect to PulseAudio server: Connection refused
Apr 02 06:51 : output: Failed to open "My Pulse Output" [pulse]: Cannot connect to PulseAudio server: Connection refused
Apr 02 06:51 : output: Failed to open "My Pulse Output" [pulse]: Cannot connect to PulseAudio server: Connection refused


# cat /etc/mpd.conf | grep ^[^#]
Code:
music_directory      "/home/jeanclaude/Musique/"
playlist_directory   "/var/lib/mpd/playlists"
db_file         "/var/lib/mpd/database"
log_file      "/var/log/mpd.log"
state_file      "/var/lib/mpd/state"
user         "mpd"
bind_to_address      "localhost"
bind_to_address      "/var/lib/mpd/socket"
port            "6600"
input {
        plugin "curl"
}
audio_output {
   type      "pulse"
   name      "My Pulse Output"
#   server      "remote_server"      # avec ou sans c'est pareil
#   sink      "remote_server_sink"           # avec ou sans c'est pareil
}
filesystem_charset "UTF-8"


Si vous avez une idée je suis preneur surtout que mpd fonctionne , pulse fonctionne mais pas mpd+pulse :?:


Last edited by debimax on Sat Apr 02, 2011 11:19 am; edited 1 time in total
Back to top
View user's profile Send private message
barul
Guru
Guru


Joined: 28 May 2010
Posts: 430

PostPosted: Sat Apr 02, 2011 9:41 am    Post subject: Re: [mpd+pulseaudio] Cannot connect to PulseAudio server Reply with quote

debimax wrote:
(a propos comment on fait pour enlever un user à un groupe)?


man usermod
Back to top
View user's profile Send private message
Poussin
l33t
l33t


Joined: 08 Jun 2007
Posts: 659
Location: Liège

PostPosted: Sat Apr 02, 2011 9:56 am    Post subject: Re: [mpd+pulseaudio] Cannot connect to PulseAudio server Reply with quote

Cr0k wrote:
debimax wrote:
(a propos comment on fait pour enlever un user à un groupe)?


man usermod


Sauf que tu dois redéfinir tous les groupes auquels l'utilisateur appartient (tu n'enlèves pas d'un groupe, tu mets à jour à liste des groupes)

Code:

gpasswd -d user group
Back to top
View user's profile Send private message
debimax
n00b
n00b


Joined: 14 Nov 2010
Posts: 16
Location: Grenoble

PostPosted: Sat Apr 02, 2011 10:59 am    Post subject: Reply with quote

merci pour ces renseignements.

En fait j'ai un peu honte car j'utilise déjà pour ajouter # gpasswd -a username wheel :lol:

Si quelqu'un utilise mpd et pulse peut il me renseigner ses droits ?
cat /etc/group | grep pulse et cat /etc/group | grep mpd

merci
Back to top
View user's profile Send private message
debimax
n00b
n00b


Joined: 14 Nov 2010
Posts: 16
Location: Grenoble

PostPosted: Sat Apr 02, 2011 11:18 am    Post subject: Reply with quote

j'ai pris les versions testing ~86 de mpd et pulse et tout fonctionne depuis.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum