-
Hi all, I am running a Docker WebTop container, which leverages KasmVNC. I am planning to take screenshots across multiple users' Desktop environments, so I would like to maintain a consistent resolution (even if, for some users, the text would be larger/smaller than preferable). Is there a way to default to Scaling Mode = Local Scaling rather than Remote Resizing? I am under the impression that, since this is a client setting, it may be difficult to change. I have seen some other suggestions, such as this one, however I don't think this accomplishes quite what I'm trying to do. Thank you very much for your help! In the meantime I will be reading through the source code to see if I can figure out a solution, and I'll post it here if I can find it. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Solved! (Kind of!) For context, I am using a docker-webtop container rather than pure KasmVNC. This particular setting seems to be stored in Changing Now I am going to try to figure out how to induce a specific resolution rather than whatever the default is. I will post here if I figure it out. |
Beta Was this translation helpful? Give feedback.
Solved! (Kind of!) For context, I am using a docker-webtop container rather than pure KasmVNC.
This particular setting seems to be stored in
/kclient/public/index.html
. Specifically, there is a line with the following:<iframe class="vnc" src="vnc/index.html?autoconnect=1&resize=remote&clipboard_up=true&clipboard_down=true&clipboard_seamless=true&show_control_bar=true<% if(path){ %><%- path -%><% } %>"></iframe>
Changing
resize=remote
toresize=scale
causes the setting to change as well. This can be done prior to bootup by adding the following line to the fileroot/defaults/startwm.sh
(solution obtained from here):sudo sed -i 's/resize=remote/resize=scale/g' /kclient/public/index.html
No…