Re: [LAU] jackd2 and X11/dbus

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <len@...>
Cc: <linux-audio-user@...>
Date: Wednesday, September 19, 2012 - 6:55 am

On Mon, September 17, 2012 2:27 pm, Len Ovens wrote:

OK, here is what I have done:

/etc/rc.local gets this line added:
su - len -c /home/len/.bin/startfake.sh

startfake.sh looks like this:
------------------------
#! /bin/bash
# Len's try at creating a dbus session on a no X system
# September 18 2012

rm /home/len/.bin/setsession

# Pretend we are X
echo "DISPLAY=:0" >/home/len/.bin/setsession

dbus-launch | grep ADDRESS >>/home/len/.bin/setsession
dbus-launch | grep PID >>/home/len/.bin/setsession

-------------------------------

~/.profile gets this bit added:
-------------------------------
if [ -f "$HOME/.bin/setsession" ]; then
. "$HOME/.bin/setsession"
fi

export DISPLAY
export DBUS_SESSION_BUS_ADDRESS
export DBUS_SESSION_BUS_PID
-------------------------------

here's whats running after boot:
Last login: Tue Sep 18 23:37:06 2012 from len-netbook.cbbs.org
len@mini:~$ ps x
PID TTY STAT TIME COMMAND
821 ? Ss 0:00 //bin/dbus-daemon --fork --print-pid 4
--print-addres
827 ? Ss 0:00 //bin/dbus-daemon --fork --print-pid 4
--print-addres
1136 ? SLsl 0:09 /usr/bin/jackdbus auto
1566 ? S 0:00 sshd: len@pts/1
1567 pts/1 Ss+ 0:05 -bash
2054 ? S 0:00 sshd: len@pts/0
2055 pts/0 Ss 0:05 -bash
2153 pts/0 R+ 0:00 ps x
len@mini:~$ jack_control status
--- status
started
len@mini:~$

Hmm, jackdbus isn't running till I ran jack_control start on the other
login. jackd can also be run ok instead of jackdbus.

--
Len Ovens
www.OvenWerks.net

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAU] jackd2 and X11/dbus, Len Ovens, (Sun Sep 16, 4:39 pm)
Re: [LAU] jackd2 and X11/dbus, Brendan Jones, (Sun Sep 16, 4:51 pm)
Re: [LAU] jackd2 and X11/dbus, Len Ovens, (Mon Sep 17, 4:07 am)
Re: [LAU] jackd2 and X11/dbus, S. Massy, (Mon Sep 17, 4:08 pm)
Re: [LAU] jackd2 and X11/dbus, Len Ovens, (Mon Sep 17, 9:27 pm)
Re: [LAU] jackd2 and X11/dbus, Len Ovens, (Wed Sep 19, 6:55 am)
Re: [LAU] jackd2 and X11/dbus, Len Ovens, (Sun Sep 16, 11:56 pm)