Jack and Multi-User

Optimize your system for ultimate performance.

Moderators: MattKingUSA, khz

Post Reply
CallMeSH
Posts: 1
Joined: Mon Jul 07, 2014 8:44 am

Jack and Multi-User

Post by CallMeSH »

Hello everyone !
I'm experiencing a little issue with Jackd2.
On an Ubuntu Precise Server, I have a Jackd instance piping sound from alsa to a darkice client. Everything works fine as root.
If I try to run jackd with normal user (in the audio group) it runs fine but Darkice (running with the same user) can't see it anymore and thinks it doesn't run.

Here are the logs Darkice is giving me :

Code: Select all

DarkIce 1.2 live audio streamer, http://code.google.com/p/darkice/
Copyright (c) 2000-2007, Tyrell Hungary, http://tyrell.hu/
Copyright (c) 2008-2013, Akos Maroy and Rafael Diniz
This is free software, and you are welcome to redistribute it 
under the terms of The GNU General Public License version 3 or
any later version.

Using config file: /etc/darkice/sweetch.cfg
Using JACK audio server as input device.
Using POSIX real-time scheduling, priority 4
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jackdmp 1.9.8
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2011 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
JACK server starting in realtime mode with priority 10
control device hw:0
control open "hw:0" (No such file or directory)
control device hw:0
control open "hw:0" (No such file or directory)
Failed to connect to session bus for device reservation Unable to autolaunch a dbus-daemon without a $DISPLAY for X11

Failed to acquire device name : Audio-1 error : Invalid argument
Audio device hw:0 cannot be acquired...
Cannot initialize driver
JackServer::Open() failed with -1
Failed to open server
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
DarkIce: JackDspSource.cpp:216: JACK server not running? [0]

Do you have any ideas ? thanks ! :)
User avatar
bluebell
Established Member
Posts: 2065
Joined: Sat Sep 15, 2012 11:44 am
Location: Saarland, Germany
Has thanked: 159 times
Been thanked: 178 times

Re: Jack and Multi-User

Post by bluebell »

Are you sure that darkice runs as the same user? Check it out with "ps aux".

Linux – MOTU UltraLite AVB – Qtractor – http://suedwestlicht.saar.de/

Post Reply