rafael2k / darkice

DarkIce is a live audio streamer. It records audio from an audio interface (e.g. sound card), encodes it and sends it to a streaming server. This is the official development repository of Darkice.
http://www.darkice.org
200 stars 47 forks source link

Didn't run darkice 1.1 as service in Ubuntu 11.10 #66

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install darkice-full_1.1 deb in Ubuntu 11.10
2. Use the /etc/default/darkice and /etc/init.d/darkice from old package 
darkice-1.0

/etc/default/darkice:
Run=yes
USER=nobody
GROUP=nobody

3. run the service darkice like sudo /etc/init.d/darkice start
from remote host via ssh connection

darkice won't start:
X11 connection rejected because of wrong authentication

4. If run as ordinary user:
sudo -u user darkice (or change in
/etc/default/darkice
USER=user
GROUP=user
and run: sudo /etc/init.d/darkice start
works fine...
but sudo /etc/init.d/darkice stop didn't really stop the darkice

using:
darkice-full-1.1 (deb package) in Ubuntu 11.10

Need to run darkice as service automatically!

Original issue reported on code.google.com by lucka...@gmail.com on 11 Apr 2012 at 6:33