Groups
Groups
Sign in
Groups
Groups
noVNC
Conversations
About
Send feedback
Help
Autoscale
157 views
Skip to first unread message
Nikolaos Kou
unread,
Jan 5, 2021, 10:46:08 AM
1/5/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to noVNC
Hello,
is it possible to set the resize option autmatically to resize=scale?
The preffered way would be adding it to the startup script or something like that.
I'm using traefik to reverse proxy and people are directly connecting to:
vnc.domain.com
, and not to
vnc.domain.com/novnc.html
Of course this leads them directly to the desktop without the vnc panel at the side.
Thanks in advance!
BR,
Niko
Message has been deleted
Message has been deleted
Nikolaos Kou
unread,
Jan 5, 2021, 11:22:13 AM
1/5/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to noVNC
To specify the question: Can i add the scale=True to the vnc_light.html?
Samuel Mannehed
unread,
Jan 8, 2021, 4:59:11 AM
1/8/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Nikolaos Kou, no...@googlegroups.com
On Tue, 5 Jan 2021 08:22:13 -0800 (PST)
Nikolaos Kou <
niko...@kourgiantakis.com
> wrote:
> To specify the question: Can i add the scale=True to the
> vnc_light.html?
You can add it as a query parameter, like this:
http://example.com/vnc_lite.html?scale=True
Does that work for you?
You could also modify line 180 of vnc_lite.html:
- rfb.scaleViewport = readQueryVariable('scale', false);
+ rfb.scaleViewport = readQueryVariable('scale', true);
That would change the default.
Best regards,
--
Samuel Mannehed Software Development
Cendio AB
https://cendio.com
Teknikringen 8
https://twitter.com/ThinLinc
583 30 Linköping
https://facebook.com/ThinLinc
Phone: +46 13 214 600
Nikolaos Kou
unread,
Jan 8, 2021, 5:30:43 AM
1/8/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to noVNC
Sam, this is exactly what i was looking for. I didn't know that i can change the default vaulue. Thank you very much!
Best regards,
Niko
Reply all
Reply to author
Forward
0 new messages