Hello all. I've been into TC only about 3 weeks and it has become my favorite distro by far...I dig the modular approach, some brilliant thought has gone into this. Thanks to everyone that's had a hand in the hard work.
My Current Problem:
Neither rdesktop nor freeRDP can produce sound locally from a VM server that's serving out RDP.
I have an old dual core, fat host running U-bloat-tu 12.04 LTS, on top of which I run Vbox 4.2.12 r84980 (with matching extension). Inside the VBox I run a headless VM with WinXP which one of my kids accesses from an ancient Acer Aspire netbook on which I recently put TC (ver below). Prior to running TC, the netbook was loaded with XP and has been running ok for about a year now, with audio, in this VDI-ish setup.
I loaded TC on the netbook to speed it up and it has greatly. With TC, the RDP sessions are more stable, start up and operate faster. I'm almost completely sold on the TC/RDP combo. Almost. However, NONE of the RDP client extensions in the TC repo will play audio locally for me. Yet.
I have tried every combination of RDP client and settings I can think of but I still get no local audio.
Here's more system info:
uname -a
Linux box 3.0.21-tinycore #3021 SMP Sat Feb 18 11:54:11 EET 2012 i686 GNU/Linux
lspci | grep -i audio
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)
lsmod | grep snd
snd_hda_codec_realtek 196608 1
snd_hda_intel 20480 3
snd_hda_codec 49152 2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 12288 1 snd_hda_codec
snd_pcm 45056 3 snd_hda_intel,snd_hda_codec
snd_timer 20480 2 snd_pcm
snd 32768 10 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore 12288 1 snd
snd_page_alloc 12288 2 snd_hda_intel,snd_pcm
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC272X Analog [ALC272X Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
dmesg shows no sound driver errors or anything interesting but I can provide that output if requested.
Here's my method all done with alsa.tcz loaded:
First, I checked the TC audio and video by testing youtube and a couple of audio streams; The video and sound appear functional.
Next, I loaded up freeRDP (both freeRDP and freeRDP-ffmpeg versions on respective tests) an hit a terminal with:
xfreerdp -g 85% --plugin rdpsnd --data alsa -- (server)
Result: The RDP/VM session runs. Great video. No local sound. No terminal errors.
After much searching/reading I also tried the following respectively:
xfreerdp -g 85% --plugin drdynvc --data tsmf -- (server)
xfreerdp -g 85% --plugin drdynvc --data tsmf:audio:pulse -- (server)
xfreerdp -g 85% --plugin rdpsnd --data alsa -- (server)
Result: The RDP/VM session runs. Great video. No local sound. No terminal errors.
I repeated the last three respective commands with pulseaudio.tcz loaded too. I got the same results.
Just as a control, I tried an RDP client I had previously loaded on one of my tablets which produced video and sound locally from the same VM. I know the server side of the equation is at least doing what I want it to do.
Next, I rebooted the TC Netbook to a clean slate and reloaded alsa.tcz followed by rdesktop.tcz.
This time I hit a terminal with the following on respective tests:
rdesktop -g 320x240 -r sound:local (server)
rdesktop -g 320x240 -r sound:local:alsa (server)
Result: Mediocre video. No local sound. But some errors that lend a clue?
WARNING: rdp_out_unistr: iconv_open[ANSI_X3.4-1968 -> UTF-16LE] fail 0xffffffff
WARNING: Remote desktop changed from 320x240 to 870x510
WARNING: no working audio-driver found
With the suspect being the netbook audio card and driver I again tried running through the tests listed in the info section of the TC repo App app
. The result?: The test audio wav played flawlessly. (As a matter of fact as I typed this I was listening to online radio on the same TC OS netbook.)
I'm hoping there is either another audio driver someone can suggest trying or another setting in the RDP clients I haven't tried. I'm out of ideas. As stated earlier, the netbook was doing local vid WITH sound via RDP with no issues when it was loaded with XP and using mstsc as the client.
Help me keep Uncle Bill off the netbook, I dont' want to go back. Anyone?