Hi,
I'm trying to package guacamole for NixOS. I ran into the following issue;
Tomcat is serving the client and serves the login page. Guacd is running
(compiled with ssh support) and I get the following errors. I can see that
the client can at least interact with the server, but the server doesn't
like the protocol, even though it was part of the compilation.
guacd[1080]: INFO: Protocol "ssh" selected
guacd[1080]: WARNING: Support for selected protocol is not installed
tail'd logs:
------------------------------------------------------------------------------------------------------------------------------------------------
==> catalina.out <==
14:18:34.039 [http-bio-8080-exec-5] INFO
o.g.g.n.b.r.a.AuthenticationService - User "XXblehXX" successfully
authenticated from 192.168.1.6.
14:18:34.114 [http-bio-8080-exec-6] ERROR
o.g.g.w.GuacamoleWebSocketTunnelEndpoint - Creation of WebSocket tunnel to
guacd failed: End of stream while waiting for "args".
==> localhost_access_log.2016-08-22.txt <==
192.168.1.6 - - [22/Aug/2016:14:18:34 -0400] "POST /guac/api/tokens
HTTP/1.1" 200 171
192.168.1.6 - - [22/Aug/2016:14:18:34 -0400] "POST /guac/api/tokens
HTTP/1.1" 200 171
192.168.1.6 - - [22/Aug/2016:14:18:34 -0400] "GET
/guac/api/data/default/connectionGroups/ROOT/tree?token=XXblehXXHTTP/1.1"
200 252
192.168.1.6 - - [22/Aug/2016:14:18:34 -0400] "POST /guac/api/tokens
HTTP/1.1" 200 171
192.168.1.6 - - [22/Aug/2016:14:18:34 -0400] "GET
/guac/api/data/default/connections/DEFAULT?token=XXblehXXHTTP/1.1" 200 133
192.168.1.6 - - [22/Aug/2016:14:18:34 -0400] "GET
/guac/websocket-tunnel?token=XXblehXX&GUAC_DATA_SOURCE=default&GUAC_ID=DEFAULT&GUAC_TYPE=c&GUAC_WIDTH=1440&GUAC_HEIGHT=775&GUAC_DPI=96&GUAC_AUDIO=audio%2FL8&GUAC_AUDIO=audio%2FL16&GUAC_IMAGE=image%2Fjpeg&GUAC_IMAGE=image%2Fpng&GUAC_IMAGE=image%2Fwebp
HTTP/1.1" 101 -
192.168.1.6 - - [22/Aug/2016:14:18:34 -0400] "GET
/guac/api/data/default/users/XXblehXX/permissions?token=XXblehXXHTTP/1.1"
200 181
192.168.1.6 - - [22/Aug/2016:14:18:34 -0400] "POST /guac/api/tokens
HTTP/1.1" 200 171
During guacd compile:
------------------------------------------------
guacamole-server version 0.9.9
------------------------------------------------
Library status:
freerdp ............. yes
pango ............... yes
libssh2 ............. yes
libssl .............. yes
libtelnet ........... no
libVNCServer ........ yes
libvorbis ........... yes
libpulse ............ yes
libwebp ............. yes
Protocol support:
RDP ....... yes
SSH ....... yes
Telnet .... no
VNC ....... yes
Init scripts: no
------------------------------------------------------------------------------------------
Contents of user-mapping.xml:
<user-mapping>
<!-- Per-user authentication and config information -->
<authorize username="Redacted" password="Redacted">
<protocol>ssh</protocol>
<param name="hostname">localhost</param>
<param name="port">2002</param>
<param name="private-key">-----BEGIN EC PRIVATE KEY-----
Redacted
-----END EC PRIVATE KEY-----
</param>
<param name="passphrase">redacted</param>
</authorize>
</user-mapping>