Hey Mike, thanks for the quick response. ( Sorry for the e-mail sent direct to you, long time since last time i sent mails to a Mailing List)

It's not just about key-press/events.

If I open a guacamole RDP session, click the URL/address bar, and press enter, it is just the same behaviour as pressing F5 key. Clicking the address refresh button : same behaviour.


PS: I had to close all incognito windows, then reopen after editing nginx config and restarting nginx to perform tests.


Steps:

1.) Login, enter any RDP Connection, copy Connection URL, logoff guacamole

( prferably enter private/incognito mode )

2.) Paste Connection URL, enter credentials, wait for logon

3.) Click the address bar and simply press enter.

Result: Black, screen

4.) press Ctrl+Alt+Shift for user menu

5.) Now click username, disconnect

Result: It doesn't disconnect / whatever happens here.

6.) Repeat steps 4 and 5, same results.

7.) Now click logoff, it works, gets logged off from guacamole.



Quick Update:

a) Repeat steps 1-4 above

b) Now click settings

c) Click at the tiling connection at bottom right

It goes back into the Connection.


I'm just presenting a strange behaviour ( not happening in 1.3.0 ).


Thanks,

Mauricio Silveira


On 3/7/22 16:54, Mike Jumper wrote:
On Mon, Mar 7, 2022 at 11:41 AM Mauricio Silveira <[email protected]> wrote:

    Hi.

    I've done extensive tests, trying to figure out why a browser refresh
    (hitting F5) was causing a RDP session to turn into a black screen
    ( not
    sure about other connection types ), but Ctrl+Alt+Shift still works -
    using nginx + guacamole 1.4.0. Apache proxying was working fine.

    After trying different distros, versions and package versions, I
    found
    this thread:
    https://lists.apache.org/thread/prl1yzwfgfyvn2qn6qqsc6ytdgmn8yl6 ,
    and
    gave the change of X-Frame-Options from DENY to SAMEORIGIN a shot.
    Immediate fix.

    Haven't given it a deeper look to confirm, just tried with guacamole
    1.3.0 and it works fine even with X-Frame-Options DENY .

    I found this possible problem, because I was testing full-screen by
    pressing F11, then F5 to reload guacamole session with the new window
    size in full screen.

    This might be a bug, maybe not, just writing it down to help others
    dealing with this possible issue.


No, this is not a bug. Guacamole already does everything it can to handle all keyboard interaction. It cannot control whether the browser, OS, etc. take control of certain keys or shortcuts. It can only request that the browser send it everything, and hope that the browser will do so.

https://guacamole.apache.org/faq/#keyboard-shortcuts

- Mike

Reply via email to