You are not logged in.

#1 2013-10-14 21:24:24

inglor
Package Maintainer (PM)
Registered: 2008-07-22
Posts: 88

mpd systemd issues

Hello all,

I'm not a guru of systemd but I try to have an idea of what's going on. I had set up systemd user session with previous versions. I think also my system is not propeprly configured as I see multiple errors in journal.
I'm attaching my logs from journal --this-log with hopes that someone will understand something more than me. As it stands I can't start mpd which I had it configured as user. Also I think I don't completely understand the systemd user session.

journal.log:  http://pastebin.com/LHKqb0DN


Thanks in advance for any comments

Offline

#2 2013-10-14 21:51:40

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: mpd systemd issues

You paste an 8,000 line log file?

Just paste the output of systemctl status mpd@user.service and your service file...


Not a Sysadmin issue, moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2013-10-15 12:24:12

inglor
Package Maintainer (PM)
Registered: 2008-07-22
Posts: 88

Re: mpd systemd issues

I followed the https://wiki.archlinux.org/index.php/Mp … th_systemd
so I copied the mpd.service from the /usr/lib directory to my ~/.config/systemd/user/mpd.service
and changed the config path to my local ~/.mpd/mpd.config

When I try to run the
$ systemctl --user enable mpd
Failed to get D-Bus connection: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11

I think I'm missing something still

Offline

#4 2013-10-15 17:07:21

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: mpd systemd issues

jasonwryan wrote:

Just paste the output of systemctl status mpd@user.service and your service file...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2013-10-15 18:45:33

inglor
Package Maintainer (PM)
Registered: 2008-07-22
Posts: 88

Re: mpd systemd issues

~$ systemctl status mpd@user.service                                                                                                                                                                                                                             
mpd@user.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)

~$ cat .config/systemd/user/mpd.service                                                                                                                                                                                                                     3 ↵  
[Unit]
Description=Music Player Daemon
After=network.target sound.target

[Service]
ExecStart=/usr/bin/mpd --no-daemon /home/inglor/.mpd/mpd.conf

[Install]
WantedBy=multi-user.target

Offline

Board footer

Powered by FluxBB