[ 
https://issues.apache.org/jira/browse/GUACAMOLE-261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17561459#comment-17561459
 ] 

Paul Kronenwetter edited comment on GUACAMOLE-261 at 7/1/22 1:40 PM:
---------------------------------------------------------------------

[~vnick] I've successfully built containers from your fork, verified a VNC 
connection works as expected.

The containers run on the same host as a libvirt-hosted VM using Spice. The 
connection is made to the server but the "Connected to Guacamole. Waiting for 
response..." banner never clears. In the guacd log I see only this:

{{guacd[2]: INFO:    Creating new client for protocol "spice"}}
{{guacd[2]: INFO:    Connection ID is "$42db52ed-f35b-46cc-b6c2-8a0fa9e937cd"}}
{{guacd[92]: INFO:    User "@584916d4-f541-4a60-a751-97192aa07c22" joined 
connection "$42db52ed-f35b-46cc-b6c2-8a0fa9e937cd" (1 users now present)}}
{{guacd[92]: INFO:    Loading keymap "base"}}
{{guacd[92]: INFO:    Loading keymap "en-us-qwerty"}}
{{guacd[92]: INFO:    User "@584916d4-f541-4a60-a751-97192aa07c22" disconnected 
(0 users remain)}}
{{guacd[92]: INFO:    Last user of connection 
"$42db52ed-f35b-46cc-b6c2-8a0fa9e937cd" disconnected}}
{{guacd[92]: WARNING:    Client did not terminate in a timely manner. Forcibly 
terminating client and any child processes.}}
{{guacd[2]: INFO:    Connection "$42db52ed-f35b-46cc-b6c2-8a0fa9e937cd" 
removed.}}

The last entry before the "infinite" hang at waiting for response is the 
loading en-us-qwerty keymap message.

Any thoughts on where I could go from here?

PS: I needed to patch the server Dockerfile to bring in the spice client libs:

{{diff --git a/Dockerfile b/Dockerfile}}
{{index 81af0cb7..63bad5a8 100644}}
{{--- a/Dockerfile}}
{{+++ b/Dockerfile}}
{{@@ -69,6 +69,7 @@ ARG BUILD_DEPENDENCIES="              \}}
{{         libvncserver-dev              \}}
{{         libwebsockets-dev             \}}
{{         libwebp-dev                   \}}
{{+        libspice-client-glib-2.0-dev  \}}
{{         make"}}
{{ }}
{{ # Do not require interaction during build}}


was (Author: kronenpj):
[~vnick] I've successfully built containers from your fork, verified a VNC 
connection works as expected.

The containers run on the same host as a libvirt-hosted VM using Spice. The 
connection is made to the server but the "Connected to Guacamole. Waiting for 
response..." banner never clears. In the guacd log I see only this:

{{guacd[2]: INFO:    Creating new client for protocol "spice"}}
{{guacd[2]: INFO:    Connection ID is "$42db52ed-f35b-46cc-b6c2-8a0fa9e937cd"}}
{{guacd[92]: INFO:    User "@584916d4-f541-4a60-a751-97192aa07c22" joined 
connection "$42db52ed-f35b-46cc-b6c2-8a0fa9e937cd" (1 users now present)}}
{{guacd[92]: INFO:    Loading keymap "base"}}
{{guacd[92]: INFO:    Loading keymap "en-us-qwerty"}}
{{guacd[92]: INFO:    User "@584916d4-f541-4a60-a751-97192aa07c22" disconnected 
(0 users remain)}}
{{guacd[92]: INFO:    Last user of connection 
"$42db52ed-f35b-46cc-b6c2-8a0fa9e937cd" disconnected}}
{{guacd[92]: WARNING:    Client did not terminate in a timely manner. Forcibly 
terminating client and any child processes.}}
{{guacd[2]: INFO:    Connection "$42db52ed-f35b-46cc-b6c2-8a0fa9e937cd" 
removed.}}

The last entry before the "infinite" hang at waiting for response is the 
loading en-us-qwerty keymap message.

Any thoughts on where I could go from here?

> Support for SPICE protocol
> --------------------------
>
>                 Key: GUACAMOLE-261
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-261
>             Project: Guacamole
>          Issue Type: New Feature
>            Reporter: Mike Jumper
>            Assignee: Nick Couchman
>            Priority: Minor
>         Attachments: Screenshot_2022-06-06_17-27-20.png, 
> guacamole-spice-build.txt, guacd-spice-build.txt
>
>
> {panel:bgColor=#FFFFEE}
> *The description of this issue was copied from 
> [GUAC-124|https://glyptodon.org/jira/browse/GUAC-124], an issue in the JIRA 
> instance used by the Guacamole project prior to its acceptance into the 
> Apache Incubator.*
> Comments, attachments, related issues, and history from prior to acceptance 
> *have not been copied* and can be found instead at the original issue.
> {panel}
> SPICE is becoming quite popular, and is available as part of KVM. Guacamole 
> should add support.
> http://www.spice-space.org/



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to