Difference between revisions of "Guacamole 0.3.0 on Ubuntu 10.04"
From Linuxintro
imported>ThorstenStaerk |
imported>ThorstenStaerk |
||
Line 3: | Line 3: | ||
Sometimes in your Linux life, you need to control your servers in the internet with a graphical user interface. The problem is when you are behind a corporate firewall blocking ssh requests to the public internet. Typical corporate firewalls only allow proxified client access to port 80 and 443 in the public internet. The solution is to use a browser to display a Linux desktop. The solution is not, however, to use [[Vnc#for_a_web_browser|VNC for a web browser]], as it will be blocked by corporate firewalls. The solution is [http://guacamole.sourceforge.net/ guacamole]. | Sometimes in your Linux life, you need to control your servers in the internet with a graphical user interface. The problem is when you are behind a corporate firewall blocking ssh requests to the public internet. Typical corporate firewalls only allow proxified client access to port 80 and 443 in the public internet. The solution is to use a browser to display a Linux desktop. The solution is not, however, to use [[Vnc#for_a_web_browser|VNC for a web browser]], as it will be blocked by corporate firewalls. The solution is [http://guacamole.sourceforge.net/ guacamole]. | ||
− | [[File:Snapshot-guacomole. | + | [[File:Snapshot-guacomole.png]] |
Here is what I did to configure Guacamole on 2011-06-25 using a [[rackspace]] server with Ubuntu 10.04 x64: | Here is what I did to configure Guacamole on 2011-06-25 using a [[rackspace]] server with Ubuntu 10.04 x64: |
Revision as of 09:44, 26 June 2011
Guacamole is a program to tunnel a Linux desktop to a browser.
Sometimes in your Linux life, you need to control your servers in the internet with a graphical user interface. The problem is when you are behind a corporate firewall blocking ssh requests to the public internet. Typical corporate firewalls only allow proxified client access to port 80 and 443 in the public internet. The solution is to use a browser to display a Linux desktop. The solution is not, however, to use VNC for a web browser, as it will be blocked by corporate firewalls. The solution is guacamole.
Here is what I did to configure Guacamole on 2011-06-25 using a rackspace server with Ubuntu 10.04 x64:
- install some dependencies
apt-get install tomcat6 libvncserver0
- download this package
- unpack it
tar xvzf guacamole-0.3.0-ubuntu-10.04-x86-64.tar.gz
- install the contained software
cd guacamole-0.3.0-ubuntu-10.04-x86-64 dpkg -i *.deb
- put the software to the right place
ln -s /var/lib/guacamole/guacamole.war /var/lib/tomcat6/webapps ln -s /etc/guacamole/guacamole.properties /var/lib/tomcat6/common/classes
- edit /etc/guacamole/user-mapping.xml
<user-mapping> <authorize username="user" password="password"> <protocol>vnc</protocol> <param name="hostname">localhost</param> <param name="port">5901</param> <param name="password">passwort</param> </authorize> </user-mapping>
- This will allow you to log in as user named user with the password password.
- install a vnc server
apt-get install tightvncserver
- start the vnc server
vncserver
- surf to your Linux desktop: http://localhost:8080/guacamole/
- Now that this has worked, you want the service to be reachable via port 80, so do a port forwarding:
ssh username@server -L localport:remoteserver:remoteport
See also
This article is a stub and needs improvement. You can help here :)