Timidity problems

Mageia 5.0 64 bit.
1) I am trying to run timidity as a daemon on startup. My /etc/rc.d/rc.local consts entirely of the two lines
This does not work and produces the following error:
2) Attempting to debug this, I find that if I run /usr/bin/timidity -iAD as a normal user, it works. If I kill the process and restart it, it still works. However, if I try to run it as root, I get an error:
Furthermore, once I get this error, anything that uses audio also fails with this error. It seems as though trying to do this killed something and it stayed killed for all subsequent attempts to use audio.
mcc under "Manage system services by enabling or disabling them" doesn't show either jack or pulseaudio, and I don't know how to restart the server.
1) I am trying to run timidity as a daemon on startup. My /etc/rc.d/rc.local consts entirely of the two lines
- Code: Select all
#! /bin/sh
/usr/bin/timidity -iAD
This does not work and produces the following error:
- Code: Select all
/home/arromdee# systemctl status rc-local.service -l
● rc-local.service - /etc/rc.d/rc.local Compatibility
Loaded: loaded (/usr/lib/systemd/system/rc-local.service; static)
Active: active (exited) (Result: exit-code) since Sun 2015-07-12 12:25:46 EDT; 5min ago
Process: 1416 ExecStart=/etc/rc.d/rc.local start (code=exited, status=0/SUCCESS)
Main PID: 1444 (code=exited, status=1/FAILURE)
CGroup: /system.slice/rc-local.service
Jul 12 12:25:46 localhost.localdomain rc.local[1416]: jack_client_new: deprecated
Jul 12 12:25:46 localhost.localdomain rc.local[1416]: Cannot connect to server socket err = No such file or directory
Jul 12 12:25:46 localhost.localdomain rc.local[1416]: Cannot connect to server request channel
Jul 12 12:25:46 localhost.localdomain rc.local[1416]: jack server is not running or cannot be started
Jul 12 12:25:46 localhost.localdomain rc.local[1416]: Couldn't open output device
Jul 12 12:25:46 localhost.localdomain systemd[1]: rc-local.service: main process exited, code=exited, status=1/FAILURE
2) Attempting to debug this, I find that if I run /usr/bin/timidity -iAD as a normal user, it works. If I kill the process and restart it, it still works. However, if I try to run it as root, I get an error:
- Code: Select all
home/arromdee# /usr/bin/timidity -iAD
jack_client_new: deprecated
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
Couldn't open output device
Furthermore, once I get this error, anything that uses audio also fails with this error. It seems as though trying to do this killed something and it stayed killed for all subsequent attempts to use audio.
mcc under "Manage system services by enabling or disabling them" doesn't show either jack or pulseaudio, and I don't know how to restart the server.