On Tue, Sep 19, 2023 at 10:38 AM ali.masoudi0 <[email protected]> wrote:
> Do these errors tell you anything? > > [2023-09-19 12:59:36] [info] Starting Servlet engine: [Apache > Tomcat/9.0.58 (Ubuntu)] > [2023-09-19 12:59:37] [info] Deploying web application archive > [/var/lib/tomcat9/webapps/guacamole.war] > [2023-09-19 12:59:43] [info] At least one JAR was scanned for TLDs yet > contained no TLDs. Enable debug logging for this logger for a complete list > of JARs that were scanned but no TLDs were found in the> > [2023-09-19 12:59:44] [info] 12:59:44.028 [main] INFO > o.a.g.environment.LocalEnvironment - GUACAMOLE_HOME is "/etc/guacamole". > [2023-09-19 12:59:44] [info] 12:59:44.130 [main] INFO > o.a.g.GuacamoleServletContextListener - Read configuration parameters from > "/etc/guacamole/guacamole.properties". > [2023-09-19 12:59:44] [info] 12:59:44.132 [main] INFO > o.a.g.rest.auth.HashTokenSessionMap - Sessions will expire after 60 > minutes of inactivity. > [2023-09-19 12:59:44] [info] 12:59:44.601 [main] INFO > o.a.g.a.mysql.conf.MySQLEnvironment - Installed JDBC driver for > MySQL/MariaDB detected as "MySQL Connector/J". > [2023-09-19 12:59:45] [info] 12:59:45.620 [main] INFO > o.a.g.extension.ExtensionModule - Extension "MySQL Authentication" (mysql) > loaded. > [2023-09-19 12:59:45] [info] 12:59:45.774 [main] INFO > o.a.g.t.w.WebSocketTunnelModule - Loading JSR-356 WebSocket support... > [2023-09-19 12:59:46] [info] 12:59:46.344 [main] WARN > o.g.jersey.server.wadl.WadlFeature - JAXBContext implementation could not > be found. WADL feature is disabled. > [2023-09-19 12:59:46] [info] Deployment of web application archive > [/var/lib/tomcat9/webapps/guacamole.war] has finished in [9,410] ms > [2023-09-19 12:59:46] [info] Deploying web application directory > [/var/lib/tomcat9/webapps/ROOT] > [2023-09-19 12:59:47] [info] At least one JAR was scanned for TLDs yet > contained no TLDs. Enable debug logging for this logger for a complete list > of JARs that were scanned but no TLDs were found in the> > [2023-09-19 12:59:47] [info] Deployment of web application directory > [/var/lib/tomcat9/webapps/ROOT] has finished in [523] ms > [2023-09-19 12:59:47] [info] Starting ProtocolHandler ["http-nio-8080"] > [2023-09-19 12:59:47] [info] Server startup in [10697] milliseconds > [2023-09-19 16:32:58] [info] Loading class `com.mysql.jdbc.Driver'. This > is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The > driver is automatically registered via the SPI and manual > > [2023-09-19 16:33:01] [info] 16:33:01.975 [http-nio-8080-exec-9] INFO > o.a.g.r.auth.AuthenticationService - User "guacadmin" successfully > authenticated from 127.0.0.1. > [2023-09-19 16:33:09] [info] 16:33:09.290 [http-nio-8080-exec-8] INFO > o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to > connection "1". > [2023-09-19 16:33:09] [info] 16:33:09.425 [http-nio-8080-exec-2] INFO > o.a.g.tunnel.TunnelRequestService - User "guacadmin" disconnected from > connection "1". Duration: 127 milliseconds > [2023-09-19 16:33:13] [info] 16:33:13.264 [http-nio-8080-exec-10] INFO > o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to > connection "2". > [2023-09-19 16:33:13] [info] 16:33:13.317 [http-nio-8080-exec-7] INFO > o.a.g.tunnel.TunnelRequestService - User "guacadmin" disconnected from > connection "2". Duration: 53 milliseconds > Just that the client-side is working correctly - it is connecting to the tunnel and then getting disconnected. You'll need to grab the guacd logs (syslog, journalctl, wherever your system logs those) and figure out why guacd is disconnecting. -Nick
