myMPD as user? #1376
-
Hi, I'm trying to run myMPD as user with no luck. MPD is running fine after
but when I run
and then
I get
Also, if I just run
I don't know if that is relevant or no, but early on I was able to run myMPD as root (along with MPD also as root) without a glitch. Also, in the documentation it is mentioned that myMPD is meant to be run as user. So it's probably me doing something wrong. Any clue? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
The user unit starts myMPD with different config and cache dir and some environment variables set.
Try to start myMPD as user with this arguments and evironment or/and try |
Beta Was this translation helpful? Give feedback.
-
Thanks for the quick reply!!
On the other hand,
Just in case, my mpd.conf is fairly minimal
|
Beta Was this translation helpful? Give feedback.
-
Is there a
You must set the environment for the listening ports, a normal user process can not bind to ports lower than 1024. Remove eventually created config: Try again: export MYMPD_HTTP_PORT=8080
export MYMPD_SSL_PORT=8443
mympd -w ~/.config/mympd -a ~/.cache/mympd |
Beta Was this translation helpful? Give feedback.
Is there a
.config
directory in your home directory? If not create it.You must set the environment for the listening ports, a normal user process can not bind to ports lower than 1024.
Remove eventually created config:
rm -rf ~/.config/mympd ~/.cache/mympd
Try again: