To clarify at first: It's 2019 and I am running Arch Linux with systemd... ... but I had exactly the same problem. My goal was simply to switch to another user (by Ctrl-Alt-Fx or by means of the display manager) and to keep my sound running.
I finally got it to work without having to play with system mode (dangerous, unsupported) or PolicyKit (don't know anything about that). Steps: 1. Add the $USER whose PulseAudio should keep playing to the "audio" group (usermod -aG audio $USER). 2. Enable lingering for the user, so that PulseAudio starts without being logged in (loginctl enable-linger $USER). Should this work you can optionally share this user's PA to other users on the net by adding something to ~/.config/pulse/default.pa. For example: load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1;192.168.0.0/24 For the "client users" just add to ~/.config/pulse/client.conf: default-server = 127.0.0.1 Maybe this works with Ubuntu, too? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/213149 Title: pulseaudio breaks on switching from tty7 to tty [1-6] (in and out of Gnome) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/213149/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
