You are not logged in.

#1 2012-11-09 02:03:10

wilberfan
Member
From: So. Cal
Registered: 2010-12-18
Posts: 264

[SOLVED] Sickbeard service won't enable

# systemctl --user enable sickbeard
Failed to get D-Bus connection: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

Brand new arch installation from the 2012.11.01 .iso.

Not sure what to try at this point.  Suggestions welcome!

Last edited by wilberfan (2012-11-09 16:39:52)


Hey, be nice...I'm new at this!

Offline

#2 2012-11-09 03:11:08

ataraxia
Member
From: Pittsburgh
Registered: 2007-05-06
Posts: 1,553

Re: [SOLVED] Sickbeard service won't enable

Why did you use --user? I doubt you want that flag there.

Offline

#3 2012-11-09 04:04:53

wilberfan
Member
From: So. Cal
Registered: 2010-12-18
Posts: 264

Re: [SOLVED] Sickbeard service won't enable

ataraxia wrote:

Why did you use --user? I doubt you want that flag there.

[shrug] I was following the instructions that displayed in the terminal after I installed the sickbeard-git package...


Hey, be nice...I'm new at this!

Offline

#4 2012-11-09 16:39:36

wilberfan
Member
From: So. Cal
Registered: 2010-12-18
Posts: 264

Re: [SOLVED] Sickbeard service won't enable

For those who may follow with a similar problem, here's what solved it:

Based on a reply from the maintainer of the package, he said do the following:

Add the following line to your ~/.xinitrc file

systemd --user &

So mine now looks like this:

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

systemd --user &
# exec gnome-session
# exec startkde
exec startxfce4
# ...or the Window Manager of your choice

He also said to

...start X on the same tty by putting 'exec /usr/bin/X -nolisten tcp vt$XDG_VTNR "$@"' in $HOME/.xserverrc. Once you do this, running `loginctl --no-pager show-session $XDG_SESSION_ID | grep Active` should print 'Active=yes'.  If all that works, you should be running systemd as your user and the sickbeard user service should work.

I didn't have an .xserverrc file yet, so I created one with that command.

As a semi-noob, I don't completely understand why all that is necessary--but it DID allow my sickbeard daemon to start without problems, so Mission Accomplished.

Thanks to sudokode, from here: https://aur.archlinux.org/packages/sickbeard-git/


Hey, be nice...I'm new at this!

Offline

Board footer

Powered by FluxBB