GUACAMOLE SERVER Instructions
guacamole is working and the performances are linked to the network you are using. but in case you do not have time to spend with this you can trust:
La solution est Wallix Bastion (https://www.wallix.com/modules-bastion/).
(cf. certification CSPN ANSSI : https://www.ssi.gouv.fr/entreprise/certification_cspn/wallix-adminbastion-version-3-1-9-avec-correctifs-de-securite-3354-5420-et-5435/)
Server Names
for remote control from internet : 'http://remoteclear.c2n.u-psud.fr'
for remote control from intranet: 'http://remoteclear-lan.c2n.u-psud.fr'
Guacamole Server Installation from .DEB
Guacamole installation from sources (better)
# install required packages
# create directories
# configure GUACAMOLE_HOME for tomcat
# install guacamole server
To enable the service @boot time for the server you can also do
# install guacamole client (web app)
Before compiling the guacamole client, you have to get the sources
Then you have to modify somepom.xml
files like this.
and changing as following
If the project uses source/target 8, adding <source>8</source> in javadoc configuration should make the project buildable on jdk {11, 12, 13}:
# install mysql connector
# configure mysql for guacamole
# link guacamole dir to tomcat
# provision the guacamole database
# TODO: include instructions for ldap integration
Compilation of guacamole client, once it is done is in /target as tar.gz.
You have to untar it and in the directory you have to use jar
.war
file that you copy in the wabapp
of tomcat8
Guacamole Configuration files
in /etc/guacamole/guacamole.properties
Guacamole configuration
There are some options for each kind of protocol. Hereafter you will find some tips to configure these protocol with common parameters
VNC and password
Tips for guacamole Configuration
Installation
from ubuntu packages .deb
You need to manually add the guacamole.war java client execution soft to the TOMCAT 8 machine.
just put the .war
file to the /var/lib/tomcat8/webapp
directory and the default behaviour should be to install and deploy the webapp automatically.
Be careful to take the right version of the .war for your right server version of guacd
.
exemple /etc/guacamole/guacamole.properties
/etc/guacamole/tomcat.xml
configuration of the machines access for specific users is done in /etc/guacamole/user-mapping.xml
Configuring Tomcat 8 the Java Machine
You are not authorized to view this page. If you have not changed any configuration files, please examine the file conf/tomcat-users.xml in your installation. That file must contain the credentials to let you use this webapp.
For example, to add the manager-gui role to a user named tomcat with a password of s3cret, add the following to the config file listed above.
<role rolename=“manager-gui”/> <user username=“tomcat” password=“s3cret” roles=“manager-gui”/>
Note that for Tomcat 7 onwards, the roles required to use the manager application were changed from the single manager role to the following four roles. You will need to assign the role(s) required for the functionality you wish to access.
manager-gui - allows access to the HTML GUI and the status pages manager-script - allows access to the text interface and the status pages manager-jmx - allows access to the JMX proxy and the status pages manager-status - allows access to the status pages only
The HTML interface is protected against CSRF but the text and JMX interfaces are not. To maintain the CSRF protection:
Users with the manager-gui role should not be granted either the manager-script or manager-jmx roles. If the text or jmx interfaces are accessed through a browser (e.g. for testing since these interfaces are intended for tools not humans) then the browser must be closed afterwards to terminate the session.
For more information - please see the Manager App HOW-TO.
Changing Tomcat Port
in the file /etc/tomcat8/server.xml
Compiling from sources
Basic instructions for the server and the client are there:
http://guacamole.apache.org/doc/gug/installing-guacamole.html#building-guacamole-server
to simplify I give the instruction to copy and paste:
For the git code for the server you will need to do:
For the client (in JAVA)
don't forget to set up the JAVA_HOME
Installing packages:
For the server compilation: http://guacamole.apache.org/doc/gug/installing-guacamole.html#building-guacamole-server
Configuring ReverseProxy for C2N configuration
The server name is remoteclear. From internet the IP is 129.175.134.79
from intranet : the sever name is remoteclear-lan and the IP is 192.168.70.103
Si NGINX n'est pas installé: