guacamole
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| guacamole [2018/12/06 19:48] – abeverley | guacamole [2018/12/06 20:04] (current) – abeverley | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| =====Guacamole===== | =====Guacamole===== | ||
| - | ==Introduction== | + | ===== Introduction |
| Guacamole is remote desktop software, which allows any client to connect to it with only a HTML5 browser. No plugins, client software or any other headaches required! | Guacamole is remote desktop software, which allows any client to connect to it with only a HTML5 browser. No plugins, client software or any other headaches required! | ||
| - | ==Set up a webinar demo machine== | + | ===== Set up a webinar demo machine |
| These brief instructions show how to set up Guacamole on a remote server, so that it can be used as a demo machine, controllable and viewable by anyone with a web browser. I use this to perform remote demonstrations of web-based software. The instructions assume that a Debian Jessie system is used, with Apache already installed. | These brief instructions show how to set up Guacamole on a remote server, so that it can be used as a demo machine, controllable and viewable by anyone with a web browser. I use this to perform remote demonstrations of web-based software. The instructions assume that a Debian Jessie system is used, with Apache already installed. | ||
| Line 11: | Line 11: | ||
| * Install required packages: | * Install required packages: | ||
| - | | + | '' |
| * Configure Apache as a proxy to Tomcat (and Guacamole) | * Configure Apache as a proxy to Tomcat (and Guacamole) | ||
| - | < | + | |
| - | | + | ProxyPass |
| - | | + | ProxyPassReverse / http:// |
| - | | + | ProxyPassReverseCookiePath /guacamole/ / |
| - | | + | SSLEngine on |
| - | | + | SSLCertificateFile |
| - | | + | SSLCertificateKeyFile / |
| - | </ | + | </ |
| - | * Add an RDP user to the Guacamole user config (/ | + | |
| - | < | + | |
| - | | + | < |
| - | | + | <param name=" |
| - | | + | <param name=" |
| - | | + | <param name=" |
| - | </ | + | </ |
| Edit a connection to / | Edit a connection to / | ||
| - | [xrdp0] | + | |
| - | | + | name=My connection |
| - | | + | lib=libvnc.so |
| - | | + | username= |
| - | | + | password=vnc_pass # or " |
| - | | + | ip=127.0.0.1 |
| - | | + | port=5900 |
| - | | + | '' |
| Add a normal user to run X as: | Add a normal user to run X as: | ||
| - | | + | '' |
| Reconfigure X to allow any user to start it: | Reconfigure X to allow any user to start it: | ||
| - | dpkg-reconfigure x11-common | + | '' |
| If running Debian Stretch, then also instal xserver-xorg-legacy: | If running Debian Stretch, then also instal xserver-xorg-legacy: | ||
| - | # Fixes the following error: | + | |
| - | # parse_vt_settings: | + | # parse_vt_settings: |
| - | | + | apt-get install xserver-xorg-legacy |
| Change to the normal user and start the required X services: | Change to the normal user and start the required X services: | ||
| - | su andrew | + | |
| - | | + | x11vnc -storepasswd # As configured in / |
| - | | + | startx & |
| - | | + | x11vnc -noncache -usepw -display :0 -rfbport 5900 -shared |
| It should now be possible to browse to the site configured in Apache, login to Guacamole, and see a standard XFCE desktop. Chromium (or Iceweasal/ | It should now be possible to browse to the site configured in Apache, login to Guacamole, and see a standard XFCE desktop. Chromium (or Iceweasal/ | ||
| - | ==Enabling Apache Portable Runtime (APR)== | + | ===== Enabling Apache Portable Runtime (APR) ===== |
| I don't know how much difference it makes (or whether it makes any difference in this environment), | I don't know how much difference it makes (or whether it makes any difference in this environment), | ||
| - | < | + | < |
| And installing libtcnative-1: | And installing libtcnative-1: | ||
| - | apt-get install libtcnative-1 | + | '' |
| - | =Links:= | + | ====== Links: |
| http:// | http:// | ||
guacamole.1544125718.txt.gz · Last modified: 2018/12/06 19:48 by abeverley
