dave71italy
Posts: 1
Joined: Fri Jan 23, 2015 4:24 pm

Re: [TUTORIAL] Jetty and Guacamole

Fri Jan 23, 2015 4:35 pm

Great tutorial!
I had a problem during
./configure --with-init-dir=/etc/init.d
first it errored out asking for a libpng (which I installed)
later it finished showing no support for ssh
The problem was solved installing a few libraries:

Code: Select all

sudo apt-get install libpng12-dev libcairo2-dev libvorbis-dev libssh-dev libpango1.0-dev libssh2-1-dev
at the end I had a problem during the make phase. I hit a
pango-font.h:380:33: error: ISO C restricts enumerator values to range of 'int' [-Wpedantic]

which appears to be a pango problem

to solve this one I had to go into all of the Makefile, Makefile.am and Makefile.in files and remove the -pedantic option
probably there is an easier solution (I had to edit about 15 files) but this one worked.

Angelus88
Posts: 442
Joined: Mon May 13, 2013 9:25 am
Location: Ivrea, TO (Italy)

Re: [TUTORIAL] Jetty and Guacamole

Fri Jan 23, 2015 7:35 pm

dave71italy wrote:Great tutorial!
I had a problem during
./configure --with-init-dir=/etc/init.d
first it errored out asking for a libpng (which I installed)
later it finished showing no support for ssh
The problem was solved installing a few libraries:

Code: Select all

sudo apt-get install libpng12-dev libcairo2-dev libvorbis-dev libssh-dev libpango1.0-dev libssh2-1-dev
Thank you. I'm going to add those dependencies to the tutorial :D
dave71italy wrote: at the end I had a problem during the make phase. I hit a
pango-font.h:380:33: error: ISO C restricts enumerator values to range of 'int' [-Wpedantic]

which appears to be a pango problem

to solve this one I had to go into all of the Makefile, Makefile.am and Makefile.in files and remove the -pedantic option
probably there is an easier solution (I had to edit about 15 files) but this one worked.
I didn't know that until now! Actually yes. There's an easier solution and yes, it's a pango problem. If you read here you could have solved the error with a patch.

P.S. Looking at your nick "dave71italy" makes me wonder if you're Italian. If you are, I'm too :D

manu84
Posts: 2
Joined: Sat Feb 21, 2015 12:38 am

Re: [TUTORIAL] Jetty and Guacamole

Sat Feb 21, 2015 12:46 am

Hello,

I am Emmanuel from France.
I just start to play with raspberry.

I tried this tutorial and was successful, so thanks for that!

Just one problem guacd dont start automaticaly at boot. I need to start it manually.
I check the etc/init.d, and I have a guacd file

So could I have some help about?

Thanks

Angelus88
Posts: 442
Joined: Mon May 13, 2013 9:25 am
Location: Ivrea, TO (Italy)

Re: [TUTORIAL] Jetty and Guacamole

Sat Feb 21, 2015 10:22 am

You could add the command to start guacd inside the cron file. Run "crontab -e" and at the end of the file add

@reboot commandtostartguacd

chrysis83
Posts: 1
Joined: Sun Mar 29, 2015 4:24 am

Re: [TUTORIAL] Jetty and Guacamole

Sun Mar 29, 2015 4:39 am

Great tutorial thanks,
I have a problem, I fallow all steps, compile without errors, restart jetty and guacd success but when i go to IP:8080/ or IP:8080/guacamole i have nothing...
Before guacamole install IP:8080 works,
Someone have a idea?

Sorry for my bad English

Angelus88
Posts: 442
Joined: Mon May 13, 2013 9:25 am
Location: Ivrea, TO (Italy)

Re: [TUTORIAL] Jetty and Guacamole

Fri Apr 17, 2015 8:27 pm

chrysis83 wrote:Great tutorial thanks,
I have a problem, I fallow all steps, compile without errors, restart jetty and guacd success but when i go to IP:8080/ or IP:8080/guacamole i have nothing...
Before guacamole install IP:8080 works,
Someone have a idea?

Sorry for my bad English
Try to temporarily remove the /usr/share/jetty/webapps/guacamole.war file, then sudo service jetty restart and see if you can connect to http://raspberryipaddress:8080

Xen0
Posts: 1
Joined: Sat Jun 06, 2015 11:22 am

Re: [TUTORIAL] Jetty and Guacamole

Sat Jun 06, 2015 11:28 am

Hi, great tutorial by the way. I was able to follow until './configure --with-init-dir=/etc/init.d'.

I'm getting the same error as dave71italy which is the pango problem. I tried to edit the Makefiles but I can't seem to find the '-pedantic' option :|

Still a beginner in Linux and Raspberry pi :D

Dannnn
Posts: 11
Joined: Fri Sep 21, 2012 7:22 am

Re: [TUTORIAL] Jetty and Guacamole

Fri Jun 26, 2015 11:34 am

Following this very helpful tutorial, I get an "internal server error" when connecting, and an error in the logs:

SEVERE: Unable to load/detect WebSocket support.

I'd be grateful if anyone could point me in the right direction for what to do

thanks,

Dan

In0cenT
Posts: 2
Joined: Thu Jul 16, 2015 9:08 am

Re: [TUTORIAL] Jetty and Guacamole

Thu Jul 16, 2015 9:16 am

Hello

Thank you very much for this detailed tutorial!
I'm running a banana pi with lubuntu, so the tutorial should work too for me...

Jetty starts according to my terminal correctly without any errors and on a different port, which I've configured so. What is strange though is it tells me it startet under following address: "http://leemaker:1337/" . I've tryed multiple configurations to get to see to local IP (192.168.178.202), but no luck at all...

Any idea where the problem lies?

Also do I have to tell jetty where my java installation is?

Thank you very much!
In0cenT

In0cenT
Posts: 2
Joined: Thu Jul 16, 2015 9:08 am

Re: [TUTORIAL] Jetty and Guacamole

Fri Jul 17, 2015 7:06 am

Ok whatever, sleeping over my problem solved it. Nothing changed...

Jetty and Guacamole running wonderfull on my banana pi, RDP is a bit slow though :(

Thank you!

mrjoli021
Posts: 1
Joined: Tue Aug 25, 2015 5:17 pm

Re: [TUTORIAL] Jetty and Guacamole

Tue Aug 25, 2015 5:20 pm

Hello,

I have followed the tutorial, but I cant seem to connect to any hosts. I keep getting:
HTTP tunnel request rejected: User has no session.

when I searched I have to add ProxyPassReverseCookiePath directive, or proxy_cookie_path if using Nginx. But since I installed this on Jetty not sure where to add the Proxy command to.

thanks,

kideon
Posts: 1
Joined: Fri Feb 26, 2016 2:30 pm

Re: [TUTORIAL] Jetty and Guacamole

Fri Feb 26, 2016 2:34 pm

I got everything up and running and can login but can't connect to the VNC Session. Looking at the jetty log I am getting:
TunnelServlet - Creation of Websocket tunnel to guard failed: end of stream while waiting for "ready"

Any idea?

sav2880
Posts: 1
Joined: Sun May 07, 2017 4:34 am

Re: [TUTORIAL] Jetty and Guacamole

Sun May 07, 2017 4:58 am

I was just able to use this tutorial on my C.H.I.P. and create a Guacamole server, I appreciate the directions here!

One thing that I was able to do with another "scripted" tutorial was access the global settings, which allowed me to be able to add new users, connections, everything from within the GUI. How would I go about adding that functionality?

Return to “Java”

Who is online

Users browsing this forum: No registered users and 6 guests