Jack, fluidsynth as user systemd unit

asked 2019-01-03 16:31:28 -0500

Locki gravatar image

Fedora 29 I tried to add a fluidsynth.service to /etc/systemd/user/ but have run into an alsa permissions problem. At login time when the enabled user service is started it fails due to alsa driver permission errors. However, if I wait unti the gnome desktop is up and running and then manually start the service, it starts up OK and everything works. I thought it might be a service sequencing problem, but I have been unable to find a target which fixes this. the same problem happens if I try to set up a user jack.service. Typical errors (from systemctl --user jack):

creating alsa driver ... hw:0|hw:0|128|3|44100|0|0|nomon|swmeter|-|32bit control open "hw:0" (permission denied)

jack.service user unit file: [unit] Description=jack After=sound.target graphical-session.target

[Service] LimitRTPRIO=infinity LimitMEMLOCK=infinity

ExecStart=/usr/bin/jackd -R -p89 -dalsa -dhw:0 -r44100 -p128 -n3

[Install] WantedBy=default.target

edit retag flag offensive close merge delete