HTML5 Gateway connection in new browser windows/tab is blank or white and "error connecting to RDP" in guac logs in /var/log/messages
Symptom
Jul 27 15:30:30 gateway guacd[82187]: Connection ID is "$17206acd-c452-4ca6-be3c-b8e4554bab38"
Jul 27 15:30:30 gateway guacd[82650]: Security mode: RDP
Jul 27 15:30:30 gateway guacd[82650]: Resize method: none
Jul 27 15:30:30 gateway guacd[82650]: User "@7be27e5f-577a-41b3-b0dc-1711d55bab7d" joined connection "$17206acd-c452-4ca6-be3c-b8e4554bab38" (1 users now present)
Jul 27 15:30:30 gateway guacd[82650]: Loading keymap "base"
Jul 27 15:30:30 gateway guacd[82650]: Loading keymap "en-us-qwerty"
Jul 27 15:30:30 gateway guacd[82650]: Error connecting to RDP server
Jul 27 15:30:31 gateway guacd[82650]: User "@7be27e5f-577a-41b3-b0dc-1711d55bab7d" disconnected (0 users remain)
Jul 27 15:30:31 gateway guacd[82650]: Last user of connection "$17206acd-c452-4ca6-be3c-b8e4554bab38" disconnected
Jul 27 15:30:31 gateway guacd[82187]: Connection "$17206acd-c452-4ca6-be3c-b8e4554bab38" removed.
Environment
10.0;10.1;10.2;10.3;10.4;10.5;10.6;10.7;10.8;10.9;10.10;11.1;11;11.2;11.3;11.4;11.5;11.6 PAS
Cause
\HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\SecurityLayer
- Security Layer 0 – With a low security level, the remote desktop protocol is used by the client for authentication prior to a remote desktop connection being established. Use this setting if you are working in an isolated environment.
- Security Layer 1 – With a medium security level, the server and client negotiate the method for authentication prior to a Remote Desktop connection being established. As this is the default value, use this setting only if all your machines are running Windows.
- Security Layer 2- With a high security level, Transport Layer Security, better knows as TLS is used by the server and client for authentication prior to a remote desktop connection being established.
Resolution
Additional Information
Details
Jul 27 15:30:30 gateway guacd[82187]: Creating new client for protocol "rdp"
Jul 27 15:30:30 gateway guacd[82187]: Connection ID is "$17206acd-c452-4ca6-be3c-b8e4554bab38"
Jul 27 15:30:30 gateway guacd[82650]: Security mode: RDP
Jul 27 15:30:30 gateway guacd[82650]: Resize method: none
Jul 27 15:30:30 gateway guacd[82650]: User "@7be27e5f-577a-41b3-b0dc-1711d55bab7d" joined connection "$17206acd-c452-4ca6-be3c-b8e4554bab38" (1 users now present)
Jul 27 15:30:30 gateway guacd[82650]: Loading keymap "base"
Jul 27 15:30:30 gateway guacd[82650]: Loading keymap "en-us-qwerty"
Jul 27 15:30:30 gateway guacd[82650]: Error connecting to RDP server
Jul 27 15:30:31 gateway guacd[82650]: User "@7be27e5f-577a-41b3-b0dc-1711d55bab7d" disconnected (0 users remain)
Jul 27 15:30:31 gateway guacd[82650]: Last user of connection "$17206acd-c452-4ca6-be3c-b8e4554bab38" disconnected
Jul 27 15:30:31 gateway guacd[82187]: Connection "$17206acd-c452-4ca6-be3c-b8e4554bab38" removed.
\HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\SecurityLayer
- Security Layer 0 – With a low security level, the remote desktop protocol is used by the client for authentication prior to a remote desktop connection being established. Use this setting if you are working in an isolated environment.
- Security Layer 1 – With a medium security level, the server and client negotiate the method for authentication prior to a Remote Desktop connection being established. As this is the default value, use this setting only if all your machines are running Windows.
- Security Layer 2- With a high security level, Transport Layer Security, better knows as TLS is used by the server and client for authentication prior to a remote desktop connection being established.