Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Dec 2006 22:17:17 -0700 (MST)
From:      "Antonio Arredondo" <aarredon@cs.nmsu.edu>
To:        "Roger Olofsson" <raggen@passagen.se>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: X server remote login and sound
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>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?64085.71.210.233.122.1166764637.squirrel>