I've got arts-1.1.4. With esound-0.2.29-r1, I can run "artsdsp esd" and have esd run under arts. With esound-0.2.32, the esd exits the first time a client connects. Reproducible: Always Steps to Reproduce: 1. emerge esound-0.2.32 2. artsdsp esd & 3. start an esd client (in my case, the old Loki game SMAC) Actual Results: esd exits Expected Results: After step 2, esd should play a few notes. After step 3, the client should be able to make noise. Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r5) ================================================================= System uname: 2.4.20-gentoo-r5 i686 AMD Athlon(tm) XP 1900+ ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-g -O2" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-g -O2" DISTDIR="/usr/portage/distfiles" FEATURES="ccache autoaddcvs fixpackages sandbox userpriv nostrip" GENTOO_MIRRORS="http://gentoo.seren.com/gentoo ftp://mirrors.tds.net/gentoo ftp://gentoo.ccccom.com ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 oss apm avi crypt cups encode foomaticdb gif gnome libg++ mad mikmod mmx ncurses nls pdflib quicktime spell xml2 xmms xv zlib gdbm berkdb slang svga java guile sdl gpm tcpd pam libwww ssl python imlib oggvorbis gtk opengl mozilla 3dnow -alsa aalib arts canna cdr cjk debug doc dvd esd -firebird freetype freewnn jpeg kde maildir matrox mbox -motif mozsvg mpeg mule perl png qt readline ruby scanner sse tcltk tetex tiff truetype usb X Xaw3d"
This still happens with esound-0.2.33 and arts-1.2.1.
I've tried doing this and it works for me (running several arts clients, one of them through 'artsdsp esd', everything is mixed together and played). What does happen is that esd exits after its client disconnects, but that's probably esd configuration level issues. What you describe might happen if you compile esd with USE=alsa. Then esd doesn't have oss (/dev/dsp) support, and artsdsp has no effect on it. Make sure you compile esd with USE=-alsa.
I re-emerged esound-0.2.34 with media-sound/esound -alsa in my /etc/portage/package.use file, and had the same problem. BUT, I found that if I modified /etc/esd/esd.conf to remove the -terminate from the spawn_options= line, the problem went away. It might be that esd is (incorrectly?) using the spawn_options to start the first esd program in this case; it was also not beeping on startup until I removed the -nobeeps from the spawn_options line. (My client may be connecting twice---it's one of the old Loki games---which would explain why I get the immediate termination.)
Then we can close this?
I guess. There's still something going wrong here, but it can be worked around. And judging by the web site listed in the ebuild, <http://www.tux.org/~ricdude/EsounD.html>, esd is not exactly under active development. (The last news item is from the year 2000.)
So it's probably not a kde bug... closing.