Hi, I am using guacamole 1.0.0 on Ubuntu 18.04. When I connect an LDAP user with RDP, the session gets automatically disconnected after a few seconds.
AFAIK, this setup was working correctly until the apt-get upgrade below [5]. I have also added the relevant output of other important log files on this system. In the syslog output [4] I find this line: guacd[2097]: WaitForSingleObject: unknown handle type 9737140978076182297 Not sure what it means, but does it explain the issue? Many thanks in advance for your help! Best regards, Sebastian [1] xrdp log: [INFO ] Socket 12: AF_INET6 connection received from ::ffff:10.2.0.208 port 50338 [DEBUG] Closed socket 12 (AF_INET6 ::ffff:10.2.0.208 port 3389) [DEBUG] Closed socket 11 (AF_INET6 :: port 3389) [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem [INFO ] Using default X.509 key file: /etc/xrdp/key.pem [ERROR] Cannot read private key file /etc/xrdp/key.pem: Permission denied [DEBUG] TLSv1.2 enabled [DEBUG] TLSv1.1 enabled [DEBUG] TLSv1 enabled [DEBUG] Security layer: requested 0, selected 0 [INFO ] connected client computer name: Guacamole RDP [INFO ] Non-TLS connection established from ::ffff:10.2.0.208 port 50338: encrypted with standard RDP security [DEBUG] xrdp_000056eb_wm_login_mode_event_00000001 [INFO ] Loading keymap file /etc/xrdp/km-00000409.ini [WARN ] local keymap file for 0x00000409 found and doesn't match built in keymap, using local keymap file [DEBUG] xrdp_wm_log_msg: connecting to sesman ip 127.0.0.1 port 3350 [INFO ] xrdp_wm_log_msg: sesman connect ok [DEBUG] xrdp_wm_log_msg: sending login info to session manager, please wait... [DEBUG] return value from xrdp_mm_connect 0 [INFO ] xrdp_wm_log_msg: login successful for display 10 [DEBUG] xrdp_wm_log_msg: started connecting [INFO ] lib_mod_log_peer: xrdp_pid=22251 connected to X11rdp_pid=31588 X11rdp_uid=73822 X11rdp_gid=6000 client_ip=::ffff:10.2.0.208 client_port=50338 [DEBUG] xrdp_wm_log_msg: connected ok [DEBUG] xrdp_mm_connect_chansrv: chansrv connect successful [DEBUG] Closed socket 16 (AF_INET6 ::1 port 39626) [INFO ] The following channel is allowed: cliprdr (0) [DEBUG] The allow channel list now initialized for this session [DEBUG] Closed socket 12 (AF_INET6 ::ffff:10.2.0.208 port 3389) [DEBUG] xrdp_mm_module_cleanup [DEBUG] Closed socket 17 (AF_UNIX) [DEBUG] Closed socket 18 (AF_UNIX) [2] xrdp-sesman log: [INFO ] A connection received from ::1 port 39626 [INFO ] ++ reconnected session: username sluna, display :10.0, session_pid 31586, ip ::ffff:10.2.0.208:50338 - socket: 12 [DEBUG] Closed socket 8 (AF_INET6 ::1 port 3350) [3] Tomcat log: [http-nio-8080-exec-6] INFO o.a.g.r.auth.AuthenticationService - User "sluna" successfully authenticated from [10.2.0.208, 10.2.0.208]. [http-nio-8080-exec-3] INFO o.a.g.r.auth.AuthenticationService - User "sluna" successfully authenticated from [10.2.0.212, 10.2.0.208]. [http-nio-8080-exec-1] INFO o.a.g.environment.LocalEnvironment - GUACAMOLE_HOME is "/etc/guacamole". [http-nio-8080-exec-1] INFO o.a.g.tunnel.TunnelRequestService - User "sluna" connected to connection "RDP amiga-ui". [Thread-160] INFO o.a.g.tunnel.TunnelRequestService - User "sluna" disconnected from connection "RDP amiga-ui". Duration: 7720 milliseconds [4] Syslog: guacd[2097]: WaitForSingleObject: unknown handle type 9737140978076182297 kernel: [77606.505720] traps: guacd[22247] general protection ip:7f49951b8207 sp:7f4983ffd360 error:0 in libc-2.27.so[7f4995121000+1e7000] guacd[2097]: message repeated 6 times: [ WaitForSingleObject: unknown handle type 9737140978076182297] guacd[2097]: Connection "$ba6e1200-0f97-4f03-9cc6-08c32f5b407f" removed. guacd[2097]: guacd[2097]: INFO:#011Connection "$ba6e1200-0f97-4f03-9cc6-08c32f5b407f" removed. xrdp[22251]: (22251)(140100677732160)[DEBUG] Closed socket 12 (AF_INET6 ::ffff:10.2.0.208 port 3389) xrdp[22251]: (22251)(140100677732160)[DEBUG] xrdp_mm_module_cleanup xrdp[22251]: (22251)(140100677732160)[DEBUG] Closed socket 17 (AF_UNIX) xrdp[22251]: (22251)(140100677732160)[DEBUG] Closed socket 18 (AF_UNIX) [5] Apt log: Start-Date: 2019-07-01 10:47:32 Commandline: apt-get upgrade Upgrade: libpython3.6-minimal:amd64 (3.6.7-1~18.04, 3.6.8-1~18.04.1), gstreamer1.0-alsa:amd64 (1.14.1-1ubuntu1~ubuntu18.04.2, 1.14.4-1ubuntu1.1~ubuntu18.04.1), libcups2:amd64 (2.2.7-1ubuntu2.5, 2.2.7-1ubuntu2.6), gedit:amd64 (3.28.1-1ubuntu1.1, 3.28.1-1ubuntu1.2), python3-distutils:amd64 (3.6.7-1~18.04, 3.6.8-1~18.04), gvfs-backends:amd64 (1.36.1-0ubuntu1.3, 1.36.1-0ubuntu1.3.2), libnet-ssleay-perl:amd64 (1.84-1build1, 1.84-1ubuntu0.1), xserver-common:amd64 (2:1.19.6-1ubuntu4.2, 2:1.19.6-1ubuntu4.3), gstreamer1.0-plugins-base-apps:amd64 (1.14.1-1ubuntu1~ubuntu18.04.2, 1.14.4-1ubuntu1.1~ubuntu18.04.1), gvfs-bin:amd64 (1.36.1-0ubuntu1.3, 1.36.1-0ubuntu1.3.2), openssl:amd64 (1.1.0g-2ubuntu4.3, 1.1.1-1ubuntu2.1~18.04.3), ruby2.5:amd64 (2.5.1-1ubuntu1.2, 2.5.1-1ubuntu1.4), xserver-xorg-core:amd64 (2:1.19.6-1ubuntu4.2, 2:1.19.6-1ubuntu4.3), zabbix-agent:amd64 (1:4.0.9-3+bionic, 1:4.0.10-1+bionic), libsystemd0:amd64 (237-3ubuntu10.21, 237-3ubuntu10.23), gstreamer1.0-tools:amd64 (1.14.1-1~ubuntu18.04.2, 1.14.4-1~ubuntu18.04.1), openvpn:amd64 (2.4.4-2ubuntu1.2, 2.4.4-2ubuntu1.3), gstreamer1.0-plugins-good:amd64 (1.14.1-1ubuntu1~ubuntu18.04.1, 1.14.4-1ubuntu1~ubuntu18.04.1), libtomcat8-java:amd64 (8.5.39-1ubuntu1~18.04.1, 8.5.39-1ubuntu1~18.04.2), python2.7-minimal:amd64 (2.7.15~rc1-1ubuntu0.1, 2.7.15-4ubuntu4~18.04), snapd:amd64 (2.38+18.04, 2.39.2+18.04), libpython3.6-stdlib:amd64 (3.6.7-1~18.04, 3.6.8-1~18.04.1), libpython2.7:amd64 (2.7.15~rc1-1ubuntu0.1, 2.7.15-4ubuntu4~18.04), python2.7:amd64 (2.7.15~rc1-1ubuntu0.1, 2.7.15-4ubuntu4~18.04), libpython3.6:amd64 (3.6.7-1~18.04, 3.6.8-1~18.04.1), python3.6:amd64 (3.6.7-1~18.04, 3.6.8-1~18.04.1), open-vm-tools:amd64 (2:10.3.5-7~ubuntu0.18.04.1, 2:10.3.10-1~ubuntu0.18.04.1), xserver-xorg-legacy:amd64 (2:1.19.6-1ubuntu4.2, 2:1.19.6-1ubuntu4.3), udev:amd64 (237-3ubuntu10.21, 237-3ubuntu10.23), gstreamer1.0-plugins-base:amd64 (1.14.1-1ubuntu1~ubuntu18.04.2, 1.14.4-1ubuntu1.1~ubuntu18.04.1), cups-server-common:amd64 (2.2.7-1ubuntu2.5, 2.2.7-1ubuntu2.6), libwww-perl:amd64 (6.31-1, 6.31-1ubuntu0.1), cups-common:amd64 (2.2.7-1ubuntu2.5, 2.2.7-1ubuntu2.6), tomcat8-admin:amd64 (8.5.39-1ubuntu1~18.04.1, 8.5.39-1ubuntu1~18.04.2), libpq5:amd64 (11.3-1.pgdg18.04+1, 11.4-1.pgdg18.04+1), libgstreamer-plugins-good1.0-0:amd64 (1.14.1-1ubuntu1~ubuntu18.04.1, 1.14.4-1ubuntu1~ubuntu18.04.1), libudev1:amd64 (237-3ubuntu10.21, 237-3ubuntu10.23), libio-socket-ssl-perl:amd64 (2.056-1, 2.060-3~ubuntu18.04.1), gstreamer1.0-pulseaudio:amd64 (1.14.1-1ubuntu1~ubuntu18.04.1, 1.14.4-1ubuntu1~ubuntu18.04.1), python3.6-minimal:amd64 (3.6.7-1~18.04, 3.6.8-1~18.04.1), xserver-xephyr:amd64 (2:1.19.6-1ubuntu4.2, 2:1.19.6-1ubuntu4.3), gstreamer1.0-gtk3:amd64 (1.14.1-1ubuntu1~ubuntu18.04.1, 1.14.4-1ubuntu1~ubuntu18.04.1), gvfs-libs:amd64 (1.36.1-0ubuntu1.3, 1.36.1-0ubuntu1.3.2), gvfs-fuse:amd64 (1.36.1-0ubuntu1.3, 1.36.1-0ubuntu1.3.2), postgresql-11:amd64 (11.3-1.pgdg18.04+1, 11.4-1.pgdg18.04+1), python3-cryptography:amd64 (2.1.4-1ubuntu1.2, 2.1.4-1ubuntu1.3), cups-ppdc:amd64 (2.2.7-1ubuntu2.5, 2.2.7-1ubuntu2.6), libcupsmime1:amd64 (2.2.7-1ubuntu2.5, 2.2.7-1ubuntu2.6), libruby2.5:amd64 (2.5.1-1ubuntu1.2, 2.5.1-1ubuntu1.4), tomcat8-common:amd64 (8.5.39-1ubuntu1~18.04.1, 8.5.39-1ubuntu1~18.04.2), libnss-myhostname:amd64 (237-3ubuntu10.21, 237-3ubuntu10.23), tomcat8:amd64 (8.5.39-1ubuntu1~18.04.1, 8.5.39-1ubuntu1~18.04.2), libgstreamer-gl1.0-0:amd64 (1.14.1-1ubuntu1~ubuntu18.04.2, 1.14.4-1ubuntu1.1~ubuntu18.04.1), systemd-sysv:amd64 (237-3ubuntu10.21, 237-3ubuntu10.23), libpam-systemd:amd64 (237-3ubuntu10.21, 237-3ubuntu10.23), libgstreamer-plugins-base1.0-0:amd64 (1.14.1-1ubuntu1~ubuntu18.04.2, 1.14.4-1ubuntu1.1~ubuntu18.04.1), xwayland:amd64 (2:1.19.6-1ubuntu4.2, 2:1.19.6-1ubuntu4.3), python3-lib2to3:amd64 (3.6.7-1~18.04, 3.6.8-1~18.04), gedit-common:amd64 (3.28.1-1ubuntu1.1, 3.28.1-1ubuntu1.2), gstreamer1.0-x:amd64 (1.14.1-1ubuntu1~ubuntu18.04.2, 1.14.4-1ubuntu1.1~ubuntu18.04.1), systemd:amd64 (237-3ubuntu10.21, 237-3ubuntu10.23), gir1.2-gst-plugins-base-1.0:amd64 (1.14.1-1ubuntu1~ubuntu18.04.2, 1.14.4-1ubuntu1.1~ubuntu18.04.1), libssl-dev:amd64 (1.1.0g-2ubuntu4.3, 1.1.1-1ubuntu2.1~18.04.3), libssl-doc:amd64 (1.1.0g-2ubuntu4.3, 1.1.1-1ubuntu2.1~18.04.3), libnss-systemd:amd64 (237-3ubuntu10.21, 237-3ubuntu10.23), tomcat8-docs:amd64 (8.5.39-1ubuntu1~18.04.1, 8.5.39-1ubuntu1~18.04.2), gvfs:amd64 (1.36.1-0ubuntu1.3, 1.36.1-0ubuntu1.3.2), libcupsppdc1:amd64 (2.2.7-1ubuntu2.5, 2.2.7-1ubuntu2.6), libpython2.7-minimal:amd64 (2.7.15~rc1-1ubuntu0.1, 2.7.15-4ubuntu4~18.04), gvfs-common:amd64 (1.36.1-0ubuntu1.3, 1.36.1-0ubuntu1.3.2), gir1.2-gstreamer-1.0:amd64 (1.14.1-1~ubuntu18.04.2, 1.14.4-1~ubuntu18.04.1), cups-bsd:amd64 (2.2.7-1ubuntu2.5, 2.2.7-1ubuntu2.6), cups-core-drivers:amd64 (2.2.7-1ubuntu2.5, 2.2.7-1ubuntu2.6), cups-daemon:amd64 (2.2.7-1ubuntu2.5, 2.2.7-1ubuntu2.6), libssl1.1:amd64 (1.1.0g-2ubuntu4.3, 1.1.1-1ubuntu2.1~18.04.3), libcupsimage2:amd64 (2.2.7-1ubuntu2.5, 2.2.7-1ubuntu2.6), libpython2.7-stdlib:amd64 (2.7.15~rc1-1ubuntu0.1, 2.7.15-4ubuntu4~18.04), python3-gdbm:amd64 (3.6.7-1~18.04, 3.6.8-1~18.04), cups:amd64 (2.2.7-1ubuntu2.5, 2.2.7-1ubuntu2.6), postgresql-client-11:amd64 (11.3-1.pgdg18.04+1, 11.4-1.pgdg18.04+1), libcupscgi1:amd64 (2.2.7-1ubuntu2.5, 2.2.7-1ubuntu2.6), cups-client:amd64 (2.2.7-1ubuntu2.5, 2.2.7-1ubuntu2.6), cups-ipp-utils:amd64 (2.2.7-1ubuntu2.5, 2.2.7-1ubuntu2.6), tomcat8-user:amd64 (8.5.39-1ubuntu1~18.04.1, 8.5.39-1ubuntu1~18.04.2), libgstreamer1.0-0:amd64 (1.14.1-1~ubuntu18.04.2, 1.14.4-1~ubuntu18.04.1), gvfs-daemons:amd64 (1.36.1-0ubuntu1.3, 1.36.1-0ubuntu1.3.2), gstreamer1.0-gl:amd64 (1.14.1-1ubuntu1~ubuntu18.04.2, 1.14.4-1ubuntu1.1~ubuntu18.04.1) End-Date: 2019-07-01 10:49:29
