Hmmm...

Try sticking the following script in a file:

#!/bin/sh

if [ ! -e /usr/lib/libesd.so.1 -a -e /usr/lib/libesd.so.0 ]; then
  ln -s /usr/lib/libesd.so.0 /usr/lib/libesd.so.1 2>/dev/null
fi

if [ ! -f /tmp/.esd/socket ]; then
  logger "/tmp/.esd/socket is missing. replacing..."
  rm -rf /tmp/.esd 2>/dev/null
  mkdir /tmp/.esd
  touch /tmp/.esd/socket
else
  touch /tmp/.esd/socket
fi



And execute this script upon login (ie, run the script out
of /etc/X11/gdm/PreSession/Default).

This fixes things for flash plugin, etc.  But, you *should* get system
sounds by default, if you are using Ubuntu.

In any event, no need to run esd on the server.  

If you want to pop into #ltsp on irc.freenode.net, maybe we can sort
things out.  Lot more Ubuntu guys in #ltsp these days....

-Gadi


On Tue, 2005-08-16 at 15:08 -0400, Joe Auerbach wrote:
> Gideon Romm wrote:
> 
> >If you use SOUND_DAEMON = "esd" , Ubuntu will work right-out-of-the-box.
> >no need for ltsp-sound pkg on server.
> >
> >This is because, as of the newer Gnome/KDE, both desktops go through
> >gstreamer for sound, and Ubuntu sets up gstreamer to use ESD as output
> >by default.
> >
> >If you are not on Ubuntu, you can go to Multimedia Systems Selector
> >(usually under Preferences) and switch the Audio output to ESD.
> >
> In that case, I have a problem.
> 
> When I try yo access the volume control from a remote workstation I get 
> teh following:
> "Cannot connect to sound daemon.  Please run 'esd' from a command prompt."
> 
> I do so and I get the following:
> "[EMAIL PROTECTED]:~$ esd
> esd: Failed to fix owner of /tmp/.esd.
> Try -trust to force esd to start.
> esd: Esound sound daemon unable to create inix domain socket:
> /tmp/.esd/socket
> The Socket is not accessible by esd.
> Exiting. . ."
> 
> If I run the command as my "root" user (using Ubuntu, so this is as the 
> forst account created) I get:
> 
> "[EMAIL PROTECTED]:/home/user$ esd
> esd: Esound sound daemon already running or stale UNIX socket
> /tmp/.esd/socket
> This socket already exists indicating esd is already running.
> Exiting. . . "
> 
> odd.  So I try the -trust as suggested and I get the same error. 
> 
> I tried to import an .ogg file that I ripped real quick from CD and drop 
> it into teh user home directory with full ownership and permissions for 
> that user and I still couldn't play it (ie the program made no attempt, 
> not just that there was no sound).  An error about it being unable to 
> open the writer.
> 
> The base system runs fine.  I don't have speakers set up, but the file 
> runs fine and plays without error. 
> 



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to