On Thu, Jun 14, 2018 at 4:49 PM robertkwild <[email protected]> wrote:
> thanks for that > > i have added this line to "/etc/pulse/default.pa" - > > load-module module-native-protocol-tcp auth-ip-acl=0.0.0.0/0 > auth-anonymous=1 > > i have made it all 0's as i want all networks to access it, otherwise how > would i go about adding two networks? > > when i restart pulseaudio on the guacamole server i get this - > > W: [pulseaudio] main.c: This program is not intended to be run as root > (unless --system is specified). > > i have also installed pulseaudio on my vnc server that i want guacamole to > connect to and on that connection computer on the guacamole server i have > > Okay, a couple of points of clarification, here. First, the changes made to the default.pa file and (re)starting the PulseAudio service only need to be done on the *VNC Server*, not on the system running guacd (unless those two happen to be the same system, which I gather is *not* the case in your setup). So, make those changes on the VNC server and restart the PulseAudio service, there. Also, as far as the 0.0.0.0/0, you don't need that to allow all Guacamole clients to have audio - you only need to allow the system that's running guacd in that ACL. Basically, PulseAudio needs to be accessible by the system running guacd, and then the Guacamole protocol (between Tomcat and guacd) takes care of encapsulating all of the audio and video for a connection - so guacd converts from PulseAudio to Guacamole and back, sending it over to the Guacamole Client, which then sends it to your browser. On the system running guacd, you really only need to make sure that guacd is compiled with PulseAudio support - so, depending on your Linux distribution, make sure the pulseaudio development packages are installed, and then ./configure guacd and make sure it specifies that PulseAudio is enabled, compile, and (re)install. Hope this helps. -Nick
