You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by amselv <am...@163.com> on 2020/02/28 08:02:12 UTC

Windows RemoteApp auto sign off after 4 minutes

Hi all, 
   I'm using Apache Guacamole 1.1.0 with RemoteApp to remote into an
application running in a Windows 2008, but I am getting automatically signed
off after 1-3 minutes.
  but I'm using Apache Guacamole 1.0.0 with RemoteApp to connect the same
remoteapp, all work well

 who can tell me how to resolve the problem,thanks 




--
Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


Re: Windows RemoteApp auto sign off after 4 minutes

Posted by amselv <am...@163.com>.
 Why it works well when I‘m using guacamole 1.0.0 to connect to the same
remoteapp running the same RDP server

 I have checked RDP server log.I didn.t find any exception,all log level is
info





--
Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


Re: Windows RemoteApp auto sign off after 4 minutes

Posted by amselv <am...@163.com>.
is the trace file right? trace.txt
<http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/file/t1168/trace.txt>  



--
Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


Re: Windows RemoteApp auto sign off after 4 minutes

Posted by amselv <am...@163.com>.
dear vnick:
 I donnt how to grap trace for process,can you tell me how to do

[root@localhost abrt]# ls -pla /var/spool/abrt/
total 4
drwxr-x--x.  2 root abrt  23 Feb 29 20:10 ./
drwxr-xr-x. 12 root root 140 Feb 25 14:14 ../
-rw-------   1 root root  21 Feb 29 20:10 last-ccpp
[root@localhost abrt]# more last-ccpp
/usr/local/sbin/guacd




--
Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


Re: Windows RemoteApp auto sign off after 4 minutes

Posted by amselv <am...@163.com>.
dear mjumper:
   I'm using staging/1.2.0,It works well,thank u very much



--
Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


Re: Windows RemoteApp auto sign off after 4 minutes

Posted by Mike Jumper <mj...@apache.org>.
On Sat, Feb 29, 2020 at 12:18 PM Mike Jumper <mj...@apache.org> wrote:

> On Sat, Feb 29, 2020 at 5:00 AM Nick Couchman <vn...@apache.org> wrote:
>
>> On Sat, Feb 29, 2020 at 4:29 AM Mike Jumper <mj...@apache.org> wrote:
>>
>>> On Fri, Feb 28, 2020, 19:03 amselv <am...@163.com> wrote:
>>>
>>>> appreciate your reply
>>>>
>>>> guacd log:
>>>> ...
>>>> Feb 29 10:56:40 localhost guacd[68057]: RDP server closed connection:
>>>> Manually logged off.
>>>> ...
>>>
>>>
>>> This indicates an orderly disconnect, initiated by the RDP server. The
>>> "Manually logged off" text indicates exactly what it says, and is driven by
>>> a disconnect reason code provided by the RDP server when it is closing the
>>> connection.
>>>
>>> It doesn't look like anything specific to Guacamole is happening here.
>>> Your RDP session was closed when the user within the session logged off.
>>>
>>
>> Mike,
>> The SIGABRT part of this doesn't look normal - or is that the signal that
>> would usually be sent if the RDP server terminates the connection??
>>
>
> You're right - I didn't notice that.
>
> However, the connection is already terminated at this point, with the
> received disconnect reason logged. A bug is resulting in that SIGABRT, yes,
> and that should be fixed, but the bug still isn't the cause of the
> disconnect; the RDP server is.
>
> SIGABRT is typically sent due to a failed assert(). As it's being seen
> here during cleanup, my guess would be some sort of double-free, perhaps of
> the FreeRDP-version-specific sort we needed to work around during
> regression testing (https://github.com/apache/guacamole-server/pull/251,
> for example).
>

I believe both the RemoteApp issue and the issue with the SIGABRT upon
disconnect have now been fixed. Both were indeed regressions from the 1.1.0
release related to the FreeRDP 2.0.0 migration:

https://issues.apache.org/jira/browse/GUACAMOLE-978 (RemoteApp)
https://issues.apache.org/jira/browse/GUACAMOLE-979 (SIGABRT)

amselv, when possible, please retest against a fresh build of the
"staging/1.2.0" branch from the guacamole-server git repository.

- Mike

Re: Windows RemoteApp auto sign off after 4 minutes

Posted by amselv <am...@163.com>.
:Mar 01 10:28:59 localhost.localdomain guacd[18301]: Connected to RDPDR 1.12
as client 0x0006
:Mar 01 10:28:59 localhost.localdomain guacd[18301]: BIO_should_retry
returned a system error 104: Connection reset by peer
:Mar 01 10:28:59 localhost.localdomain guacd[18301]: BIO_should_retry
returned a system error 32: Broken pipe
:Mar 01 10:28:59 localhost.localdomain guacd[18301]: BIO_should_retry
returned a system error 32: Broken pipe
:Mar 01 10:28:59 localhost.localdomain guacd[18301]: ERRINFO_DECRYPT_FAILED
(0x00001192):(a) Decryption using Standard RDP Security mechanisms (section
5.3.6) failed.
:Mar 01 10:28:59 localhost.localdomain guacd[18301]: BIO_read returned a
system error 11: Resource temporarily unavailable
:Mar 01 10:28:59 localhost.localdomain guacd[18301]: Connection closed.
:Mar 01 10:28:59 localhost.localdomain guacd[18301]: Unloading device 0 (j)
:Mar 01 10:28:59 localhost.localdomain guacd[18301]: SVC "rdpdr"
disconnected.
:Mar 01 10:28:59 localhost.localdomain guacd[18301]: SVC "rdpsnd"
disconnected.
:Mar 01 10:28:59 localhost.localdomain guacd[18301]: Internal RDP client
disconnected




Decryption using Standard RDP Security mechanisms (section 5.3.6) failed. it
looks like RDP Security mechanisms problem,I guess freerdp 2.0 may cause ht
problem



--
Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


Re: Windows RemoteApp auto sign off after 4 minutes

Posted by Mike Jumper <mj...@apache.org>.
On Sat, Feb 29, 2020 at 5:00 AM Nick Couchman <vn...@apache.org> wrote:

> On Sat, Feb 29, 2020 at 4:29 AM Mike Jumper <mj...@apache.org> wrote:
>
>> On Fri, Feb 28, 2020, 19:03 amselv <am...@163.com> wrote:
>>
>>> appreciate your reply
>>>
>>> guacd log:
>>> ...
>>> Feb 29 10:56:40 localhost guacd[68057]: RDP server closed connection:
>>> Manually logged off.
>>> ...
>>
>>
>> This indicates an orderly disconnect, initiated by the RDP server. The
>> "Manually logged off" text indicates exactly what it says, and is driven by
>> a disconnect reason code provided by the RDP server when it is closing the
>> connection.
>>
>> It doesn't look like anything specific to Guacamole is happening here.
>> Your RDP session was closed when the user within the session logged off.
>>
>
> Mike,
> The SIGABRT part of this doesn't look normal - or is that the signal that
> would usually be sent if the RDP server terminates the connection??
>

You're right - I didn't notice that.

However, the connection is already terminated at this point, with the
received disconnect reason logged. A bug is resulting in that SIGABRT, yes,
and that should be fixed, but the bug still isn't the cause of the
disconnect; the RDP server is.

SIGABRT is typically sent due to a failed assert(). As it's being seen here
during cleanup, my guess would be some sort of double-free, perhaps of the
FreeRDP-version-specific sort we needed to work around during regression
testing (https://github.com/apache/guacamole-server/pull/251, for example).

- Mike

Re: Windows RemoteApp auto sign off after 4 minutes

Posted by Nick Couchman <vn...@apache.org>.
On Sat, Feb 29, 2020 at 4:29 AM Mike Jumper <mj...@apache.org> wrote:

> On Fri, Feb 28, 2020, 19:03 amselv <am...@163.com> wrote:
>
>> appreciate your reply
>>
>> guacd log:
>> ...
>> Feb 29 10:56:40 localhost guacd[68057]: RDP server closed connection:
>> Manually logged off.
>> ...
>
>
> This indicates an orderly disconnect, initiated by the RDP server. The
> "Manually logged off" text indicates exactly what it says, and is driven by
> a disconnect reason code provided by the RDP server when it is closing the
> connection.
>
> It doesn't look like anything specific to Guacamole is happening here.
> Your RDP session was closed when the user within the session logged off.
>

Mike,
The SIGABRT part of this doesn't look normal - or is that the signal that
would usually be sent if the RDP server terminates the connection??

Feb 29 10:56:40 localhost guacd[68057]: RDP server closed connection:
Manually logged off.
Feb 29 10:56:40 localhost guacd[68057]: Internal RDP client disconnected
Feb 29 10:56:40 localhost guacd[68057]: User
"@a67e7806-32fb-433c-a869-25488d3a9c93" disconnected (0 users remain)
Feb 29 10:56:40 localhost guacd[68057]: Last user of connection
"$e59a42cf-7e07-4621-a3f7-6e9c5c058bb8" disconnected
Feb 29 10:56:40 localhost abrt-hook-ccpp: Process 68057 (guacd) of user 0
killed by SIGABRT - dumping core

amselv:
Can you grab the stack trace for that process?  Looks like abrtd is picking
it up, so it may be in the dump directory for abrtd on that system.

-Nick

Re: Windows RemoteApp auto sign off after 4 minutes

Posted by Mike Jumper <mj...@apache.org>.
On Fri, Feb 28, 2020, 19:03 amselv <am...@163.com> wrote:

> appreciate your reply
>
> guacd log:
> ...
> Feb 29 10:56:40 localhost guacd[68057]: RDP server closed connection:
> Manually logged off.
> ...


This indicates an orderly disconnect, initiated by the RDP server. The
"Manually logged off" text indicates exactly what it says, and is driven by
a disconnect reason code provided by the RDP server when it is closing the
connection.

It doesn't look like anything specific to Guacamole is happening here. Your
RDP session was closed when the user within the session logged off.

- Mike

Re: Windows RemoteApp auto sign off after 4 minutes

Posted by amselv <am...@163.com>.
appreciate your reply

guacd log:
Feb 29 10:51:37 localhost guacd[67879]: Guacamole proxy daemon (guacd)
version 1.1.0 started
Feb 29 10:51:37 localhost guacd[67881]: Listening on host 127.0.0.1, port
4822
Feb 29 10:53:31 localhost systemd: Started Session 308 of user root.
Feb 29 10:53:31 localhost systemd-logind: New session 308 of user root.
Feb 29 10:53:31 localhost dbus[5746]: [system] Activating service
name='org.freedesktop.problems' (using servicehelper)
Feb 29 10:53:31 localhost dbus[5746]: [system] Successfully activated
service 'org.freedesktop.problems'
Feb 29 10:54:17 localhost guacd[67881]: Creating new client for protocol
"rdp"
Feb 29 10:54:17 localhost guacd[67881]: Connection ID is
"$e59a42cf-7e07-4621-a3f7-6e9c5c058bb8"
Feb 29 10:54:17 localhost guacd[68057]: Security mode: Negotiate (ANY)
Feb 29 10:54:18 localhost guacd[68057]: Resize method: none
Feb 29 10:54:18 localhost guacd[68057]: User
"@a67e7806-32fb-433c-a869-25488d3a9c93" joined connection
"$e59a42cf-7e07-4621-a3f7-6e9c5c058bb8" (1 users now present)
Feb 29 10:54:18 localhost guacd[68057]: Loading keymap "base"
Feb 29 10:54:18 localhost guacd[68057]: Loading keymap "en-us-qwerty"
Feb 29 10:54:18 localhost guacd[68057]: Connected to RDPDR 1.12 as client
0x0003
Feb 29 10:54:19 localhost guacd[68057]: RDPDR user logged on
Feb 29 10:56:40 localhost guacd[68057]: RDP server closed connection:
Manually logged off.
Feb 29 10:56:40 localhost guacd[68057]: Internal RDP client disconnected
Feb 29 10:56:40 localhost guacd[68057]: User
"@a67e7806-32fb-433c-a869-25488d3a9c93" disconnected (0 users remain)
Feb 29 10:56:40 localhost guacd[68057]: Last user of connection
"$e59a42cf-7e07-4621-a3f7-6e9c5c058bb8" disconnected
Feb 29 10:56:40 localhost abrt-hook-ccpp: Process 68057 (guacd) of user 0
killed by SIGABRT - dumping core
Feb 29 10:56:41 localhost abrt-hook-ccpp: Failed to create core_backtrace:
waitpid failed: No child processes
Feb 29 10:56:41 localhost guacd[67881]: Connection
"$e59a42cf-7e07-4621-a3f7-6e9c5c058bb8" removed.
Feb 29 10:56:41 localhost abrt-server: Executable '/usr/local/sbin/guacd'
doesn't belong to any package and ProcessUnpackaged is set to 'no'
Feb 29 10:56:41 localhost abrt-server: 'post-create' on
'/var/spool/abrt/ccpp-2020-02-29-10:56:40-68057' exited with 1
Feb 29 10:56:41 localhost abrt-server: Deleting problem directory
'/var/spool/abrt/ccpp-2020-02-29-10:56:40-68057'



os version:
[root@localhost bin]# uname -a
Linux localhost.localdomain 3.10.0-957.el7.x86_64 #1 SMP Thu Nov 8 23:39:32
UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
[root@localhost bin]# cat /etc/os-release
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

[root@localhost bin]# rpm -qa |grep -i freerdp
freerdp-libs-2.0.0-1.rc4.el7.x86_64
freerdp-devel-2.0.0-1.rc4.el7.x86_64
[root@localhost bin]# rpm -qa |grep -i release
epel-release-7-11.noarch
nux-dextop-release-0-5.el7.nux.noarch
centos-release-7-6.1810.2.el7.centos.x86_64




--
Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


Re: Windows RemoteApp auto sign off after 4 minutes

Posted by Mike Jumper <mj...@apache.org>.
On Fri, Feb 28, 2020 at 12:02 AM amselv <am...@163.com> wrote:

> Hi all,
>    I'm using Apache Guacamole 1.1.0 with RemoteApp to remote into an
> application running in a Windows 2008, but I am getting automatically
> signed
> off after 1-3 minutes.
>   but I'm using Apache Guacamole 1.0.0 with RemoteApp to connect the same
> remoteapp, all work well
>
>  who can tell me how to resolve the problem,thanks
>

There is nothing within Guacamole which automatically signs users off after
a certain period of time has elapsed. If you are unexpectedly being
disconnected, something else must be going on.

What do you see in your guacd logs when you are disconnected? What Linux
distribution (and what specific version of that distribution) is being used
to run Guacamole?

- Mike