Re: [LAD] Failed to connect to session bus for device reservation

2017-02-14 Thread Simon van der Veldt
Hi Fokke,

If you just want Jack and don't have a need for dbus either disable dbus
support in Jack2, see
https://github.com/jackaudio/jack2/blob/a96111a7a3bed8a0bacd1af64748c652defb5a5e/wscript#L403
or use jack1.


Simon

On Tue, Feb 14, 2017 at 6:58 PM, Len Ovens  wrote:

> On Tue, 14 Feb 2017, Hanspeter Portner wrote:
>
> On 14.02.2017 16:39, Fokke de Jong wrote:
>>
>>> Hi Guys,
>>>
>>> I’m trying to set up a minimal audio system (without X11) based on the
>>> ubuntu mini-iso.
>>>
>>> When trying to start jack, i get this dbus error message:
>>>
>>
>> No X11 -> No DBus
>>
>
> Not true. I have done
> dbus-launch screen
> and used screen as my text only session manager with success. jack_control
> was able to start jackdbus, pulse was able to run and bridge to jack on a
> headless system. (it has been a while, I stopped because the system I was
> using was too memory strapped) Any of the terminals in the same screen
> instance will be able to communicate with any other.
>
> So it is possible. It does mean learning more about your system... at a
> system level. There is also a startjack script out there that sort of hacks
> around this problem, but it does not leave dbus usable for anything else.
> (I can't find it right now)
>
> --
> Len Ovens
> www.ovenwerks.net
>
> ___
> Linux-audio-dev mailing list
> Linux-audio-dev@lists.linuxaudio.org
> http://lists.linuxaudio.org/listinfo/linux-audio-dev
>
>
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] Failed to connect to session bus for device reservation

2017-02-14 Thread Len Ovens

On Tue, 14 Feb 2017, Hanspeter Portner wrote:


On 14.02.2017 16:39, Fokke de Jong wrote:

Hi Guys,

I’m trying to set up a minimal audio system (without X11) based on the ubuntu 
mini-iso.

When trying to start jack, i get this dbus error message:


No X11 -> No DBus


Not true. I have done
dbus-launch screen
and used screen as my text only session manager with success. jack_control 
was able to start jackdbus, pulse was able to run and bridge to jack on a 
headless system. (it has been a while, I stopped because the system I was 
using was too memory strapped) Any of the terminals in the same screen 
instance will be able to communicate with any other.


So it is possible. It does mean learning more about your system... at a 
system level. There is also a startjack script out there that sort of 
hacks around this problem, but it does not leave dbus usable for anything 
else. (I can't find it right now)


--
Len Ovens
www.ovenwerks.net
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] Failed to connect to session bus for device reservation

2017-02-14 Thread Thomas Brand
On Tue, February 14, 2017 16:39, Fokke de Jong wrote:
> Hi Guys,
>
>
> I’m trying to set up a minimal audio system (without X11) based on the
> ubuntu mini-iso.
>
> When trying to start jack, i get this dbus error message:
>
>
> ...
> sudo /usr/bin/jackd -p512 -dalsa -r48000 -p64 -n2 -D -Chw:MADIFXtest
> -Phw:MADIFXtest
> jackdmp 1.9.10 Copyright 2001-2005 Paul Davis and others.
> Copyright 2004-2013 Grame.
> jackdmp comes with ABSOLUTELY NO WARRANTY This is free software, and you
> are welcome to redistribute it under certain conditions; see the file
> COPYING for details
> no message buffer overruns no message buffer overruns no message buffer
> overruns JACK server starting in realtime mode with priority 10
> Failed to connect to session bus for device reservation Unable to
> autolaunch a dbus-daemon without a $DISPLAY for X11
>
> Audio device hw:MADIFXtest cannot be acquired...
> Cannot initialize driver
> JackServer::Open failed with -1
> Failed to open server
> ...
>
>
>
> I’ve seen others mention the error but have not really found a
> solution. I guess part of the problem is that I’m not really sure what
> the error means :-) So if anyone could be so kind to enlighten me?

Hi Fokke,

you might need to compile JACK without support for dbus, there is a
configure option.

Greetings
Thomas


___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] Failed to connect to session bus for device reservation

2017-02-14 Thread Hanspeter Portner
On 14.02.2017 16:39, Fokke de Jong wrote:
> Hi Guys,
> 
> I’m trying to set up a minimal audio system (without X11) based on the ubuntu 
> mini-iso.
> 
> When trying to start jack, i get this dbus error message:

No X11 -> No DBus

Some distributions offer additional JACK2 packages without DBus. JACK1 should
always work on a headless system.
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev


[LAD] Failed to connect to session bus for device reservation

2017-02-14 Thread Fokke de Jong
Hi Guys,

I’m trying to set up a minimal audio system (without X11) based on the ubuntu 
mini-iso.

When trying to start jack, i get this dbus error message:

...
sudo /usr/bin/jackd -p512 -dalsa -r48000 -p64 -n2 -D -Chw:MADIFXtest 
-Phw:MADIFXtest
jackdmp 1.9.10
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2013 Grame.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
no message buffer overruns
no message buffer overruns
no message buffer overruns
JACK server starting in realtime mode with priority 10
Failed to connect to session bus for device reservation Unable to autolaunch a 
dbus-daemon without a $DISPLAY for X11

Audio device hw:MADIFXtest cannot be acquired...
Cannot initialize driver
JackServer::Open failed with -1
Failed to open server
...


I’ve seen others mention the error but have not really found a solution. I 
guess part of the problem is that I’m not really sure what the error means :-) 
So if anyone could be so kind to enlighten me? 



cheers,
Fokke





___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev