On Tue, Nov 17, 2020 at 9:05 AM Weeks, Thomas <t.we...@vt.edu> wrote:
> Are Mike or Nick lurking in here? Carl Sent me here to see if anyone else > is seeing this (or can reproduce) this guac/RDP KB/mouse corruption issue. > > T.Weeks at the Cyber Range here.. We maintain several thousand VDI > (virtual dekstop for instruction) AWS VMs.. mainly RDP sessions to > Linux/xRDP and Win VMs.. and Guac has been really great for us. However.. > after upgrading to guac 1.2 (earlier this year), we started seeing teachers > and students complaining about "random keyboard" and mouse garbage & > actions in their Linux RDP sessions (nothing on the VMs changed), or > sometimes the KB and mouse just completely stop working (users complain of > "VM freezing", which is not accurate). > > For example, a terminal (on an xRDP/sesman/X11 Linux VM desktop on AWS) > will suddenly echo garbage when the user moves the mouse, or the cursor > jumps around randomly open/close/maximize windows, and trying to type in a > focused terminal session will seemingly type garbage into the terminal. > You can't "reset" the terminal.. so this is not normal terminal state > issues.. the raw keyboard and mouse stream within guac seems to get > corrupted. Here's a video of it happening to both a teacher as well as his > student, both using guac (and sharing their screens in zoom): > https://photos.app.goo.gl/fQwe8TjmMZyH6pdk9 > Looking at the video, this doesn't look like something guac is doing. It looks like legitimate terminal codes are being sent to the application within the terminal by the terminal itself, perhaps partly due to something enabling mouse tracking within that terminal session: https://www.xfree86.org/current/ctlseqs.html#Mouse%20Tracking I can't make out the text in the video, so I can't tell exactly what control sequences are being sent, but those definitely look like terminal control sequences going uninterpreted. I think any correlation with the upgrade to 1.2.0 and this starting is a red herring, and that the problem lies in the desktop itself, independent of guac. - Mike