Is it possible to tell polkit to allow some players or some users to continue to play their audio during another user session? Or is there another workaround that does not involve... see below?

I don't care what happens if they all play their audio at the same time. All the users are mine anyway. It's just my device.

Important: I want to use pulseaudio, not alsa, and I do not want to (fully) disable polkit.

  • Is your user in the audio group? – muru Jul 20 '18 at 7:36
  • IIRC all processes not associated with the current VT are put to sleep (but I'd have to look this up). So your player process needs to be detached. Also, Pulseaudio is usually per session, so you have to switch to system-wide Pulseaudio, which they advise against – dirkt Jul 20 '18 at 7:37
  • @muru Yes . . . – argle Jul 20 '18 at 7:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.