audio.txt (438B)
1 # install osspd 2 3 sudo adduser georges pulse-access 4 sudo adduser pulse audio 5 6 https://unix.stackexchange.com/questions/382601/how-to-prevent-sound-mute-when-switching-user#382969 7 => Start pulse audio in system mode: pulseaudio --system=yes 8 9 # to re-enable detection of headphones plugged in / out 10 pactl load-module module-switch-on-port-available 11 12 sudo service osspd status 13 14 don't forget to have the same user ID in the chroot and outside!