Hi all, I'm running Fedora. I am able to use timidity with my midi editor using -iA
However I want timidity to run as a service upon boot, so I made an init.d script: > #!/bin/bash > # > # chkconfig: 35 56 56 > # description: Start Folding At Home execution > > check_running() { > COUNT=`ps -ef|grep timidity|grep -v grep|wc -l` > if [ $COUNT = 1 ] > then > RUN=1 > else > RUN=0 > fi > } > > case "$1" in > start) > check_running > if [ $RUN = 1 ] > then > echo "Timidity seems to be running already" > exit > else > /usr/bin/timidity -iA 2>&1 & > exit > fi > ;; > > stop) > check_running > if [ $RUN = 1 ] > then > killall timidity > exit > else > echo "Timidity does not seem to be running" > exit > fi > ;; > > status) > check_running > if [ $RUN = 1 ] > then > echo "Timidity is running" > exit > else > echo "Timidity does not seem to be running" > exit > fi > ;; > esac However, this script gives an error: [jonat...@poseidon ~]$ sudo service timidity start [jonat...@poseidon ~]$ file mcoputils.cc: line 499 (static std::string Arts::MCOPUtils::mcopDirectory()): assertion failed: (home != 0) HOME environment variable not set? jack_client_new: deprecated 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 no message buffer overruns Couldn't open output device I tested that I can successfully run timidity using sudo: [jonat...@poseidon ~]$ sudo timidity -iA TiMidity starting in ALSA server mode Opening sequencer port: 128:0 128:1 128:2 128:3 Does anyone have any ideas what might be up? Cheers, Jonathan ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Timidity-talk mailing list Timidity-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/timidity-talk