From owner-freebsd-questions@FreeBSD.ORG Fri Dec 22 05:27:20 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 67D4716A403 for ; Fri, 22 Dec 2006 05:27:20 +0000 (UTC) (envelope-from aarredon@cs.nmsu.edu) Received: from mail.cs.nmsu.edu (mail.cs.nmsu.edu [128.123.64.3]) by mx1.freebsd.org (Postfix) with ESMTP id 348F913C442 for ; Fri, 22 Dec 2006 05:27:20 +0000 (UTC) (envelope-from aarredon@cs.nmsu.edu) Received: from intranet.cs.nmsu.edu (intranet [128.123.64.22]) by mail.cs.nmsu.edu (8.12.11/8.12.10) with ESMTP id kBM5HHK8013285; Thu, 21 Dec 2006 22:17:17 -0700 (MST) Received: from intranet.cs.nmsu.edu (localhost [IPv6:::1]) by intranet.cs.nmsu.edu (8.12.10+Sun/8.12.2) with ESMTP id kBM5HHHo002303; Thu, 21 Dec 2006 22:17:17 -0700 (MST) Received: (from nobody@localhost) by intranet.cs.nmsu.edu (8.12.10+Sun/8.12.2/Submit) id kBM5HHdU002302; Thu, 21 Dec 2006 22:17:17 -0700 (MST) X-Authentication-Warning: intranet.cs.nmsu.edu: nobody set sender to aarredon@cs.nmsu.edu using -f Received: from 71.210.233.122 (SquirrelMail authenticated user aarredon) by intranet.cs.nmsu.edu with HTTP; Thu, 21 Dec 2006 22:17:17 -0700 (MST) Message-ID: <64085.71.210.233.122.1166764637.squirrel@intranet.cs.nmsu.edu> In-Reply-To: <45899E9F.6040803@passagen.se> References: <45899E9F.6040803@passagen.se> Date: Thu, 21 Dec 2006 22:17:17 -0700 (MST) From: "Antonio Arredondo" To: "Roger Olofsson" User-Agent: SquirrelMail/1.4.6 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-questions@freebsd.org Subject: Re: X server remote login and sound X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Dec 2006 05:27:20 -0000 > Dear mailing list, > > First of all, thanks you for the thread "X server remote login" I read > it and configured a FreeBSD as follows: > > # cd /usr/ports/x11/xorg && make install clean > # cd /usr/ports/x11/wdm && make install clean > # cd /usr/ports/x11-wm/fluxbox-devel && make install clean > > Then I configured according to: http://www.damnsmallbsd.org/~helio/#GUI > > After that I fired up wdm, installed Xming from Sourceforge on a windows > machine, fired up XLaunch and hey presto remote FreeBSD desktop! > > Now the follow-up question. How do I squeeze sound through? I want vlc > running on the FreeBSD desktop to play sound on the Xming:ed Windows > machine. > > Grateful for any input on the matter. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > Roger, Not sure if the sound will work via a "session" from windows, but here is the info that I used to run "thin client" desktops with sound. First thing you need is a network sound daemon. I used esd, a bit old, but is does have support for other apps. I then set a esd to run in public mode on the server, 'esd --public --nobeeps' ( check man esd for more options ). Once the sound daemon is running, login to the machine, fire up vlc. You should then be able to set the audio output in vlc options to the ip of the machine that is launching the remote session. This did the trick for me. On the other hand if you just want audio, I recommend xmms. It supports many audio formats. It also has the advantage of not needing the additional overhead that vlc does for video. xmms has a plugin for esd that you will need to use to get the audio to work with your window session. Hope this helps, Antonio