[-- Attachment #1: Type: text/plain, Size: 497 bytes --] New issue by ayoubkafi on void-packages repository https://github.com/void-linux/void-packages/issues/29714 Description: ### System * xuname: * Void 5.10.17_1 x86_64 GenuineIntel notuptodate rrFFF * package: * pulseaudio-14.2_2 ### Expected behavior pulseaudio audio should run in the active user tty ### Actual behavior pulseaudio play audio on any tty even it doesn't have a user logged on ### Steps to reproduce the behavior Play an audio clip and switch between ttys
[-- Attachment #1: Type: text/plain, Size: 260 bytes --] New comment by ericonr on void-packages repository https://github.com/void-linux/void-packages/issues/29714#issuecomment-806343489 Comment: Are you using the pulseaudio service? Otherwise I don't think this should happen... Do you have elogind installed?
[-- Attachment #1: Type: text/plain, Size: 352 bytes --] New comment by ayoubkafi on void-packages repository https://github.com/void-linux/void-packages/issues/29714#issuecomment-806533197 Comment: Yes > Are you using the pulseaudio service? Otherwise I don't think this should happen... > > Do you have elogind installed? Yes I'm using pulseaudio service i installed it after I saw your comment
[-- Attachment #1: Type: text/plain, Size: 452 bytes --] New comment by sgn on void-packages repository https://github.com/void-linux/void-packages/issues/29714#issuecomment-806586333 Comment: On 2021-03-25 03:23:51-0700, ayoubkafi ***@***.***> wrote: > Yes > > > Are you using the pulseaudio service? Otherwise I don't think this should happen... > > > > Do you have elogind installed? > > Yes I'm using pulseaudio service > i installed it after I saw your comment Please don't run pulseaudio as root
[-- Attachment #1: Type: text/plain, Size: 659 bytes --] New comment by ayoubkafi on void-packages repository https://github.com/void-linux/void-packages/issues/29714#issuecomment-807073886 Comment: > On 2021-03-25 03:23:51-0700, ayoubkafi ***@***.***> wrote: Yes > Are you using the pulseaudio service? Otherwise I don't think this should happen... > > Do you have elogind installed? Yes I'm using pulseaudio service i installed it after I saw your comment > Please don't run pulseaudio as root The default command for running pulseaudio with runit is `exec pulseaudio --system` but this is doesn't work with so I replaced it with `exec pulseaudio --daemonize=no` and this works Should I use something else
[-- Attachment #1: Type: text/plain, Size: 235 bytes --] New comment by oynqr on void-packages repository https://github.com/void-linux/void-packages/issues/29714#issuecomment-807158854 Comment: Don't run pulseaudio as a service. If you use a display manager it should start automatically.
[-- Attachment #1: Type: text/plain, Size: 291 bytes --] New comment by ayoubkafi on void-packages repository https://github.com/void-linux/void-packages/issues/29714#issuecomment-807190495 Comment: I removed pulseaudio from /var/service but pulseaudio still start automatically when I play video before playing videos pulseaudio wasn't running
[-- Attachment #1: Type: text/plain, Size: 194 bytes --] New comment by ericonr on void-packages repository https://github.com/void-linux/void-packages/issues/29714#issuecomment-807219759 Comment: Yes. PulseAudio autostarts when something wants it.
[-- Attachment #1: Type: text/plain, Size: 296 bytes --] New comment by ayoubkafi on void-packages repository https://github.com/void-linux/void-packages/issues/29714#issuecomment-807463013 Comment: > Yes. PulseAudio autostarts when something wants it. So can I disable this setting? How I can prevent it from playing audio in other users session?
[-- Attachment #1: Type: text/plain, Size: 335 bytes --] New comment by ericonr on void-packages repository https://github.com/void-linux/void-packages/issues/29714#issuecomment-807864985 Comment: When it's autostarted as the user it shouldn't continue playing when you switch to another user's session... At least it doesn't, in my experience. I'm not sure how to debug further, sorry.
[-- Attachment #1: Type: text/plain, Size: 400 bytes --] New comment by ayoubkafi on void-packages repository https://github.com/void-linux/void-packages/issues/29714#issuecomment-815112315 Comment: I tried to debug pulseaudio, when i switch between ttys i see this message `D: [pulseaudio] module-udev-detect.c: /dev/snd/controlC0 is accessible: yes` I thought it was a permissions issue and I got out of the audio and video group then the problem gon
[-- Attachment #1: Type: text/plain, Size: 500 bytes --] Closed issue by ayoubkafi on void-packages repository https://github.com/void-linux/void-packages/issues/29714 Description: ### System * xuname: * Void 5.10.17_1 x86_64 GenuineIntel notuptodate rrFFF * package: * pulseaudio-14.2_2 ### Expected behavior pulseaudio audio should run in the active user tty ### Actual behavior pulseaudio play audio on any tty even it doesn't have a user logged on ### Steps to reproduce the behavior Play an audio clip and switch between ttys
[-- Attachment #1: Type: text/plain, Size: 428 bytes --] New comment by ayoubkafi on void-packages repository https://github.com/void-linux/void-packages/issues/29714#issuecomment-815112315 Comment: I tried to debug pulseaudio, when i switch between ttys i see this message `D: [pulseaudio] module-udev-detect.c: /dev/snd/controlC0 is accessible: yes` I thought it was a permissions issue and I got out of the audio and video group then the problem gone but I can't understand why