a script like: /etc/X11/Xsession.d/80_ltsp-sound containing #!bin/sh test $LTSP_CLIENT || rm /.gstreamer-0.10/registry*.xml would do it imho -- should select the esdsink for LTSP_CLIENTs https://launchpad.net/bugs/65690