Monday, December 29, 2014

Install Guacamole

tomcat - server.xml - listen localhost only:
<Connector address="127.0.0.1" port="8009" protocol="AJP/1.3"
connectionTimeout="20000"
URIEncoding="UTF-8" />
<Connector address="127.0.0.1" port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
URIEncoding="UTF-8"
redirectPort="8443" />
view raw server.xml hosted with ❤ by GitHub
Guacamole - apache as reverse proxy for tomcat:
<Location /guacamole/>
Order allow,deny
Allow from all
ProxyPass ajp://127.0.0.1:8009/guacamole/ max=20 flushpackets=on
ProxyPassReverse ajp://127.0.0.1:8009/guacamole/
AuthName "Password"
AuthUserFile /etc/guacamole/.htpasswd
SetEnv proxy-chain-auth On
AuthType Basic
Order deny,allow
Deny from all
require valid-user
</Location>
view raw guacamole.conf hosted with ❤ by GitHub

apt-get install xubuntu-desktop xrdp
apt-get install libcairo2-dev libpango1.0-dev libpng12-dev freerdp-x11 libssh2-1 libvncserver-dev libfreerdp-dev libvorbis-dev libssl0.9.8 libssh-dev libssh2-1-dev libpulse-dev
apt-get install uuid uuid-dev libossp-uuid-dev