Difference between revisions of "Apache Guacamole"

40 bytes added ,  02:36, 21 August 2022
Tags: Mobile web edit Mobile edit
 
(One intermediate revision by one other user not shown)
Line 140: Line 140:
Add the following:
Add the following:


<pre>
<Valve className="org.apache.catalina.valves.RemoteIpValve"
<Valve className="org.apache.catalina.valves.RemoteIpValve"
             internalProxies="127.0.0.1"
             internalProxies="127.0.0.1"
Line 145: Line 146:
             remoteIpProxiesHeader="x-forwarded-by"
             remoteIpProxiesHeader="x-forwarded-by"
             protocolHeader="x-forwarded-proto" />
             protocolHeader="x-forwarded-proto" />
</pre>
'''Restart tomcat9'''
<code>sudo systemctl restart tomcat9</code>
<code>sudo systemctl restart tomcat9</code>


Apache Guacamole should now be installed and reachable at <code>http://localhost:8080/guacamole</code>
Apache Guacamole should now be installed and reachable at <code>http://localhost:8080/guacamole</code>
Line 162: Line 168:
<code>systemctl restart tomcat9</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, fix by adding a guacd user:


<code>useradd -M -d /var/lib/guacd/ -r -s /sbin/nologin -c "Guacd User" guacd</code>
<code>useradd -M -d /var/lib/guacd/ -r -s /sbin/nologin -c "Guacd User" guacd</code>
Line 175: Line 181:


<code>systemctl restart guacd</code>
<code>systemctl restart guacd</code>
==See also ==
==See also ==
* [[Reverse Proxy]]
* [[Reverse Proxy]]
Anonymous user