I followed the below steps to generate guacd (Guacamole 1.5.2) .so files.
So, I can deploy it on another machine if I wish.

I took a Linux machine with Ubuntu 20.04.6 installed. Followed the Guacamole
Native installation documentation
<https://guacamole.apache.org/doc/gug/installing-guacamole.html> and
installed the libraries specified in the documentation.
Note: Installed all required libraries using apt install only.

I have copied the generated libs and launcher files into another Linux
machine of the same OS version (installed required libraries).

I was able to start the guacd service without errors. But, when I tried to
use SSH / RDP, I faced issues below.

SSH:
1. Password-based login is working fine.
2. Key-based authentication is not working.
*Error: guacd[21666]: Public key authentication failed: Unable to extract
public key from private key.*
Later, I tried with the libssh2-1.11.0 version (1.8.0 is the default in
Ubuntu 20.04.6), and Then I got the below error.
guacd[23242]: Public key authentication failed: Callback returned error

RDP:
Getting disconnected after a successful login but no display. (error if I
provide wrong login details)
*kernel: [15747103.155263] guacd[16970]: segfault at 0 ip 00007ff8518ccbc0
sp 00007ff84a7fb8a8 error 6 in libc-2.31.so
<http://libc-2.31.so/>[7ff851763000+178000]*

I followed the same steps for the Guacamole 1.4.0 version, where SSH/RDP
both are working fine.

-- 
Kanth

Reply via email to