No Sound In Boxee

The main reason I upgraded my Myth boxes was so that I could use Boxee.  I first tested it out on my main computer running Kubuntu 10.04 and everything worked pretty well.  I expected the to Myth boxes running Xubuntu 10.04 would work just as well.  Of course nothing is that easy, I log into Boxee and try to play something from my queue, no sound.  I try something else, no sound.  The third time was not the charm, so I tried the other Myth box and found the same problem.

I jumped onto Google and had to do a bit of searching before I found this post in the Boxee forums.  The culprit seems to be … wait for it …  pulseaudio.   That would definitely explain why it worked on Kubuntu.  Anyway the crux of the fix is as follows:

sudo apt-get remove pulseaudio
sudo apt-get install esound
sudo killall pulseaudio
sudo restart gdm

In the original post he killed pulseaudio before he removed it, but I found that it would just pop up again in a few seconds. Also he said to restart the computer but I found that just restarting X was enough.