Access VNC on Ubuntu through web browser?

13,270

Solution 1

There is an article here on how to do this with firefox ( and possibly other java enabled browsers ).

Solution 2

Take a look at guacamole. I used it for some similar requirements and performed pretty well. Just know that it is a tomcat web-app. If you have questions, let me know.

Solution 3

You might take a look at TightVNC out of the Ubuntu Software Center.

Solution 4

vncserver and tightvnc both have Java applets which can be added to your configuration. These are usually servered from a in the 5800 range instead of the 5900 range. For VNV port 1 you would browse to http://server.example.com:5801. This will trigger the applet to download and connect.

You will need to setup regular VNC access first. The README file included with the tightvnc-java package includes setup directions. The applet can be served up from an existing web server such as apache. The java code can be run standalone which you may want to use to test your configuration if you are embedding it in a web page.

Solution 5

I know this isn't exactly what you want, but NoMachineNX has a Web Companion for accessing remote machines in a Web Browser via a Java applet. There are DEB packages available for Ubuntu.

Share:
13,270

Related videos on Youtube

ajsie
Author by

ajsie

Updated on September 17, 2022

Comments

  • ajsie
    ajsie over 1 year

    I want to install desktop GUI on my Ubuntu server (for development usage) and then be able to see my remote screen through the web browser with VNC.

    Is this possible? If so, could you provide me some guides/tutorials for installing the VNC (there are different versions) on the Ubuntu?

    Thanks

  • ajsie
    ajsie over 13 years
    I would really like to use javascript instead of java on the web browser.
  • BillThor
    BillThor over 13 years
    VNC uses a Java applet to act as a client in the browser. It you really want to do it in javascript you will have to rewrite the applet into javascript unless someone has done so already. Don't expect a lot of support for your client.