Store vnc password on websockify?

353 views
Skip to first unread message

Ahustin Krone

unread,
Nov 8, 2021, 8:15:28 PM11/8/21
to noVNC
I am trying to implement novnc within a web application, I don't want to leave my host's vnc sessions passwordless but I also don't want users to have to remember or enter vnc password. Instead I would like that websockify save the ip, port and more importantly the password. and use some type of token to identify if the user has permission to access that server. I would like to know if there is already a way to achieve something like this or would I have to modify websockify to achieve this behavior?

my web application handles sessions, so I imagined something like this: If the user is logged in, the back end of my application asks websockify for an authorization token, and sends that token to the front end of my app, the front when starting a session of vnc (using novnc) sends said token to websockify that knows that this token corresponds to a certain host and password and establishes the connection.

Ahustin Krone

unread,
Nov 8, 2021, 8:16:50 PM11/8/21
to noVNC

Of course if i am thinking this wrong and there is a better way to achieve my goal i am open to ideas

Chethan BV

unread,
Mar 8, 2024, 2:10:49 AM3/8/24
to noVNC
Hi , May i know how you are implementing noVNC in web application, Can you please share me the code.
Thank you

Reply all
Reply to author
Forward
0 new messages