What user settings control audio access?
Solution 1:
1) Would you please try this with user1:
sudo gpasswd -a user1 pulse-access sudo gpasswd -a user1 pulse-rt sudo gpasswd -a pulse audio
2) Have you tried this?
" edit /usr/local/etc/pulse/system.pa and add:
load-module module-native-protocol-unix auth-anonymous=1
Reference: https://tango.0pointer.de/pipermail/pulseaudio-discuss/2009-January/002942.html
3) Try running pulseaudio in system mode
Reference: https://bugzilla.redhat.com/attachment.cgi?id=262541
4) Make sure user2 does not run pulseaudio as root
5) Remove applications from user2 that may not release audio (e.g. timidity)
6) Go through ~/.asoundrc
and /etc/asound.conf
if present
7) Check if "the evil libflashsupport library" is installed. To uninstall:
sudo aptitude purge libflashsupport flashplugin-nonfree-extrasound
8) Start pulseaudio daemon system wide:
gksu gedit /etc/default/pulseaudio
And change "PULSEAUDIO_SYSTEM_START=0" for "PULSEAUDIO_SYSTEM_START=1"
9) Try unplugging audio hardware like external speakers and reboot.