When I connect remotely over NX using x2go, for some reason, I get a pop-up on the server asking if I want to permanently forget the sound devices that have just been removed:

The devices are not being removed, but somehow the connection to the server makes it think that they have been removed. In Phonon, these devices are then greyed out 
I can't figure out how to get the sound working again on the server after the client disconnects without rebooting the server. Is there any way to restart the sound without rebooting the whole computer? Or refresh the list of hardware devices? I tried sudo /etc/init.d/pulseaudio restart with no effect.