With the installation in Debian 12 I was unable to install the MariaDB connector.Since mine is only a test environment, I redid the installation starting with Ubuntu 22.04.3.I follow the guide step by step, without any errors, until I launch systemctl status guacd The only difference compared to the previous installation is that on Debian I had everything installed as "root" and here with my user always using "sudo".
~$ systemctl status guacd× guacd.service - Guacamole Server Loaded: loaded (/etc/systemd/system/guacd.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Mon 2024-02-19 17:21:34 CET; 5s ago Docs: man:guacd(8) Process: 1363 ExecStart=/usr/local/sbin/guacd -f (code=exited, status=1/FAILURE) Main PID: 1363 (code=exited, status=1/FAILURE) CPU: 35ms Feb 19 17:21:34 pc-sys systemd[1]: Started Guacamole Server.Feb 19 17:21:34 pc-sys guacd[1363]: Guacamole proxy daemon (guacd) version 1.5.4 startedFeb 19 17:21:34 pc-sys guacd[1363]: guacd[1363]: INFO: Guacamole proxy daemon (guacd) version 1.5.4 startedFeb 19 17:21:34 pc-sys guacd[1363]: guacd[1363]: ERROR: Could not write PID file: Permission deniedFeb 19 17:21:34 pc-sys guacd[1363]: Could not write PID file: Permission deniedFeb 19 17:21:34 pc-sys systemd[1]: guacd.service: Main process exited, code=exited, status=1/FAILUREFeb 19 17:21:34 pc-sys systemd[1]: guacd.service: Failed with result 'exit-code'.