On 25/01/2026 20:09, Paolo Casaschi wrote:
> Hello,
>
> I'm using novnc 1.3, how do I configure novnc to set the shared mode
> options by default to false/unticked when a browser opens the novnc page?
>
> I know I can edit the app/ui.js file and change the initSettings()
> function, but I was hoping anther option could be available without
> manually editing source code.
> If editing source code is the only option, could it be possible to edit the
> vnc.html file instead of the app/ui.js file? I'd like to keep to a minimum
> the manual edits and I already have done some cosmetic changes to the
> vnc.html page.
>
noVNC 1.3 is rather old, so I'm unsure what you can do there except
modify the code. I would suggest solving whatever blocks you from
upgrading to noVNC 1.6, as there is a clean way to support default
settings from that version onwards.
Regards,
--
Pierre Ossman Software Development
Cendio AB
https://cendio.com
Teknikringen 8
https://twitter.com/ThinLinc
583 30 Linköping
https://facebook.com/ThinLinc
Phone:
+46-13-214600
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?