On Tue, Jul 4, 2023 at 3:55 AM Fatima Ezzahra Jaber <fatima-ezzahra.ja...@grenoble-inp.org> wrote: > > Hello, > > I am using a django app to create my own guacamole web application, and using > websockets and the library pyguacamole for that. In my javascript side, I am > trying to get the guacamole client display "Guacamole.Client.getDisplay()" > but the values in it are the values by default. I don't understand why is > that happening although I can see that the instructions sent by guacd are > received by my web application, as well as there is a ping sent to the guacd. > In the logs of guacd I have user not responding. >
I don't think you've provided quite enough detail, here, for anyone to know what's going on or to really be able to help you. I think what you're saying is that you're trying to get the display parameters negotiated between your web application and guacd, and, instead of seeing the correct values for the display, you're seeing default values? If you look at the JavaScript code for the Guacamole.Display module (https://github.com/apache/guacamole-client/blob/master/guacamole-common-js/src/main/webapp/modules/Display.js), you'll see that the default constructor only provides default values - width is set to 0, height is set to 0, etc. If you're trying to get the Display object configured for the actual browser you're connecting from, you'll need to write your own code to detect the browser size and set that value. If you can provide more detail on what you've done and what you're seeing, and maybe even a link to a code repository, you may get a little more meaningful help. -Nick --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org For additional commands, e-mail: user-h...@guacamole.apache.org