You are not logged in.
Pages: 1
After spending 2 hours trying to configure mpd, I'm livid.
I've gotten various errors and tried various "solutions" found online to no avail (and i even lost my sudo root priviledges for a while). I've configured mpd according to the arch wiki guide and things just aren't working.
when I try and launch mpd via
$ mpd /etc/mpd.conf
I get
daemon: cannot setgid for user "mpd": Operation not permitted
Aborted
Here's how I have my /etc/mpd.conf set up
# My parameters
music_directory "/home/jazen/my Music/Music"
playlist_directory "/var/lib/mpd/playlists"
db_file "/var/lib/mpd/mpd.db"
log_file "/var/log/mpd/mpd.0.log"
pid_file "/var/run/mpd/mpd.pid"
state_file "/var/lib/mpd/mpdstate"
user "mpd"
Last edited by jazen (2010-09-17 09:12:02)
Offline
I've never looked at that wiki page and have ran MPD just fine by only changing the path to my music directory. Might be worth a try?
ᶘ ᵒᴥᵒᶅ
Offline
Also, mpd is not the only option to play music. Look into other players if mpd is giving you the hissy fit
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
I wanted to get mpd working since I wanted a challenge, but I guess I'll just give it up (usually hate leaving things incomplete) I guess I'll just instal audacious
Offline
Using "/home/jazen/my Music/Music" with the space in there works? I would think that you would have to make it "/home/jazen/my\ Music/Music". Plus, I run mpd as my username, not as mpd (which is why you are getting that error). Other than that I also have playlist, log, and db_file in .mpd within my home directory.
Last edited by lifeafter2am (2010-09-16 19:04:15)
#binarii @ irc.binarii.net
Matrix Server: https://matrix.binarii.net
-------------
Allan -> ArchBang is not supported because it is stupid.
Offline
I would think that you would have to make it "/home/jazen/my\ Music/Music".
No that shouldn't be necessary if the string is between quotes, it is interpreted literally then.
ᶘ ᵒᴥᵒᶅ
Offline
Try MPD as your own user. You do not really need to run it as a system daemon unless you are planning on making it a dedicated service on a server machine.
Here is my MPD configuration.
"$HOME/.config/mpd/mpd.conf"
#
music_directory "~/Music/Library"
playlist_directory "~/Music/Playlists"
db_file "~/.config/mpd/mpd.db"
log_file "~/.config/mpd/mpd.log"
pid_file "~/.config/mpd/mpd.pid"
state_file "~/.config/mpd/mpdstate"
save_absolute_paths_in_playlists "yes"
zeroconf_enabled "no"
gapless_mp3_playback "yes"
#replaygain "track"
#replaygain_preamp "0"
volume_normalization "yes"
audio_buffer_size "4096"
#buffer_before_play "20%"
max_playlist_length "300000"
#max_command_list_size "2048"
max_output_buffer_size "16384"
input {
plugin "curl"
}
audio_output {
type "alsa"
name "ALSA"
device "equal"
use_mmap "yes"
}
audio_output {
type "httpd"
name "mpd-httpd@incubine"
encoder "vorbis"
port "7002"
quality "3.0"
format "44100:16:2"
}
audio_output {
type "fifo"
name "FIFO"
path "/tmp/mpd.fifo"
format "44100:16:2"
}Last edited by Wintervenom (2010-09-16 19:32:59)
Offline
Your issue is described in the troubleshooting section of the mpd article on the wiki:
http://wiki.archlinux.org/index.php/Mpd … _permitted
Also, as others have suggested, running mpd from your ~ simplifies things considerably.
You might want to change your title to something more accurate, like 'Permissions issue with mpd' Your current one is both vague and inaccurate...
Offline
As stated earlier setting up MPD in ~/ can help with some installs
this thread has always worked for me: http://crunchbanglinux.org/forums/topic/4686/howto-mpd/
of course adapting it to arch from ubuntu
have a nice day
Last edited by psyodin (2010-09-17 05:41:34)
download>install>configure>enjoy, arch tastes good
Offline
Thanks for the advice everyone. I decided to do what Wintervenom did by putting all the files in ~/.config/mpd/ and its working now. And I also adjusted the title. Sorry for the vague title at first.
Offline
Pages: 1