Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?


share|improve this question

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

share|improve this answer
I would really like to use javascript instead of java on the web browser. – ajsie Oct 17 '10 at 23:33
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. – BillThor Oct 18 '10 at 0:41

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

share|improve this answer

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|improve this answer

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.

share|improve this answer

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 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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.