Turns out the problem was FreeRDP 3.x. After rebuilding Guacamole 1.6.0 with

**FreeRDP 2.11.x** (SSL + SSPI enabled) RemoteApp works again.

Two notes:

1.  Remove the 3.x packages, install `freerdp2-dev`, then recompile
    guacamole-server.
2.  Make sure `guacd` has a writable HOME, e.g.:

       [Service]
       Environment=HOME=/var/lib/guacd

With those changes, both desktop RDP and RemoteApp stay connected. I hope
this will get fixed before 1.6.0 is published.

> Hello team,
>
> First off, thank you for the incredible work on Apache Guacamole. It's an
> impressive open-source project that we’ve relied on heavily, and I truly
> appreciate the effort behind it.
>
> While testing version *1.6.0 (guacd built from source)* using the native
> build guide, I ran into an issue specifically affecting *RemoteApp (RAIL)
> connections*. Regular RDP sessions work as expected using the exact same
> configuration, but launching RemoteApps results in a logon followed by an
> immediate disconnection.
>
> This setup worked perfectly under *Guacamole 1.5.5*, and no configuration
> changes were made between the two versions.
>
> From the logs, I can see the RAIL channel is detected, and the session
> begins, but shortly after, it ends with:
>
> ERRINFO_LOGOFF_BY_USER (0x0000000C): The disconnection was initiated
> by the user logging off their session on the server.
>
> A few other lines of interest:
>
>    -
>
>    Support for RAIL (RemoteApp) registered. Awaiting channel connection.
>    -
>
>    Recording of session will be saved to ...
>    -
>
>    This build does not support AAD security, disabling.
>    -
>
>    krb5_parse_name (Configuration file does not specify default realm)
>    -
>
>    RDP server closed/refused connection: Manually logged off.
>
> Has anything changed in how RAIL is handled in 1.6.0 that may require
> updated parameters or environment changes?
>
> Would be grateful for any guidance or confirmation of a known issue.
>
> Thanks again for maintaining such a valuable and flexible platform.
>
> Below is the full server logs:
>
> guacd[1249]: Creating new client for protocol "rdp"
> guacd[1249]: Connection ID is "$6a4534e6-1b88-4817-b79f-5f0b98485830"
> guacd[1249]: Using recording path: /media/share/remote
> guacd[1249]: Recording of session will be saved to
> "/media/share/remote/70e92013-daf5-33db-9612-bf539cd0bab5".
> guacd[1249]: Loading keymap "base"
> guacd[1249]: Loading keymap "en-us-qwerty"
> guacd[1249]: Pre-loading bitmap
> /usr/local/share/guacamole/1.6.0/keysymdef.inc
> guacd[1249]: Support for RAIL (RemoteApp) registered. Awaiting channel
> connection.
> guacd[1249]: Loading client plugin "rdp"
> guacd[1249]: RDPDR user logged on
> guacd[1249]: This build does not support AAD security, disabling.
> guacd[1249]: krb5_parse_name (Configuration file does not specify default
> realm)
> guacd[1249]: RDPGFX channel will be used for graphics rendering.
> guacd[1249]: Display update channel will be used.
> guacd[1249]: RemoteApp configured with program: notepad.exe
> guacd[1249]: ERRINFO_LOGOFF_BY_USER (0x0000000C): The disconnection was
> initiated by the user logging off their session on the server.
> guacd[1249]: RDP server closed/refused connection: Manually logged off.
> guacd[1249]: Connection "$6a4534e6-1b88-4817-b79f-5f0b98485830" removed.
>
> V/r
>

Reply via email to