GNOME Bugzilla – Bug 108197
esd doesn't terminate on GNOME exit
Last modified: 2005-01-06 15:06:05 UTC
If you exit from GNOME desktop esd is still running, holding /dev/dsp open. This cause problems with certain sound card dsp which can be open()ed not more than one time. Scenario: - User foo uses GNOME than exits - esd is still running as user foo - User bar starts GNOME, but /dev/dsp is busy -> no sound for user bar
Well, this is not really a bug.. Reporter, what is the content of /etc/esd.conf ?
Why? Esd is started by GNOME and should terminated as soon as GNOME exits. AFAIK, GNOME starts esd with harcoded options, see Bug 97138, btw: $ cat /etc/esound/esd.conf [esd] auto_spawn=0 spawn_options=-terminate -nobeeps -as 5 spawn_wait_ms=100
esd is not a GNOME program, it is just a daemon.. And if it is autospawned, it will terminate automatically after a timeout.. Anyway, it is a duplicate of 97138.. *** This bug has been marked as a duplicate of 97138 ***
Esd is launched by GNOME if you select "enable sound server on startup" in order to play sound for events. There is no autospawn here. It is used by GNOME, that should terminate it. And no, this is not a duplicate of Bug 97138. I don't think this is a bug in esd, my bug was initially filed again gnome-session (though I'm not sure who is responsable of cleaning up things on GNOME exit)
This is clearly not a esound problem at all.. I guess it is more a gnome-settings-daemon prb..
the way gnome starts esd is with the -terminate switch which is supposed to make esd terminate after all client connections are closed. So this is only a gnome bug if gnome is failing to close all the client connections
i moved this to sound cause that's what esd is, and i changed it to high becuase if it is a bug its been here since GNOME 1.4
Marking as normal priority because it's just not important enough in the whole scheme of things for high priority
On my computer, IIRC, esd seems to stop when I log out. I can't test right now, though.
Closing. If the distro/GNOME starts it with -terminate it will terminate when not used for a period of time. This is how it's supposed to be.