Connect to Ubuntu server with noVNC client on Windows

113 views
Skip to first unread message

Purva Vasudeo

unread,
Dec 9, 2019, 4:05:12 PM12/9/19
to noVNC
Hi,

I have an Ubuntu machine which is the server I want to connect to. I have installed a noVNC server on it.
Now I want to access this server as a remote desktop using my browser from a Windows machine.
I read noVNC documentation and thought it would be a good solution.

But installing the noVNC client on Windows doesn't seem to work and connect to the Ubuntu server.
Any help would be appreciated. Please let me know if this is not the correct way to use the noVNC client.

Thanks.

Samuel Mannehed

unread,
Dec 10, 2019, 9:34:57 AM12/10/19
to Purva Vasudeo, no...@googlegroups.com
Hi Purva,
There is no such thing as a noVNC server, noVNC is only a VNC client.
noVNC doesn't require an installation on your Windows machine since
it's a web app.

The easiest way to accomplish what you want:

1. Install a VNC server on your Ubuntu machine, examples are TigerVNC,
TurboVNC and x11vnc

2. Start your VNC server and make note of the port on which you can
access the remote display. When starting the VNC server it will
usually print the port number in the terminal. Most commonly the
port number is 5900 + the display number.

3. Download noVNC on your ubuntu machine and use the script
"utils/launch.sh" to download and start the websocket proxy and
simple webserver called "websockify". For this you will need the VNC
server port.

utils/launch.sh --vnc localhost:<VNC_PORT>

4. Open a browser on your Windows machine and type in the address or
hostname of your ubuntu machine (given that you can reach your
ubuntu machine on the network):

<ADDRESS_OF_UBUNTU_MACHINE>:6080/vnc.html

Hope that helps.

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
Reply all
Reply to author
Forward
0 new messages