Check this out, there's a separate idle timeout policy to log off after
remoteapp application windows are closed. Maybe something's going on there?
Can you test by setting up the connection to just launch notepad and see if
it stays on the screen while you work in it for a while?

If your last remoteapp windows are closed, by default, 20s later the user
session logs off. I wonder if the app you are launching is exiting for some
reason, and then 20s after that, your session logs out and you see the blue
logoff screen?

https://docs.microsoft.com/en-us/troubleshoot/windows-server/remote/remoteapp-sessions-disconnected

On Thu, Nov 18, 2021, 5:04 AM Hanadi Salka <hanadi_sa...@hotmail.com> wrote:

> Good Day,
>
> My original Message
>
>
> ----------------------------------------------------------------------------------------------------
>
> My name is Hanadi Salka , I am a software engineer at XCINO Inc in
>  Canada. We have used Guacmole API to connect to remote RDP through our
>  ERP System.
>
> I can connect to Full System using RDP and Guacamole without any problem
> but when I use remote-app and remote-app-dir parameters , I can connect
> for two minutes then blue screen with sign-out message appears and the
>  session is terminated . Can you please provide me any detail what could
>  be the reason that the session is disconnect. It is a configuration at
>  windows or at Guacamole I need to do
>
> ----------------------------------------------------------------------------------------------------
>
>
>
> *Thank you for your response.*
>
>
>
>
> *1.A 'blue screen' does sound like a Windows issue, the content of the
> message is likely to assist in determining that.*
>
>
>
> I have attached the messages that appear during the disconnection process.
>
>
>
>
>
>
> *In addition to that the Guacamole log files will be useful, from around
> the disconnection time - catalina.out and syslog.*
>
> Below is the log files:
>
> --
> ********************************************************************************************************
>
> catalina log
>
> 04:40:31.829 [http-nio-8080-exec-10] INFO
> o.a.g.environment.LocalEnvironment - GUACAMOLE_HOME is "/etc/guacamole".
>
> 04:40:31.831 [http-nio-8080-exec-10] INFO
> o.a.guacamole.event.TutorialListener - successful authentication for user
> admin
>
> 04:40:31.831 [http-nio-8080-exec-10] INFO
> o.a.g.r.auth.AuthenticationService - User "admin" successfully
> authenticated from 0:0:0:0:0:0:0:1.
>
> 04:40:31.831 [http-nio-8080-exec-10] INFO
> o.a.g.environment.LocalEnvironment - GUACAMOLE_HOME is "/etc/guacamole".
>
> 04:40:31.842 [http-nio-8080-exec-6] INFO
> o.a.guacamole.event.TutorialListener - successful authentication for user
> admin
>
> 04:40:35.101 [http-nio-8080-exec-2] INFO
> o.a.guacamole.event.TutorialListener - successful authentication for user
> admin
>
> 04:40:35.127 [http-nio-8080-exec-3] INFO
> o.a.g.environment.LocalEnvironment - GUACAMOLE_HOME is "/etc/guacamole".
>
> 04:40:35.129 [http-nio-8080-exec-9] INFO
> o.a.g.environment.LocalEnvironment - GUACAMOLE_HOME is "/etc/guacamole".
>
> 04:40:35.210 [http-nio-8080-exec-9] INFO
> o.a.g.tunnel.TunnelRequestService - User "admin" connected to connection
> "WindowsTermina1192.168.1.23Paintremoteapponly".
>
> 04:42:40.626 [http-nio-8080-exec-3] INFO
> o.a.g.tunnel.TunnelRequestService - User "admin" disconnected from
> connection "WindowsTermina1192.168.1.23Paintremoteapponly". Duration:
> 125416 milliseconds
>
> 04:42:40.641 [http-nio-8080-exec-1] INFO
> o.a.guacamole.event.TutorialListener - successful authentication for user
> admin
>
> --
> ********************************************************************************************************
>
> -- sys.log
>
> Nov 18 04:40:35 debian01 guacd[4189]: Creating new client for protocol
> "rdp"
>
> Nov 18 04:40:35 debian01 guacd[4189]: Connection ID is
> "$e439449b-5065-4164-a2ee-ae66c63c7002"
>
> Nov 18 04:40:35 debian01 guacd[10581]: Security mode: NLA
>
> Nov 18 04:40:35 debian01 guacd[10581]: Resize method: none
>
> Nov 18 04:40:35 debian01 guacd[10581]: User
> "@9c803274-f7b2-41e0-84dd-c9e51724ba71" joined connection
> "$e439449b-5065-4164-a2ee-ae66c63c7002" (1 users now present)
>
> Nov 18 04:40:35 debian01 guacd[10581]: Loading keymap "base"
>
> Nov 18 04:40:35 debian01 guacd[10581]: Loading keymap "en-us-qwerty"
>
> Nov 18 04:40:36 debian01 guacd[10581]: Connected to RDPDR 1.13 as client
> 0x0005
>
> Nov 18 04:40:36 debian01 guacd[10581]: RDPDR user logged on
>
> Nov 18 04:42:40 debian01 guacd[10581]: RDP server closed connection:
> Manually logged off.
>
> Nov 18 04:42:40 debian01 guacd[10581]: Internal RDP client disconnected
>
> Nov 18 04:42:40 debian01 guacd[10581]: User
> "@9c803274-f7b2-41e0-84dd-c9e51724ba71" disconnected (0 users remain)
>
> Nov 18 04:42:40 debian01 guacd[10581]: Last user of connection
> "$e439449b-5065-4164-a2ee-ae66c63c7002" disconnected
>
> Nov 18 04:42:40 debian01 guacd[4189]: Connection
> "$e439449b-5065-4164-a2ee-ae66c63c7002" removed.
>
>
>
> --
> ********************************************************************************************************
>
>
>
>
> *Finally, has this been working ok and has it just recently failed? If so,
> what has changed since the last time it worked without issue?*
>
>
>
> No it is never works for me. Full Remove Desktop no problem at all. Only
> when I use remote app parameters the session is disconnected within two
> minutes.
>
> *I have checked the windows event log*
>
> *The event id : 40 and reason code 12 when the session is disconnected.*
>
>
>
> *Can you please help me why the session is disconnected within two
> minutes.*
>
>
>
> *Is remote-app feature consider  as part of HTML5 client for Microsoft
> Remote Desktop Service ?Do I need to have a separate license for HTML 5 RDP
> or just normal Remote Desktop license is enough.*
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Best Regards
>
> Hanadi Salka
>
>
>
> *From: *Ivanmarcus <ivanmar...@yahoo.com.INVALID>
> *Sent: *Wednesday, November 17, 2021 11:59 PM
> *To: *user@guacamole.apache.org
> *Subject: *Re: Remote connection is disconnected when I use use
> remote-app and remote-app-dir parameters
>
>
>
> Hanadi,
>
> It would be useful to tell us what the message actually says first.
>
> A 'blue screen' does sound like a Windows issue, the content of the
> message is likely to assist in determining that.
>
> In addition to that the Guacamole log files will be useful, from around
> the disconnection time - catalina.out and syslog.
>
> Finally, has this been working ok and has it just recently failed? If
> so, what has changed since the last time it worked without issue?
>
> On 17/11/21 8:31 pm, Hanadi Salka wrote:
> > Good Day,
> >
> > My name is Hanadi Salka , I am a software engineer at XCINO Inc in
> > Canada. We have used Guacmole API to connect to remote RDP through our
> > ERP System.
> >
> > I can connect to Full System using RDP and Guacamole without any problem
> > but when I use remote-app and remote-app-dir parameters , I can connect
> > for two minutes then blue screen with sign-out message appears and the
> > session is terminated . Can you please provide me any detail what could
> > be the reason that the session is disconnect. It is a configuration at
> > windows or at Guacamole I need to do
> >
> > Best Regards,
> >
> > Hanadi
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org
> For additional commands, e-mail: user-h...@guacamole.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org
> For additional commands, e-mail: user-h...@guacamole.apache.org

-- 
This e-mail is intended only for the recipient and may contain confidential 
or proprietary information. If you are not the intended recipient, the 
review, distribution, duplication or retention of this message and its 
attachments are prohibited. Please notify the sender of this error 
immediately by reply e-mail, and permanently delete this message and its 
attachments in any form in which they may have been preserved.

Reply via email to