Is all this with SOUND=False in lts.conf?

The error that you get with alsamixer suggests that the pulse soundcard
is set as the default soundcard- which is odd (and the source of your
problem).  

Well, if all else fails, instead of killing pulseaudio, you can work
with it and add:

export PULSE_SERVER=tcp:127.0.0.1:4713

to the rdesktop screen script.  If that *still* doesn't work, you can
install "pulseaudio-utils" in the chroot and make the screen script
call:

padsp rdesktop -r sound:local:oss ....

But, this is getting ugly.  What distro did you say you are using?

-Gadi

On Wed, 2009-09-02 at 16:32 -0600, David Burgess wrote:
> r...@ltsp371:~# alsamixer
> ALSA lib pulse.c:272:(pulse_connect) PulseAudio: Unable to connect:
> Connection refused
> 
> 
> alsamixer: function snd_ctl_open failed for default: Connection refused
> 
> 
> r...@ltsp371:~# ps aux | grep -i pulse
> root      8474  0.0  0.2   2076   576 pts/0    S+   16:28   0:00 grep -i pulse
> 
> 
> r...@ltsp371:~# lspci | grep audio
> 00:04.0 Multimedia audio controller: ALi Corporation M5455 PCI AC-Link
> Controller Audio Device (rev 10)
> r...@ltsp371:~#
> 
> I think I must have the sound driver because sound works in an ldm
> session. It's quite loud too, so I don't know that alsamixer would be
> the answer if it did run.
> 
> db
> 
> On Wed, Sep 2, 2009 at 4:21 PM, Gideon Romm<[email protected]> 
> wrote:
> > In the shell, run "alsamixer"
> >
> > if it works, turn the volume way up.
> > if it doesn't, you probably don't have the soundcard driver for the
> > soundcard.  check: lsmod|grep snd
> >
> > Do you know what soundcard it has?
> >
> > also, rdesktop should be:  -r sound:local
> >
> > -Gadi
> >
> > On Wed, 2009-09-02 at 16:09 -0600, David Burgess wrote:
> >> No joy. I tried both methods. Although 'ps aux | grep -i pulse'
> >> doesn't show in the shell, still no sound from the rdp session.
> >>
> >> Any other ideas?
> >>
> >> db
> >>
> >> On Wed, Sep 2, 2009 at 3:21 PM, Gideon Romm<[email protected]> 
> >> wrote:
> >> > This might seem odd, but try setting:
> >> >
> >> > SOUND=False
> >> >
> >> > in your lts.conf.
> >> >
> >> > By default, LTSP runs pulseaudio on startup, which hogs the audio
> >> > device.  You either need to add a "pkill pulseaudio" to the rdesktop
> >> > screen script, or make rdesktop use pulseaudio, or, as with SOUND=False,
> >> > instruct LTSP not to start the sound daemon (udev should still load the
> >> > sound driver modules).
> >> >
> >> > Cheers,
> >> >
> >> > -Gadi
> >> >
> >> > On Wed, 2009-09-02 at 14:58 -0600, David Burgess wrote:
> >> >> Hi, it's me again.
> >> >>
> >> >> Thanks to good help from the list so far I have my tc booting up to
> >> >> rdp. I can log in, and all seems well, but no sound.
> >> >>
> >> >> I'm using ubuntu 9.04 x86_64 as ltsp server. Here are some lines from 
> >> >> lts.conf:
> >> >>
> >> >> SCREEN_07=rdesktop
> >> >> RDP_OPTIONS="-dGPRC -z -a24 -P -f -0 -rsound:local -u userid"
> >> >>
> >> >> I also tried with "-rsound:remote" and without the "-0", but still no
> >> >> sound. I tried an ldm login and sound worked there.
> >> >>
> >> >> I have tc's on identical hardware connecting to the same Windows term
> >> >> server and they get sound. They are using a local debian-based boot
> >> >> image with the following command line:
> >> >>
> >> >> rdesktop -dGPRC -f -a24 -rsound:local -ken-us -z -rdisk:usbdev
> >> >> /media/usb0 fvtc001
> >> >>
> >> >> Something to do with ubuntu's sound server perhaps?
> >> >>
> >> >> db
> >> >>
> >> >> ------------------------------------------------------------------------------
> >> >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 
> >> >> 30-Day
> >> >> trial. Simplify your report design, integration and deployment - and 
> >> >> focus on
> >> >> what you do best, core application coding. Discover what's new with
> >> >> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> >> >> _____________________________________________________________________
> >> >> 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
> >> > --
> >> > --------------------------------------------------------
> >> > Gideon Romm | Proud LTSP Developer
> >> > [email protected]
> >> >
> >> > Pay It Forward!
> >> > Intel Atom 1.6GHz, 512MB RAM + Symbiont Boot Stick = $275
> >> > 10% of order goes to school or open source project of your choice!
> >> >
> >> > Buy yourself a lab or office and use your donation to set up a school,
> >> > pay for a desperately needed feature added to a software package,
> >> > or sponsor part of LTSP's annual developer's conference LTSP-by-the-sea!
> >> >
> >> > Check out:  http://www.symbio-technologies.com/payitforward
> >> >
> >> >
> >> > ------------------------------------------------------------------------------
> >> > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 
> >> > 30-Day
> >> > trial. Simplify your report design, integration and deployment - and 
> >> > focus on
> >> > what you do best, core application coding. Discover what's new with
> >> > Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> >> > _____________________________________________________________________
> >> > 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
> >> >
> >>
> >> ------------------------------------------------------------------------------
> >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> >> trial. Simplify your report design, integration and deployment - and focus 
> >> on
> >> what you do best, core application coding. Discover what's new with
> >> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> >> _____________________________________________________________________
> >> 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
> > --
> > --------------------------------------------------------
> > Gideon Romm | Proud LTSP Developer
> > [email protected]
> >
> > Pay It Forward!
> > Intel Atom 1.6GHz, 512MB RAM + Symbiont Boot Stick = $275
> > 10% of order goes to school or open source project of your choice!
> >
> > Buy yourself a lab or office and use your donation to set up a school,
> > pay for a desperately needed feature added to a software package,
> > or sponsor part of LTSP's annual developer's conference LTSP-by-the-sea!
> >
> > Check out:  http://www.symbio-technologies.com/payitforward
> >
> >
> > ------------------------------------------------------------------------------
> > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> > trial. Simplify your report design, integration and deployment - and focus 
> > on
> > what you do best, core application coding. Discover what's new with
> > Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> > _____________________________________________________________________
> > 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
> >
> 
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
> trial. Simplify your report design, integration and deployment - and focus on 
> what you do best, core application coding. Discover what's new with 
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _____________________________________________________________________
> 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
-- 
--------------------------------------------------------
Gideon Romm | Proud LTSP Developer
[email protected]

Pay It Forward!  
Intel Atom 1.6GHz, 512MB RAM + Symbiont Boot Stick = $275
10% of order goes to school or open source project of your choice!

Buy yourself a lab or office and use your donation to set up a school,
pay for a desperately needed feature added to a software package,
or sponsor part of LTSP's annual developer's conference LTSP-by-the-sea!

Check out:  http://www.symbio-technologies.com/payitforward 


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_____________________________________________________________________
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