New to noVNC

159 views
Skip to first unread message

Keith Lynn

unread,
Nov 20, 2020, 11:44:25 AM11/20/20
to noVNC
I found noVNC when searching for a solution to my problem. I have several machines internally that have VNC servers running. I would like to have my web server which is outward facing so that a user could access a web page and view the desktop of an internal machine through a web page. Can I do this with noVNC? Thanks.

Samuel Mannehed

unread,
Nov 23, 2020, 2:56:00 AM11/23/20
to Keith Lynn, no...@googlegroups.com
Hi Keith,
Yeah, that should be possible. Note that VNC servers require a proxy
(TCP->WebSockets) in order to work with noVNC. Some VNC servers have
a built in proxy, others don't.

You could have a look at Websockify which is a TCP->WebSockets proxy,
it might suit your needs to run it on your web server.

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

Keith Lynn

unread,
Nov 24, 2020, 7:04:55 PM11/24/20
to noVNC
Thanks Sam. I'm using the command ./utils/lauch.sh --vnc ipaddress:vncport It then maps port 6080 to the vnc server. Is there a way to specify the  port to use instead of 6080? Thanks.

Samuel Mannehed

unread,
Nov 24, 2020, 7:22:54 PM11/24/20
to no...@googlegroups.com
Hi Keith,

> Thanks Sam. I'm using the command ./utils/lauch.sh --vnc
> ipaddress:vncport It then maps port 6080 to the vnc server. Is there a
> way to specify the  port to use instead of 6080? Thanks.

The "--listen" option lets you specify the port.

Regards,

Keith Lynn

unread,
Nov 24, 2020, 7:41:03 PM11/24/20
to no...@googlegroups.com
Thanks Sam. Is there an easy way to capture the process IDs that are created so they can be programmatically killed later?

-

Keith Lynn
School of Computing
SHEC 1202




Virus-free. www.avg.com

--
You received this message because you are subscribed to the Google Groups "noVNC" group.
To unsubscribe from this group and stop receiving emails from it, send an email to novnc+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/novnc/c593d247-b52f-1a9f-aa6c-585e2dabf8d6%40cendio.se.

Samuel Mannehed

unread,
Nov 25, 2020, 3:15:22 AM11/25/20
to no...@googlegroups.com
Hi Keith,

> Thanks Sam. Is there an easy way to capture the process IDs that are
> created so they can be programmatically killed later?

I'd filter the output from 'ps':

 ps aux | grep websockify | awk '{print $2}'

Keith Lynn

unread,
Dec 3, 2020, 10:38:26 AM12/3/20
to no...@googlegroups.com
Thanks for your help. Is there a way on the command line to send the password for the vnc server so that once the html page is loaded, the vnc server is automatically logged into? Thanks.


-

Keith Lynn
School of Computing
SHEC 1202




Virus-free. www.avg.com

--
You received this message because you are subscribed to the Google Groups "noVNC" group.
To unsubscribe from this group and stop receiving emails from it, send an email to novnc+un...@googlegroups.com.

Samuel Mannehed

unread,
Dec 7, 2020, 7:44:03 AM12/7/20
to Keith Lynn, no...@googlegroups.com
Hi Keith,

> Thanks for your help. Is there a way on the command line to send the
> password for the vnc server so that once the html page is loaded, the
> vnc server is automatically logged into? Thanks.

I'm not sure what you want here, which command line? It sounds like what
you want is to run the VNC server without any authenticaton?

An alternative is to pass the password in the browser using
query-paramters, something like this:

example.com:6080/vnc.html?autoconnect=1&password=mysecret
Reply all
Reply to author
Forward
0 new messages