From owner-freebsd-questions@FreeBSD.ORG Tue Oct 10 22:28:57 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 54CB516A403 for ; Tue, 10 Oct 2006 22:28:57 +0000 (UTC) (envelope-from raymond.gibson@verizon.net) Received: from vms046pub.verizon.net (vms046pub.verizon.net [206.46.252.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id 113AD43D8F for ; Tue, 10 Oct 2006 22:28:47 +0000 (GMT) (envelope-from raymond.gibson@verizon.net) Received: from fireball.gibson.net ([72.64.91.149]) by vms046.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0J6X00F5OYFPPFTC@vms046.mailsrvcs.net> for freebsd-questions@freebsd.org; Tue, 10 Oct 2006 17:28:37 -0500 (CDT) Date: Tue, 10 Oct 2006 17:28:36 -0500 From: Raymond Gibson In-reply-to: <20061010004301.GA63897@polands.org> To: freebsd-questions@freebsd.org Message-id: <200610101728.37189.raymond.gibson@verizon.net> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7bit Content-disposition: inline References: <200610091600.23956.raymond.gibson@verizon.net> <20061010004301.GA63897@polands.org> User-Agent: KMail/1.9.1 Cc: Doug Poland Subject: Re: requesting help to make sound work on thin/diskless client X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: raymond.gibson@verizon.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Oct 2006 22:28:57 -0000 On Monday 09 October 2006 19:43, Doug Poland wrote: > On Mon, Oct 09, 2006 at 04:00:23PM -0500, Raymond Gibson wrote: > > Hello, > > > > I'm looking for help. I built a thin/diskless client that I boot via > > etherboot. After power up the client boots and gives me a login > > prompt. At that time I enter 'root' and I am presented with a command > > prompt. I then enter 'X -query ' and X starts and it works > > as expected. > > > > I would like to add sound. Unfortunately, I can't find documentation > > describing this process. So, could someone explain to me how to > > configure the client/server? My server is FreeBSD 6.1-RELEASE. > > > > BTW: I installed an ISA soundblaster sound and compiled these lines into > > my kernel. The kernel detects the sound card during boot-up. > > > > # Add the generic audio driver > > device sound > > device snd_sbc > > device snd_sb16 > > I have had good results using /usr/ports/audio/esound. Install on both > the client and the server. On the client, run something like this > before you start X: > > client% esd -tcp -public -promiscuous -beeps -trust -bind 10.0.0.1 > > where 10.0.0.1 is the IP address of the client's network interface. > > Connect to the server just as you have described. When ever you run a > program that has esd support compiled in, the audio will be directed > to the client. > > Programs compiled with ESD support appear to direct sound to the host > indicated by the DISPLAY environment variable. That should set > correctly if the server you're attaching to is running xdm, gdm, or kdm. > > You may also have to set ESPEAKER, but I've found that just DISPLAY > works for me. I'm not having much luck. I installed esound on both client and server. I start esound on the server; esd &, the server responds with several beeps. On the client I start esd as described above, I also hear beeps when esd starts. I start X, then login to KDE. I start Xmms with esound enabled. I get an error saying 'can't open audio'. any ideas?