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
LINUX® is a registered trademark of Linus Torvalds in the USA and other countries.
Linuxaudio.org logo copyright Thorsten Wilms © 2006.
Hosting provided by the Virginia Tech Department of Music and DISIS.