Difference between revisions of "Apache Guacamole"

121 bytes added ,  21:31, 18 August 2022
Line 115: Line 115:
Add the following:
Add the following:


<code>mysql-hostname: localhost<br />
<code>mysql-hostname: localhost<br />mysql-port: 3306<br />mysql-database: guacamole_db<br />mysql-username: guacamole_user<br />mysql-password: StrongPassword</code>
mysql-port: 3306<br />
mysql-database: guacamole_db<br />
mysql-username: guacamole_user<br />
mysql-password: StrongPassword</code>


Edit guacd.conf:
Edit guacd.conf:
Line 127: Line 123:
Add the following:
Add the following:


<code>[server]<br />
<code>[server]<br />bind_host = 0.0.0.0<br />bind_port = 4822</code>
bind_host = 0.0.0.0<br />
bind_port = 4822</code>


'''Restart Services'''
'''Restart Services'''
Line 137: Line 131:
'''Get Guacamole client'''
'''Get Guacamole client'''


<code>wget https://dlcdn.apache.org/guacamole/1.4.0/binary/guacamole-1.4.0.war<br />
<code>wget https://dlcdn.apache.org/guacamole/1.4.0/binary/guacamole-1.4.0.war<br />mv guacamole-1.4.0.war guacamole.war<br />cp guacamole.war /var/lib/tomcat9/webapps<br />ls /var/lib/tomcat9/webapps</code>
mv guacamole-1.4.0.war guacamole.war<br />
cp guacamole.war /var/lib/tomcat9/webapps<br />
ls /var/lib/tomcat9/webapps</code>




Line 160: Line 151:
The default sign in credentials are username:<code>guacadmin</code> password:<code>guacadmin</code>
The default sign in credentials are username:<code>guacadmin</code> password:<code>guacadmin</code>
== Add TOTP Authentication ==
== Add TOTP Authentication ==
Download the TOTP extension for Apache Guacamole and install it to the extensions folder:
<code>wget <nowiki>https://dlcdn.apache.org/guacamole/1.4.0/binary/guacamole-auth-totp-1.4.0.tar.gz</nowiki></code>
<code>wget <nowiki>https://dlcdn.apache.org/guacamole/1.4.0/binary/guacamole-auth-totp-1.4.0.tar.gz</nowiki></code>


Line 166: Line 159:
<code>mv guacamole-auth-totp-1.4.0/guacamole-auth-totp-1.4.0.jar /etc/guacamole/extensions/</code>
<code>mv guacamole-auth-totp-1.4.0/guacamole-auth-totp-1.4.0.jar /etc/guacamole/extensions/</code>


<code>systemctl restart tomcat9</code>
== Fix RDP Connection Issues ==
== Fix RDP Connection Issues ==
If you have connection issues, check the logs by running:
If you have connection issues, check the logs by running:
Anonymous user