You will find it just some posts ahead!

Code: Select all
sudo apt-get update
sudo apt-get upgrade
Code: Select all
sudo apt-get install jetty
Code: Select all
sudo nano /etc/default/jetty
Code: Select all
sudo service jetty start
Code: Select all
sudo apt-get install libfreerdp-dev
sudo apt-get install libtelnet-dev
sudo apt-get install libvncserver-dev
sudo apt-get install libssh-dev libssh2-1-dev
Code: Select all
tar -zxvf guacamole-server-0.9.1.tar.gz
cd guacamole-server-0.9.1
./configure --with-init-dir=/etc/init.d
If so, then:Protocol support:
RDP ....... yes
SSH ....... yes
Telnet .... yes
VNC ....... yes
Init scripts: /etc/init.d
Code: Select all
make
sudo make install
sudo ldconfig
sudo service guacd restart
Code: Select all
ps aux | grep guacd
Code: Select all
sudo mv guacamole-0.9.1.war /usr/share/jetty/webapps/guacamole.war
sudo service jetty restart
Code: Select all
sudo mkdir /usr/share/jetty/.guacamole
cd /usr/share/jetty/.guacamole/
sudo nano
Code: Select all
# Hostname and port of guacamole proxy
guacd-hostname: localhost
guacd-port: 4822
# Location to read extra .jar's from
lib-directory: /usr/share/jetty/.guacamole
# Authentication provider class
auth-provider: net.sourceforge.guacamole.net.basic.BasicFileAuthenticationProvider
# Properties used by BasicFileAuthenticationProvider
basic-user-mapping: /usr/share/jetty/.guacamole/user-mapping.xml
Code: Select all
<user-mapping>
<authorize username="USERNAME" password="PASSWORD">
<connection name="VNC-Connection">
<protocol>vnc</protocol>
<param name="hostname">localhost</param>
<param name="port">5900</param>
<param name="password">VNCPASSWORD</param>
</connection>
</authorize>
</user-mapping>
Code: Select all
<user-mapping>
<authorize username="raspberrypi" password="12345678">
<connection name="VNC-Connection">
<protocol>vnc</protocol>
<param name="hostname">localhost</param>
<param name="port">5901</param>
<param name="password">raspberry</param>
</connection>
</authorize>
</user-mapping>
Code: Select all
sudo service jetty restart
Ok, now the tutorial is complete! I wrote it while I was following the same steps on my RaspberryPi so I know it should work.ylindsay wrote:Awesome!
I'll be trying this out very, very soon.
Thanks again!
Yroark
Code: Select all
sudo apt-get install openjdk-7-jdk
Code: Select all
JAVA_HOME=/usr/lib/jvm/java-7-openjdk-armhf
You're welcome buddy, just let me know if the rest worksylindsay wrote:That did it! And the removing the comment # very good tip I totally would have missed it.
Thanks once more!
Well, I know with the Pi is not in realtime but... more than 5 seconds it's probably too much.drawde wrote:got jetty and guacamole installed thanks to this tutorial. it's my first time using anything like this, is it supposed to be as fast as the regular viewing? i'm seeing like 5+ seconds between redraws, is this normal? is the pi not powerful enough?
Well, "internal server error" could mean everything and nothing.chkchaitu wrote:Thank you so much for a great tutorial.
I was able to install guacamole 0.9.3 on jetty successfully by following the instructions. I setup MySQL Auth as well.
I am able to create users, new connections etc, but when I click on a connection it says internal server error and does not connect. this happens to all connections, be it SSH or RDP.
Any idea what could be wrong.