Re: [Jack-Devel] How to start JACK with systemd

PrevNext  Index
DateTue, 04 Dec 2012 07:27:19 -0500
From Paul Davis <[hidden] at linuxaudiosystems dot com>
ToStefan Stefanov <[hidden] at gmail dot com>
CcJACK <[hidden] at lists dot jackaudio dot org>
In-Reply-ToStefan Stefanov [Jack-Devel] How to start JACK with systemd
Follow-UpStefan Stefanov Re: [Jack-Devel] How to start JACK with systemd
how about not using a dbus-enabled version of JACK, since you clearly have
no need for what it does ....


On Tue, Dec 4, 2012 at 4:32 AM, Stefan Stefanov <[hidden]> wrote:

> Hello
>
> I'm using jack2 under Archlinux.
> After systemd transition I cannot find a proper way to create
> jack.service in order to start jack as all other daemons in my system.
>
> Currently I tried with:
> [Unit]
> Description=JACK
> After=getty.target
>
> [Service]
> ExecStart=/usr/bin/jackd -R -d alsa -P hw:0,1 -r 96000 -p 64
>
> [Install]
> WantedBy=multi-user.target
>
> but it failed with:
> Failed to connect to session bus for device reservation Unable to
> autolaunch a dbus-daemon without a $DISPLAY for X11
>
> There is no problem to start jack manually after booting process by
> login into system and run jack from console.
>
> PS:
> 1) BTW, my system is dedicated to audio and it is headless.
> 2) I use automatic systemd service to auto-login after boot process.
> 
> Jack-Devel mailing list
> [hidden]
> http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
>
PrevNext  Index

1354624045.7156_0.ltw:2, <CAFa_cKk1LkeAugnEAAGfaY+qBiRmBvr5-7-E0jHVc7kegv+DsA at mail dot gmail dot com>