Good evening, I have installed Apache Guacamole 1.3.0 on a VM with Oracle Linux 8.2 for testing purposes, using Apache Tomcat 8.5
While SSH session works fine, on the RDP session, it shows a screen with another mouse pointer (one would think this is it) but it never lasts more than 4 seconds, it disconnects. Been trying to work out what could be the issue. Sending the outputs of *guacd *and also *catalina* and *localhost_access_log *and also logs , as the error messages regarding permission denied have me baffled, whereas the file ownership and permissions seem fine in my configuration. *# tail -f /var/log/messages* Apr 6 10:20:57 rdgtwlab guacd[98736]: Connection ID is "$dcc1d4ef-9819-409a-86df-06e9d8af0d48" Apr 6 10:20:57 rdgtwlab guacd[98891]: Security mode: Negotiate (ANY) Apr 6 10:20:57 rdgtwlab guacd[98891]: Resize method: none Apr 6 10:20:57 rdgtwlab guacd[98891]: User "@61c3d530-91cc-4f9c-ad50-66974c97ce8f" joined connection "$dcc1d4ef-9819-409a-86df-06e9d8af0d48" (1 users now present) Apr 6 10:20:57 rdgtwlab guacd[98891]: Loading keymap "base" Apr 6 10:20:57 rdgtwlab guacd[98891]: Loading keymap "en-us-qwerty" Apr 6 10:20:57 rdgtwlab guacd[98891]: Connected to RDPDR 1.13 as client 0x0002 Apr 6 10:20:57 rdgtwlab systemd[1]: Started Process Core Dump (PID 98904/UID 0). Apr 6 10:20:58 rdgtwlab guacd[98736]: Connection "$dcc1d4ef-9819-409a-86df-06e9d8af0d48" removed. Apr 6 10:20:58 rdgtwlab systemd-coredump[98907]: Process 98891 (guacd) of user 0 dumped core.#012#012Stack trace of thread 98896:#012#0 0x00007f1aada987ef raise (libc.so.6)#012#1 0x00007f1aada82c45 abort (libc.so.6)#012#2 0x00007f1aadadb987 __libc_message (libc.so.6)#012#3 0x00007f1aadae2d8c malloc_printerr (libc.so.6)#012#4 0x00007f1aadae4afd _int_free (libc.so.6)#012#5 0x00007f1aa8a75328 Stream_Free (libwinpr2.so.2)#012#6 0x00007f1aa90031cd channel_queue_message_free.part.0 (libfreerdp2.so.2)#012#7 0x00007f1aa90037ea freerdp_channels_process_sync.isra.2 (libfreerdp2.so.2)#012#8 0x00007f1aa900440f freerdp_channels_check_fds (libfreerdp2.so.2)#012#9 0x00007f1aa9001c69 freerdp_check_event_handles (libfreerdp2.so.2)#012#10 0x00007f1aa92f0a59 guac_rdp_handle_connection (libguac-client-rdp.so)#012#11 0x00007f1aae7b016a start_thread (libpthread.so.0)#012#12 0x00007f1aadb5df23 __clone (libc.so.6)#012#012Stack trace of thread 98891:#012#0 0x00007f1aae7ba7d7 recvmsg (libpthread.so.0)#012#1 0x0000000000403dae guacd_recv_fd (guacd)#012#2 0x00000000004040b1 guacd_exec_proc (guacd)#012#3 0x00000000004036a1 guacd_route_connection (guacd)#012#4 0x00007f1aae7b016a start_thread (libpthread.so.0)#012#5 0x00007f1aadb5df23 __clone (libc.so.6)#012#012Stack trace of thread 98893:#012#0 0x00007f1aae7b9fd0 __nanosleep (libpthread.so.0)#012#1 0x00007f1aaf397fa0 __guac_socket_keep_alive_thread (libguac.so.19)#012#2 0x00007f1aae7b016a start_thread (libpthread.so.0)#012#3 0x00007f1aadb5df23 __clone (libc.so.6)#012#012Stack trace of thread 98894:#012#0 0x00007f1aae7b165d __GI___pthread_timedjoin_ex (libpthread.so.0)#012#1 0x00007f1aaf39a73b guac_user_start (libguac.so.19)#012#2 0x0000000000404316 guacd_user_thread (guacd)#012#3 0x00007f1aae7b016a start_thread (libpthread.so.0)#012#4 0x00007f1aadb5df23 __clone (libc.so.6)#012#012Stack trace of thread 98897:#012#0 0x00007f1aadb52ca1 __poll (libc.so.6)#012#1 0x00007f1aaf39a815 guac_wait_for_fd (libguac.so.19)#012#2 0x00007f1aaf39831b guac_socket_fd_select_handler (libguac.so.19)#012#3 0x00007f1aaf3945de guac_parser_read (libguac.so.19)#012#4 0x00007f1aaf39a305 guac_user_input_thread (libguac.so.19)#012#5 0x00007f1aae7b016a start_thread (libpthread.so.0)#012#6 0x00007f1aadb5df23 __clone (libc.so.6)#012#012Stack trace of thread 98899:#012#0 0x00007f1aadb52ca1 __poll (libc.so.6)#012#1 0x00007f1aa8a5f44b WaitForMultipleObjects (libwinpr2.so.2)#012#2 0x00007f1aa8a98a1b thread_pool_work_func (libwinpr2.so.2)#012#3 0x00007f1aa8a9a506 thread_launcher (libwinpr2.so.2)#012#4 0x00007f1aae7b016a start_thread (libpthread.so.0)#012#5 0x00007f1aadb5df23 __clone (libc.so.6)#012#012Stack trace of thread 98900:#012#0 0x00007f1aadb52ca1 __poll (libc.so.6)#012#1 0x00007f1aa8a5f44b WaitForMultipleObjects (libwinpr2.so.2)#012#2 0x00007f1aa8a98a1b thread_pool_work_func (libwinpr2.so.2)#012#3 0x00007f1aa8a9a506 thread_launcher (libwinpr2.so.2)#012#4 0x00007f1aae7b016a start_thread (libpthread.so.0)#012#5 0x00007f1aadb5df23 __clone (libc.so.6)#012#012Stack trace of thread 98901:#012#0 0x00007f1aadb52ca1 __poll (libc.so.6)#012#1 0x00007f1aa8a5f44b WaitForMultipleObjects (libwinpr2.so.2)#012#2 0x00007f1aa8a98a1b thread_pool_work_func (libwinpr2.so.2)#012#3 0x00007f1aa8a9a506 thread_launcher (libwinpr2.so.2)#012#4 0x00007f1aae7b016a start_thread (libpthread.so.0)#012#5 0x00007f1aadb5df23 __clone (libc.so.6)#012#012Stack trace of thread 98902:#012#0 0x00007f1aadb52ca1 __poll (libc.so.6)#012#1 0x00007f1aa8a5f44b WaitForMultipleObjects (libwinpr2.so.2)#012#2 0x00007f1aa8a98a1b thread_pool_work_func (libwinpr2.so.2)#012#3 0x00007f1aa8a9a506 thread_launcher (libwinpr2.so.2)#012#4 0x00007f1aae7b016a start_thread (libpthread.so.0)#012#5 0x00007f1aadb5df23 __clone (libc.so.6)#012#012Stack trace of thread 98903:#012#0 0x00007f1aadb52ca1 __poll (libc.so.6)#012#1 0x00007f1aa8a5ec30 WaitForSingleObject (libwinpr2.so.2)#012#2 0x00007f1aa8a7b476 MessageQueue_Wait (libwinpr2.so.2)#012#3 0x00007f1aa8d407cd cliprdr_virtual_channel_client_thread (libfreerdp-client2.so.2)#012#4 0x00007f1aa8a9a506 thread_launcher (libwinpr2.so.2)#012#5 0x00007f1aae7b016a start_thread (libpthread.so.0)#012#6 0x00007f1aadb5df23 __clone (libc.so.6) *# tail -f /opt/tomcat/logs/catalina.out* 10:20:44.744 [http-nio-8080-exec-8] WARN o.a.g.s.GuacamoleHTTPTunnelServlet - HTTP tunnel request rejected: Permission Denied. 10:20:46.364 [http-nio-8080-exec-9] INFO o.a.g.r.auth.AuthenticationService - User "admin" successfully authenticated from 127.0.0.1. 10:20:46.514 [http-nio-8080-exec-7] INFO o.a.g.environment.LocalEnvironment - GUACAMOLE_HOME is "/opt/tomcat/.guacamole". 10:20:46.583 [http-nio-8080-exec-7] INFO o.a.g.tunnel.TunnelRequestService - User "admin" connected to connection "Batch-Server". 10:20:55.538 [http-nio-8080-exec-8] ERROR o.a.g.w.GuacamoleWebSocketTunnelEndpoint - Creation of WebSocket tunnel to guacd failed: Permission Denied. 10:20:55.606 [http-nio-8080-exec-10] WARN o.a.g.s.GuacamoleHTTPTunnelServlet - HTTP tunnel request rejected: Permission Denied. 10:20:57.029 [http-nio-8080-exec-2] INFO o.a.g.r.auth.AuthenticationService - User "admin" successfully authenticated from 127.0.0.1. 10:20:57.118 [http-nio-8080-exec-7] INFO o.a.g.environment.LocalEnvironment - GUACAMOLE_HOME is "/opt/tomcat/.guacamole". 10:20:57.156 [http-nio-8080-exec-7] INFO o.a.g.tunnel.TunnelRequestService - User "admin" connected to connection "QAPOSFW". 10:21:02.098 [Thread-7] INFO o.a.g.tunnel.TunnelRequestService - User "admin" disconnected from connection "QAPOSFW". Duration: 4942 milliseconds *# tail -f /opt/tomcat/logs/localhost_access_log.2021-04-06.txt* 127.0.0.1 - - [06/Apr/2021:10:20:57 +0100] "DELETE /guacamole-1.3.0/api/tokens/E034648E279BA36B0527F5A17958EC9A707A79EB81838CFF0129A20F7B076CC4 HTTP/1.1" 404 187 127.0.0.1 - - [06/Apr/2021:10:20:57 +0100] "POST /guacamole-1.3.0/api/tokens HTTP/1.1" 200 168 127.0.0.1 - - [06/Apr/2021:10:20:57 +0100] "GET /guacamole-1.3.0/api/patches?token=0B7DCF50BD58BA9C3C527E3E7225820D7E8EC78D95EDC3236BD79DE8F9941C7B HTTP/1.1" 200 12 127.0.0.1 - - [06/Apr/2021:10:20:57 +0100] "GET /guacamole-1.3.0/api/session/data/default/self/permissions?token=0B7DCF50BD58BA9C3C527E3E7225820D7E8EC78D95EDC3236BD79DE8F9941C7B HTTP/1.1" 200 262 127.0.0.1 - - [06/Apr/2021:10:20:57 +0100] "GET /guacamole-1.3.0/api/session/data/default/connectionGroups/ROOT/tree?token=0B7DCF50BD58BA9C3C527E3E7225820D7E8EC78D95EDC3236BD79DE8F9941C7B HTTP/1.1" 200 386 127.0.0.1 - - [06/Apr/2021:10:20:57 +0100] "GET /guacamole-1.3.0/api/session/data/default/connections/QAPOSFW?token=0B7DCF50BD58BA9C3C527E3E7225820D7E8EC78D95EDC3236BD79DE8F9941C7B HTTP/1.1" 200 133 127.0.0.1 - - [06/Apr/2021:10:20:57 +0100] "GET /guacamole-1.3.0/websocket-tunnel?token=0B7DCF50BD58BA9C3C527E3E7225820D7E8EC78D95EDC3236BD79DE8F9941C7B&GUAC_DATA_SOURCE=default&GUAC_ID=QAPOSFW&GUAC_TYPE=c&GUAC_WIDTH=1280&GUAC_HEIGHT=662&GUAC_DPI=96&GUAC_TIMEZONE=Africa%2FLuanda&GUAC_AUDIO=audio%2FL8&GUAC_AUDIO=audio%2FL16&GUAC_IMAGE=image%2Fjpeg&GUAC_IMAGE=image%2Fpng&GUAC_IMAGE=image%2Fwebp HTTP/1.1" 101 - 127.0.0.1 - - [06/Apr/2021:10:20:57 +0100] "GET /guacamole-1.3.0/api/session/tunnels/a2b831cb-2072-40ca-9445-7fc00b90ba5a/protocol?token=0B7DCF50BD58BA9C3C527E3E7225820D7E8EC78D95EDC3236BD79DE8F9941C7B HTTP/1.1" 200 4833 127.0.0.1 - - [06/Apr/2021:10:20:57 +0100] "GET /guacamole-1.3.0/api/session/tunnels/a2b831cb-2072-40ca-9445-7fc00b90ba5a/activeConnection/connection/sharingProfiles?token=0B7DCF50BD58BA9C3C527E3E7225820D7E8EC78D95EDC3236BD79DE8F9941C7B HTTP/1.1" 404 241 127.0.0.1 - - [06/Apr/2021:10:21:02 +0100] "POST /guacamole-1.3.0/api/tokens HTTP/1.1" 200 168 Best Regards, Luís Cascales *Consultant* Tel: +351 265 400 201 | Mobile: +351 914 683 124 E-mail: [email protected] Runlevel - Sistemas de Informação, Lda Travessa da Saboaria, nº 3C - 2900-597 Setúbal - Portugal
