On 30.01.2018 18:45, Robert Bielik wrote:
What error
message do you get without sudo? Maybe your user has to be in
the "audio" group (or similar).
The error is:
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
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
aplay: main:788: audio open error: No such file or directory
And the "pi" user seems to be in audio group:
groups
pi adm dialout cdrom sudo audio
video plugdev games users input netdev gpio i2c spi
Running with sudo plays audio just fine.
Just run aplay under the same user which already owns the jackd process.
I'm unaware about the current situation in regard of multi-user
connection support for jackd.
Best,
Chris