You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by Victor Tschetter <ts...@gmail.com> on 2024/05/03 19:23:16 UTC

Unable to get Pulseaudio to stream on FreeBSD

Has anyone gotten Apache Guacamole to work with the built in support for streaming audio using pulseaudio?

I have installed guacamole as a pkg inside a jail. This is the client. 

I have another jail running KDE as a desktop environment, with pulseaudio configured according the the Guacamole docs. It is listening on port 4713, and the module module-protocol-native-tcp is loaded with auth-anonymous=1 to allow any clients to connect.

But when ever I try to connect, guacd fails to connect, seemingly because of authorization. Logs show 

Code:
May  3 12:15:42 guacamole guacd[55774]: Connecting to PulseAudio...
May  3 12:15:42 guacamole guacd[55774]: Authorizing PulseAudio connection...
May  3 12:15:42 guacamole guacd[55774]: PulseAudio connection failed

So I’m curious if anyone has gotten this to work.
Victor

Re: Unable to get Pulseaudio to stream on FreeBSD

Posted by Victor Tschetter <ts...@gmail.com>.
UPDATE:

  

It looks like it is an auth problem.

If the pulseaudio service is not running on the remote side, I get

  

Connecting to pulseaudio…

Pulseaudio connection failed…

  

But if it is running, I get the auth message, then a fail error.

  

 **Victor**

  

> On May 5, 2024, at 12:29, Victor Tschetter <ts...@gmail.com>
> wrote:  
>  
>

> I did go through all the logs I could find, but still nothing. Guacamole
> stills fails to authorize the connection.
>
>  
>
>
>  **Victor**
>
>  
>
>

>> On May 4, 2024, at 11:12, Victor Tschetter <ts...@gmail.com>
wrote:  
>  
>
>

>> Unfortunately I’m having trouble getting to the logs. Pulseaudio says it
logs to syslog, but I’ve checked the entire contents of /var/log to no avail.
And when trying to pulseaudio in verbose mode, the terminal just stalls out.

>>

>>  
>
>>

>>  **Victor**

>>

>>  
>
>>

>>> On May 4, 2024, at 04:58, Nick Couchman <vn...@apache.org> wrote:  
>  
>
>>

>>> 

>>>

>>> On Fri, May 3, 2024 at 3:26 PM Victor Tschetter
<[tschetter.victor@gmail.com](mailto:tschetter.victor@gmail.com)> wrote:  
>
>>>

>>>> Has anyone gotten Apache Guacamole to work with the built in support for
streaming audio using pulseaudio?  
>  
> I have installed guacamole as a pkg inside a jail. This is the client.  
>  
> I have another jail running KDE as a desktop environment, with pulseaudio
> configured according the the Guacamole docs. It is listening on port 4713,
> and the module `module-protocol-native-tcp` is loaded with `auth-
> anonymous=1` to allow any clients to connect.  
>  
> But when ever I try to connect, guacd fails to connect, seemingly because of
> authorization. Logs show  
>  
>
>>>>

>>>> Code:

>>>>  
>>>>  
>>>>     May  3 12:15:42 guacamole guacd[55774]: Connecting to PulseAudio...

>>>>     May  3 12:15:42 guacamole guacd[55774]: Authorizing PulseAudio
connection...

>>>>     May  3 12:15:42 guacamole guacd[55774]: PulseAudio connection failed

>>>>

>>>>  
>
>>>

>>>  
>
>>>

>>> Do you see anything on the KDE side, in the PulseAudio logs, that
indicates that 1) a connection is actually being attempted, and 2) that it is
rejecting authorization and why?

>>>

>>>  
>
>>>

>>> -Nick


Re: Unable to get Pulseaudio to stream on FreeBSD

Posted by Victor Tschetter <ts...@gmail.com>.
I did go through all the logs I could find, but still nothing. Guacamole
stills fails to authorize the connection.

  

 **Victor**

  

> On May 4, 2024, at 11:12, Victor Tschetter <ts...@gmail.com>
> wrote:  
>  
>

> Unfortunately I’m having trouble getting to the logs. Pulseaudio says it
> logs to syslog, but I’ve checked the entire contents of /var/log to no
> avail. And when trying to pulseaudio in verbose mode, the terminal just
> stalls out.
>
>  
>
>
>  **Victor**
>
>  
>
>

>> On May 4, 2024, at 04:58, Nick Couchman <vn...@apache.org> wrote:  
>  
>
>

>> 

>>

>> On Fri, May 3, 2024 at 3:26 PM Victor Tschetter
<[tschetter.victor@gmail.com](mailto:tschetter.victor@gmail.com)> wrote:  
>
>>

>>> Has anyone gotten Apache Guacamole to work with the built in support for
streaming audio using pulseaudio?  
>  
> I have installed guacamole as a pkg inside a jail. This is the client.  
>  
> I have another jail running KDE as a desktop environment, with pulseaudio
> configured according the the Guacamole docs. It is listening on port 4713,
> and the module `module-protocol-native-tcp` is loaded with `auth-
> anonymous=1` to allow any clients to connect.  
>  
> But when ever I try to connect, guacd fails to connect, seemingly because of
> authorization. Logs show  
>  
>
>>>

>>> Code:

>>>  
>>>  
>>>     May  3 12:15:42 guacamole guacd[55774]: Connecting to PulseAudio...

>>>     May  3 12:15:42 guacamole guacd[55774]: Authorizing PulseAudio
connection...

>>>     May  3 12:15:42 guacamole guacd[55774]: PulseAudio connection failed

>>>

>>>  
>
>>

>>  
>
>>

>> Do you see anything on the KDE side, in the PulseAudio logs, that indicates
that 1) a connection is actually being attempted, and 2) that it is rejecting
authorization and why?

>>

>>  
>
>>

>> -Nick


Re: Unable to get Pulseaudio to stream on FreeBSD

Posted by Victor Tschetter <ts...@gmail.com>.
Unfortunately I’m having trouble getting to the logs. Pulseaudio says it logs
to syslog, but I’ve checked the entire contents of /var/log to no avail. And
when trying to pulseaudio in verbose mode, the terminal just stalls out.

  

 **Victor**

  

> On May 4, 2024, at 04:58, Nick Couchman <vn...@apache.org> wrote:  
>  
>

> 
>
> On Fri, May 3, 2024 at 3:26 PM Victor Tschetter
> <[tschetter.victor@gmail.com](mailto:tschetter.victor@gmail.com)> wrote:  
>
>

>> Has anyone gotten Apache Guacamole to work with the built in support for
streaming audio using pulseaudio?  
>  
> I have installed guacamole as a pkg inside a jail. This is the client.  
>  
> I have another jail running KDE as a desktop environment, with pulseaudio
> configured according the the Guacamole docs. It is listening on port 4713,
> and the module `module-protocol-native-tcp` is loaded with `auth-
> anonymous=1` to allow any clients to connect.  
>  
> But when ever I try to connect, guacd fails to connect, seemingly because of
> authorization. Logs show  
>  
>
>>

>> Code:

>>  
>>  
>>     May  3 12:15:42 guacamole guacd[55774]: Connecting to PulseAudio...

>>     May  3 12:15:42 guacamole guacd[55774]: Authorizing PulseAudio
connection...

>>     May  3 12:15:42 guacamole guacd[55774]: PulseAudio connection failed

>>

>>  
>
>
>  
>
>
> Do you see anything on the KDE side, in the PulseAudio logs, that indicates
> that 1) a connection is actually being attempted, and 2) that it is
> rejecting authorization and why?
>
>  
>
>
> -Nick


Re: Unable to get Pulseaudio to stream on FreeBSD

Posted by Nick Couchman <vn...@apache.org>.
On Fri, May 3, 2024 at 3:26 PM Victor Tschetter <ts...@gmail.com>
wrote:

> Has anyone gotten Apache Guacamole to work with the built in support for
> streaming audio using pulseaudio?
>
> I have installed guacamole as a pkg inside a jail. This is the client.
>
> I have another jail running KDE as a desktop environment, with pulseaudio
> configured according the the Guacamole docs. It is listening on port 4713,
> and the module module-protocol-native-tcp is loaded with auth-anonymous=1 to
> allow any clients to connect.
>
> But when ever I try to connect, guacd fails to connect, seemingly because
> of authorization. Logs show
>
> Code:
>
> May  3 12:15:42 guacamole guacd[55774]: Connecting to PulseAudio...
> May  3 12:15:42 guacamole guacd[55774]: Authorizing PulseAudio connection...
> May  3 12:15:42 guacamole guacd[55774]: PulseAudio connection failed
>
>
>
Do you see anything on the KDE side, in the PulseAudio logs, that indicates
that 1) a connection is actually being attempted, and 2) that it is
rejecting authorization and why?

-Nick