[PATCH] xrexecd.sh-audio-fix.patch

CyberOrg <[email protected]>
Newsgroups gmane.linux.terminal-server.devel
Message-ID <[email protected]>
Hi

Attached is a patch to xrexecd.sh to get sound working in local app.

Cheers

-J

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

_____________________________________________________________________
Ltsp-developer mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-developer
For additional LTSP help,   try #ltsp channel on irc.freenode.net
xrexecd.sh-audio-fix.patch (text/x-patch, 566 B)
--- xrexecd.sh	2008-08-09 10:41:45.000000000 +0530
+++ xrexecd.sh.new	2008-08-09 16:18:58.000000000 +0530
@@ -38,7 +38,7 @@
     if [ -n "${LTSP_COMMAND}" ]; then
         logit "Executing the following command as ${LDM_USERNAME}: ${LTSP_COMMAND} "
 
-        su - ${LDM_USERNAME} -c "DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY ${LTSP_COMMAND}" &
+        su - ${LDM_USERNAME} -c "PULSE_SERVER=tcp:127.0.0.1:4713 ESPEAKER=127.0.0.1:160001 DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY ${LTSP_COMMAND}" &
 
         xprop -root -f LTSP_COMMAND 8s -set LTSP_COMMAND ""
     fi
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.