Guacamole is a remote desktop gateway. rpmfusion repo is used as epel seems to have no web client
I decided to make a howto out of this thread. Thanks to all contributors.
- service integration
- installation script used - thanks to @jackyes
- reverse proxy to have it on standard https port and using NS certificate - thanks to @greavette
script for importing NS cert to java keystore if one doesn’t want to use reverse proxy - thanks to @ftimmers
- openjdk 1.7 instead of 1.8 for having same java version as webtop
Please try Guacamole, I think it’s a nice tool. Next goal will be a module. Corrections, suggestions for default settings and improvements are always welcome.
mkdir -p /etc/e-smith/db/configuration/defaults/guacd
echo "service" > /etc/e-smith/db/configuration/defaults/guacd/type
echo "enabled" > /etc/e-smith/db/configuration/defaults/guacd/status
config set guacd service status enabled
# reverse proxy
cat << EOF > /etc/httpd/conf.d/guacamole.conf
ProxyPass /guacamole http://localhost:8080/guacamole
ProxyPassReverse /guacamole http://localhost:8080/guacamole
systemctl restart httpd
yum -y install nethserver-mysql java-1.7.0-devel
chmod +x guacamole-install-script.sh
Scroll up to copy your mariadb root password from the output of “cat ~/.mycnf” and just copy/paste it:
Enter the root password for MariaDB: YOURMARIADBPW
Enter the Guacamole DB name: guacamole
Enter the Guacamole DB username: guacamole
Enter the Guacamole DB password: guacamole
Enter the Java KeyStore password (least 6 characters): guacamole
Do you wish to Install the Proxy feature (Nginx)?: no
Then you are asked to complete the Java keystore wizard (when you are using reverse proxy, this certificate is not used):
What is your first and last name?
What is the name of your organizational unit?
What is the name of your organization?
What is the name of your City or Locality?
What is the name of your State or Province?
What is the two-letter country code for this unit?
Is CN=Markus, OU=Users, O=NethServer, L=Vienna, ST=Vienna, C=AT correct?
Browse to https://YOURNETHSERVER/guacamole/ and login with username guacadmin and password guacadmin.