Using machines (virtual or not) remote, I often have to use VNC to access the desktop, sometimes you need a graphical environment. I learned a few days ago Guacamole, program that provides access to the vnc desktop via a standard Web browser that supports the HTML5 canvas tag, however.
The program works very well and quickly, the only thing a bit ‘complicated is the installation. First you need to install tomcat6. For the heart that makes the whole thing is a Java application that sends the information to the browser to display the desktop. We perform the installation:
Now that the web server is installed, you must download the program from this link. After unpacking the archive, what we are facing are some xml files (configuration files) and a war (archive containing the application itself). This is the installation procedure:
The files are now installed on the webserver but you must configure them. In particular, / etc/tomcat6/guacamole-users.xml find the pair user: password is requested that we open the application, it is not the vnc password to a password but its application. In the file / etc/tomcat6/Catalina/localhost/guacamole.xml instead contains the VNC server information:
The parameters of interest are the three listed above, and are filled with data from the VNC server. In particular, to calculate the door, it is necessary to obtain the number virtual desktop started (: 1 for example) and add it to 5900. In this case, then the server to which we connect to is: 1. To start a new vnc server of course type the command:
If this is your first time you start up a vnc server, you will be prompted for a password for access (insert is not required), what must be included in the file guacamole.xml. Now restart the web server:
and Colleghiamoci application via our browser (compatible with an eye to use the HTML5 CANVAS tag, Chromium / Chrome or Firefox are fine 5) using the link:
There will first be prompted to authenticate the program. If you have not changed the username is guacamole-users.xml ‘Guacamole’ and password ‘changeme’, of course is strongly recommended to change it. After entering the password of the VNC server (if of course has been set):
There you now have access to your vnc server is much simpler, in fact, by setting such as the Tomcat port 80, you can access the remote desktop vnc in peace even in the presence of proxy not too lenient!
Read related article at VNC & HTML5: Display the remote desktop via a web browser with Guacamole
More detail from here VNC over SSH tunnel and access from MacOSX