Disclaimer: I'm not an expert at this, so don't take my word as gospel, but I'll do my best.
AFAIK, ESD (like a lot of unix programs) doesn't background itself automatically. Running it like this:
Will cause it to appear to hang, in that it won't do anything and the only way you can exit it is by
holding CTRL-C.
If you want to run ESD in the background, you need to follow it with an ampersand:
Now that that's out of the way - if you're using the 2.6 kernel now and ALSA appears to be installed, you don't need to manually start the sound server for sound to work in gnome! Here's what I recommend (it has an unneccessary amount of reboots to be on the safe side)
Make sure you have alsa-utils installed:
Code:
# apt-get install alsa-utils
Give your computer a fresh boot.
Run alsaconf as root from the console.
Make sure your user is a member of the "audio" group:
Code:
# groups myuser
myuser: myuser audio someotherweirdgroup
If he isn't, add him:
Code:
# usermod -G myser,audio,anyothergroupsyouwant myser
Reboot again.
Start up gnome and log your user in.
Go to the gstreamer preferences panel (I believe it's in... accessories->advanced or something quite similar)
In the audio tab, select ALSA for output.
I'm not looking at an actual debian install right now (I'm at work) so some of the commands might have a slightly tweaky syntax (I hope not!). If any of them don't work the way you expected them to, read the manpages or reply with the problem and I'll try to help out.
Also, it wouldn't hurt to google for the ALSA faq and have a read if you're still having problems (I'm not saying RTFM, it would just be educational for you I think).
Good luck!