#839993 pulseaudio: Pulseaudio is able to share non-ALSA audio devices across differens user sessions #839993
- Package:
- pulseaudio
- Source:
- pulseaudio
- Description:
- PulseAudio sound server
- Submitter:
- Alexander Betaev
- Date:
- 2021-05-24 21:15:30 UTC
- Severity:
- important
- Tags:
Dear Maintainer, I found that Pulseaudio in per user session mode does not allow all users to use all devices I have on my machine. Only ALSA devices may be shared across different user sessions without an issue. I noticed such behaviour with native TCP device which is provided by my media center (JIC, also runs Stretch under KVM with GFX passthrough), and with Bluetooth device which works pretty well until you try to use it under another user. In order to achieve working Bluetooth Headset I had to disable pulseaudio for GDM3 user (Debian-gdm) because it grab it before my user almost each time. I believe there should be a hook which suspends pulseaudio when user looses focus on his/her session and a hook to restore when user grabs session focus. The only way to use pulseaudio in multi-user installations now is to make it system-wide which is also not recommended because of other issues (https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/WhatIsWrongWithSystemWide/) Thanks and regards, Alex
I see these messages in GDM log (journalctl -u gdm): окт 07 12:09:21 inftop gdm-launch-environment][5570]: pam_systemd(gdm-launch-environment:session): Failed to create session: No seat 'seat0allow-timed-login' known окт 07 12:09:21 inftop gdm3[3099]: gdm_session_set_environment_variable: assertion 'value != NULL' failed Looks like missprint somewhere, but I don't know where.
Interesting. Is your user shown as active in the current seat? Check via the `loginctl` command.
Control: tags -1 confirmed upstream Control: forwarded -1 https://bugs.freedesktop.org/show_bug.cgi?id=98144 I discussed this with upstream and they agree that this is only implemented for alsa devices. I have thus created an issue upstream, and am marking this bug as forwarded there. I have mainly focused in the bluetooth case since that is the most likely to cause problems for users.
Sorry, my fault. It looks like this isGDM3 issue not related to PA. So just disregard my message.
Greeting to you once again I am writing for the second time as I did not receive any reply from you to my previous message. Kindly reply so we can discuss the subject as soon as possible. Sincerely, Andy Landman
Greeting to you once again I am writing for the second time as I did not receive any reply from you to my previous message. Kindly reply so we can discuss the subject as soon as possible. Sincerely, Andy Landman