You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by christopherbalz <ch...@chrisbalz.com> on 2017/07/30 23:48:04 UTC

What are some tips for debugging no audio heard?

Under vnc, I've got sound levels showing on the remote machine (where
Guacamole is running and the desktop of which Guacamole is showing), but I
don't hear any sound on Google Chrome (have not tried on other browsers).

The setting enable-audio is set and audio-servername is left unset.  Audio
is currently redirected to the dummy sound card on the remote machine, in
case that matters (the remote machine has no physical sound card).

What would be good troubleshooting steps to take?



--
View this message in context: http://apache-guacamole-incubating-users.2363388.n4.nabble.com/What-are-some-tips-for-debugging-no-audio-heard-tp1422.html
Sent from the Apache Guacamole (incubating) - Users mailing list archive at Nabble.com.

Re: What are some tips for debugging no audio heard?

Posted by Mike Jumper <mi...@guac-dev.org>.
On Sat, Aug 5, 2017 at 1:16 PM, christopherbalz <ch...@chrisbalz.com> wrote:
> About the first question:
> - For guacd, have you linked the necessary Guacamole libraries into the
> FreeRDP lib directory?  The following thread should help you with that - the
> guacdr.so and guacsnd.so files are the ones you're interested in.
> https://sourceforge.net/p/guacamole/discussion/1110834/thread/76764d35/?limit=25
> A: The guacdr-client.so and guacsnd-client.so files have been linked.
>
> We want to first make a clean picture of the system we are running and see
> if it answers your other questions:
> - We have one EC2 with Ubuntu 16.04 LTS installed. We have deployed
> Guacamole in this machine.
> - We can use both VNC viewer as well as browsers (like Chrome or Firefox) to
> load the remote desktop via our laptops. Our laptops are also running Ubuntu
> and the sound system is working perfectly in these laptops.

Are you saying that Guacamole has been installed on the same machine
as the VNC server?

> - Connecting a local PulseAudio sound server directly to the PulseAudio
> server on the remote instance actually does deliver sound that we can hear
> on our local laptop.
> - We've double-checked the enable-audio setting, the added line in
> /etc/pulse/default.pa, and the `netstat -ln | grep 4713` result.

If Guacamole is running on the same machine as the VNC server, have
you tried specifying "localhost" for the PulseAudio server name in the
configuration of the Guacamole connection?

If not, have you tried specifying the IP address of the VNC server?

- Mike

Re: What are some tips for debugging no audio heard?

Posted by christopherbalz <ch...@chrisbalz.com>.
About the first question: 
- For guacd, have you linked the necessary Guacamole libraries into the
FreeRDP lib directory?  The following thread should help you with that - the
guacdr.so and guacsnd.so files are the ones you're interested in. 
https://sourceforge.net/p/guacamole/discussion/1110834/thread/76764d35/?limit=25
A: The guacdr-client.so and guacsnd-client.so files have been linked. 

We want to first make a clean picture of the system we are running and see
if it answers your other questions: 
- We have one EC2 with Ubuntu 16.04 LTS installed. We have deployed
Guacamole in this machine. 
- We can use both VNC viewer as well as browsers (like Chrome or Firefox) to
load the remote desktop via our laptops. Our laptops are also running Ubuntu
and the sound system is working perfectly in these laptops. 
- Connecting a local PulseAudio sound server directly to the PulseAudio
server on the remote instance actually does deliver sound that we can hear
on our local laptop.
- We've double-checked the enable-audio setting, the added line in
/etc/pulse/default.pa, and the `netstat -ln | grep 4713` result. 
- When we load the remote desktop in our browsers or VNC viewer, and we try
to play a video or music in the remote desktop (by opening Chrome or Firefox
in the remote system), we can see that the decibel meter is bouncing in
PulseAudio volume control in the remote desktop and also in the remote
desktop Chrome we see the small sound icon. But we cannot hear any audio. In
the volume control gui of the remote desktop we see "Dummy Output" virtual
device against which the meter bounces.




--
View this message in context: http://apache-guacamole-incubating-users.2363388.n4.nabble.com/What-are-some-tips-for-debugging-no-audio-heard-tp1422p1483.html
Sent from the Apache Guacamole (incubating) - Users mailing list archive at Nabble.com.

Re: What are some tips for debugging no audio heard?

Posted by Nick Couchman <ni...@yahoo.com>.
I guess I'd start by asking the following questions:
- For guacd, have you linked the necessary Guacamole libraries into the FreeRDP lib directory?  The following thread should help you with that - the guacdr.so and guacsnd.so files are the ones you're interested in.  https://sourceforge.net/p/guacamole/discussion/1110834/thread/76764d35/?limit=25- What platform is the client (Chrome + Guacamole) running?- Are you getting sound from other web sites on that system - e.g., if you go to YouTube and play a video, do you get sound?- When you say you're showing sound levels on the remote machine and the desktop of Chrome, what do you mean?  Are you running the mixer on both systems and seeing the little decibel meter bounce?- In Chrome, when you play a sound on the remote machine, do you see the little sound icon show up on the toolbar?
-Nick

On Sunday, July 30, 2017, 7:48:23 PM EDT, christopherbalz <ch...@chrisbalz.com> wrote:

Under vnc, I've got sound levels showing on the remote machine (where
Guacamole is running and the desktop of which Guacamole is showing), but I
don't hear any sound on Google Chrome (have not tried on other browsers).

The setting enable-audio is set and audio-servername is left unset.  Audio
is currently redirected to the dummy sound card on the remote machine, in
case that matters (the remote machine has no physical sound card).

What would be good troubleshooting steps to take?



--
View this message in context: http://apache-guacamole-incubating-users.2363388.n4.nabble.com/What-are-some-tips-for-debugging-no-audio-heard-tp1422.html
Sent from the Apache Guacamole (incubating) - Users mailing list archive at Nabble.com.