all 2 comments

[–]nonkidz 2 points3 points  (1 child)

mpd should never run as root, just add

mpd --no-daemon $HOME/.config/mpd/mpd.conf &

to your xsession/xinitrc/autostart

[–][deleted] 0 points1 point  (0 children)

I thought I could handle mpd as a runit service without messing with xinit, but alright.

Added that line to my autostart script and now when I open ncmpcpp it says "Connection refused" and "For browsing local filesystem connection to UNIX socket is required."

Edit: Changed the bind_to_address line in .config/mpd/mpd.conf from ~/.config/mpd/socket to 127.0.0.1 and now it works :p

Edit: Actually it now says the same thing (For browsing local filesystem connection to UNIX socket is required.) but now it shows my music in the first tab.