0

Sound for Wine-1.7.34 works at :0

Open a new X session at :1
lets make audio possible at :1 with:

usermod -a -G audio $USER      #requires re-login  
pax11publish -D :1 -e
DISPLAY=:1 ck-launch-session

Test sound with mplayer (it works, but not through pulseaudio)

$ WINEDEBUG=+quartz winecfg /Audio/Test Sound
err:pulse:pulse_contextcallback Context failed: Connection refused

How to fix?

Zanna
  • 72,312

1 Answers1

1

I managed to play using pulseaudio from DISPLAY :1 through TCP (without system mode daemon):

I got the instructions from this blog post which got the fix from here on fedora forums.

cp /etc/pulse/default.pa ~/.pulse/
echo "load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1" >>~/.pulse/default.pa
echo "default-server = 127.0.0.1" > ~/.pulse/client.conf
pulseaudio -k
pulseaudio -D
Zanna
  • 72,312