Guacamole Resurrected

rdagijones
Posts: 265
Joined: Thu Jan 26, 2012 7:56 am

Guacamole Resurrected

Postby rdagijones » Sun Oct 09, 2016 7:18 pm

I just updated the Guacamole on Amahi wiki and started playing with the latest version of Guacamole. Check it out at https://wiki.amahi.org/index.php/Guacamole

If Guacamole were to become a one-click app for Amahi, I am not sure how to get Guacamole to resolve correctly from the Amahi Dashboard. I cannot figure out how to get the short address "guacamole/" to resolve correctly. The end of the long address "server-ip:8080/guacamole" or "whatever.yourhda.com:8080/guacamole" requires that ":8080/guacamole" at the end to resolve correctly. I am fairly sure that the "/guacamole" is needed for the handoff to Tomcat.

My current .htaccess file is
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule (.*) http://%{HTTP_HOST}:8080/guacamole [R,L]
Is there a way to edit the conf file (/etc/httpd/conf.d/***-guacamole.conf) or htaccess to resolve this? Is there any way to have this automatically add ":8080/guacamole"?

User avatar
bigfoot65
Project Manager
Posts: 11186
Joined: Mon May 25, 2009 4:31 pm

Re: Guacamole Resurrected

Postby bigfoot65 » Sun Oct 09, 2016 7:45 pm

Since this app works on a nonstandard port, not sure the /guacamole is needed.

Have you tried it without?

BTW Amahi is headless. Won't this app require a desktop? We no longer support desktop environment with Amahi.
ßîgƒσστ65
Applications Manager

rdagijones
Posts: 265
Joined: Thu Jan 26, 2012 7:56 am

Re: Guacamole Resurrected

Postby rdagijones » Sun Oct 09, 2016 8:53 pm

I did try it without the "/guacamole" and get a blank page.

As for your other question: Guacamole is for remote desktop access into other computers in the network. In Guacamole's web interface administrative users can set up connections to client machines with desktop environments and then other users can access them via an HTML5 web browser. This is very handy for an IT like myself.

User avatar
bigfoot65
Project Manager
Posts: 11186
Joined: Mon May 25, 2009 4:31 pm

Re: Guacamole Resurrected

Postby bigfoot65 » Mon Oct 10, 2016 3:12 pm

Yes the ####-guacamole.conf file can be edited to include (add below ServerAlias)

Code: Select all

ProxyPass / http://localhost:8080/guacamole/ ProxyPassReverse / http://localhost:8080/guacamole/
Then restart http.

Might want to choose a more uncommon port such as 8090. Some other apps use 8080.

EDIT: BTW I tested the wiki guidance (added the above portion) and it appears to be working. I was not able to test the actual remote into a system, but the server appears to be running.
ßîgƒσστ65
Applications Manager

rdagijones
Posts: 265
Joined: Thu Jan 26, 2012 7:56 am

Re: Guacamole Resurrected

Postby rdagijones » Mon Oct 10, 2016 7:56 pm

Thanks for cleaning up the look of the wiki. I like it.

I have tried both an RDP connection and a VNC connection to my Windows 10 desktop and I worked well. I have also connected VNC through Chrome on my phone and I can see the desktop screen. Guacamole 0.9.9 is a good improvement from 0.8. Configuring a Connection is really quite simple. Making Users, Connections and everything is part of the dropdown menu under the user name in the upper right of the screen and under "Settings." Give it a shot when you have time and tell me what you think.

User avatar
bigfoot65
Project Manager
Posts: 11186
Joined: Mon May 25, 2009 4:31 pm

Re: Guacamole Resurrected

Postby bigfoot65 » Tue Oct 11, 2016 5:37 am

Making Users, Connections and everything is part of the dropdown menu under the user name in the upper right of the screen and under "Settings."
Might be a good idea if you create a separate wiki page with an example on how to configure the app to connect to a machine on the network.

There appears to be a lot of info needed, not to mention VNC Server or RDP on the machine.

Do you have time to do so? It would be beneficial.
ßîgƒσστ65
Applications Manager

rdagijones
Posts: 265
Joined: Thu Jan 26, 2012 7:56 am

Re: Guacamole Resurrected

Postby rdagijones » Tue Oct 11, 2016 4:23 pm

Hold the presses: What version of Fedora are you running? I installed on Fedora 21 and everything works just great. I am now trying Fedora 23 and have run into an issue.

This guy has the same issue I am facing:
https://glyptodon.org/jira/browse/GUAC-1501


I am not having any luck compiling FreeRDP from source so I don't know how to proceed from here.

User avatar
bigfoot65
Project Manager
Posts: 11186
Joined: Mon May 25, 2009 4:31 pm

Re: Guacamole Resurrected

Postby bigfoot65 » Tue Oct 11, 2016 5:28 pm

It appears Guacamole, guacd, and FreeRDP are both in the Fedora 23 repo :D

Although it's 0.9.8, should be good enough as a start. Could probably upgrade it manually.

Not sure how it all would work. Tried installing it but could not get it working. Got a blank screen when accessing the site.
ßîgƒσστ65
Applications Manager

User avatar
bigfoot65
Project Manager
Posts: 11186
Joined: Mon May 25, 2009 4:31 pm

Re: Guacamole Resurrected

Postby bigfoot65 » Tue Oct 11, 2016 6:48 pm

ref: Sourceforge discussion thread

Found a work around that should make things work for Fedora 23 per the Amahi wiki guidance. You have to install the following Fedora 19 dependencies (go figure):

freerdp-plugins-1.0.2-2.fc19.x86_64.rpm, freerdp-devel-1.0.2-2.fc19.x86_64.rpm, and freerdp-libs-1.0.2-2.fc19.x86_64.rpm.

In order to get them to install in Fedora 23, you need to do them as follows:

Code: Select all

rpm -Uvh freerdp-libs-1.0.2-2.fc19.x86_64.rpm --nodeps --oldpackage rpm -Uvh freerdp-devel-1.0.2-2.fc19.x86_64.rpm --nodeps --oldpackage rpm -Uvh freerdp-plugins-1.0.2-2.fc19.x86_64.rpm --nodeps --oldpackage
Ensure you install the Fedora 23 dependencies as normal. When these older ones are installed, if there is a Fedora 23 package installed, it will remove it.

Then do the steps:

Code: Select all

./configure --with-init-dir=/etc/init.d make make install ldconfig
The make and make install step should complete without errors.

Although the work around was for Fedora 22, betting it works on Fedora 23 as well. Please let me know if it works for you. I will try to test sometime this week.
ßîgƒσστ65
Applications Manager

rdagijones
Posts: 265
Joined: Thu Jan 26, 2012 7:56 am

Re: Guacamole Resurrected

Postby rdagijones » Wed Oct 12, 2016 6:54 pm

I decided to back up and try 0.9.8 in the Fedore 23 repos. Now I'm running into an issue of a white screen instead of the guacamole login. I think I found a solution for it but it has to do with placing guacamole_home=/etc/guacamole as a line in the appropriate file somewhere so as to tell Tomcat where to look for the guacamole properties file (I think) :? . I've been doing some reading on it to see what I can find. It would be much simpler to package guacamole as a One Click app if we are not having to "make / make install." I'm out of town until Monday and I'll give it a shot next week.

As for the files that you listed, do you think the files for Fedora 21 would work? If I had to I could go back to compiling guacamole server from source but use your suggestion. Thanks for the help.

Who is online

Users browsing this forum: No registered users and 2 guests