#Guacamole: X11VNC {{INLINETOC}} Guacamole est une application Web HTML5 qui permet d'accéder à un bureau à l'aide de protocoles de bureau à distance. Un serveur centralisé agit comme un tunnel et un proxy, permettant d'accéder à plusieurs bureaux via un navigateur Web. pas de plugins nécessaires. Le client ne nécessite rien de plus qu'un navigateur Web prenant en charge HTML5 et AJAX. ## Installer des paquets ``` sudo aptitude install guacamole-tomcat sudo aptitude install libguac-client-ssh0 libguac-client-rdp0 cd /etc/guacamole sudo cp user-mapping.xml user-mapping.xml.orig ``` ## Modifier le fichier user-mapping.xml **user-mapping.xml** ``` vnc localhost 5900 VNCPASS vnc localhost 5901 VNCPASS vnc localhost 5902 VNCPASS rdp localhost 3389 32 1024 768 ssh localhost 22 ``` ## Générer le mot de passe md5 ``` echo -n 'PASSWORD' | md5sum ``` ## Redémarrer le démon Guacamole ``` sudo service guacd restart ``` ## Installer le serveur VNC sur le client Guacamole ``` sudo aptitude install vnc4server ``` ## Lancer la VM avec un mot de passe vnc ``` kvm image -vnc ${dpy},password -monitor stdio (qemu) set_password vnc password ``` **guacamole.properties** ``` # Guacamole - Clientless Remote Desktop # Copyright (C) 2010 Michael Jumper # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . # Hostname and port of guacamole proxy guacd-hostname: localhost guacd-port: 4822 # Auth provider class (authenticates user/pass combination, needed if using the provided login screen) auth-provider: net.sourceforge.guacamole.net.basic.BasicFileAuthenticationProvider basic-user-mapping: /etc/guacamole/user-mapping.xml ```