On my Ubuntu workstation, MyCroft only connects to Pulseaudio if it is started from the shell like so:
If I instead start mycroft via systemd, MyCroft is unable to connect to pulseaudio and mycroft will not recognize my voice. The error found in
[0000000002a93380] vlcpulse audio output error: PulseAudio server connection failure: Connection refused
Log of the correct and faulty start up can be found here.
The systemd service file:
[Unit] Description=Mycroft AI After=pulseaudio.service # Tried commenting this out, no effect [Service] User=nsemmler WorkingDirectory=/home/user/ ExecStart=/home/user/mycroft-core/bin/mycroft-start all ExecStop=/home/user/mycroft-core/bin/mycroft-stop all Type=forking Restart=no [Install] WantedBy=multi-user.target
Versions: MyCroft v20.8.1, Ubuntu, 20.04 and Pulseaudio 13.99.1
Any idea how I can debug this?