[GH-ISSUE #517] hear audio as normal user but not as root or system service #329

Closed
opened 2026-02-27 19:30:02 +03:00 by kerem · 1 comment
Owner

Originally created by @puccaso on GitHub (Aug 5, 2020).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/517

I was unable to get the system service to run,
so i ran the librespot manually with --verbose
and i could see no major issue, and yet
i can run the app via a normal user and hear sound
but hear no sound when run in su, as sudo, or as the system service,
also, as normal user - i was also unable to hear anything when setting cache location...

any ideas?

Originally created by @puccaso on GitHub (Aug 5, 2020). Original GitHub issue: https://github.com/librespot-org/librespot/issues/517 I was unable to get the system service to run, so i ran the librespot manually with --verbose and i could see no major issue, and yet i can run the app via a normal user and hear sound but hear no sound when run in su, as sudo, or as the system service, also, as normal user - i was also unable to hear anything when setting cache location... any ideas?
kerem 2026-02-27 19:30:02 +03:00
  • closed this issue
  • added the
    audio
    label
Author
Owner

@Malvineous commented on GitHub (Aug 15, 2020):

Probably your system is set to run Pulseaudio in user mode, so you have to run librespot as the same user or it won't have permission to play audio. This is an issue with your distro and how you are running librespot as a system service, so you'll probably have to ask your distro for support as it's not really anything librespot has control over.

<!-- gh-comment-id:674341652 --> @Malvineous commented on GitHub (Aug 15, 2020): Probably your system is set to run Pulseaudio in user mode, so you have to run librespot as the same user or it won't have permission to play audio. This is an issue with your distro and how you are running librespot as a system service, so you'll probably have to ask your distro for support as it's not really anything librespot has control over.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/librespot#329
No description provided.