Bug 5497 - automatic resize can fail if done quickly in succession
Summary: automatic resize can fail if done quickly in succession
Status: CLOSED WORKSFORME
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: | rdesktop (deprecated) (show other bugs)
Version: pre-1.0
Hardware: PC Unknown
: P2 Normal
Target Milestone: 4.10.0
Assignee: Henrik Andersson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-21 13:47 CEST by Pierre Ossman
Modified: 2018-05-22 13:09 CEST (History)
2 users (show)

See Also:
Acceptance Criteria:


Attachments

Description Pierre Ossman cendio 2015-04-21 13:47:24 CEST
I managed to get the rdesktop resize to fail by reszing again as it was handling the first resize. It reconnected properly, but it screwed up the authentication cookie somewhere along the line. I got this on stderr:

> WARNING: Automatic reconnect using cookie, failed.

One guess is that we disconnect for a resize even if we haven't yet gotten a new cookie since the last connection. Might need to add a delay there to handle the race.
Comment 1 Samuel Mannehed cendio 2017-12-19 16:40:35 CET
Note that this only applies when connecting to Windows Server 2008 R2 or older. For newer Windows Server versions we now use a new protocol that allows for "online" resize. This means that the cookie isn't used for resize.
Comment 2 Pierre Ossman cendio 2018-05-22 13:09:30 CEST
We added some tweaks to avoid rapid reconnects recently, so this shouldn't be a problem anymore.

Note You need to log in before you can comment on or make changes to this bug.