Guacamole 1.3.0 testing

Great that you found a solution for the Win 7 clients!

See Guacamole manual for debug logging.

The logfiles are /var/log/messages and /opt/tomcat8/logs

I added this info to the wiki.

Thatā€™s amazing thanks man! Login screen is super cool

1 Like

Released. Thanks for your testing.

1 Like

Upgraded, so far nothing to report.

I made a few custom edits to the branding and was curious if you had any input on the en.json file. It does not like the & symbol in the text and shows up like this:
Text: ā€œSpay & Neuter Guacamoleā€ but has AMP; added

image

Any ideas on what I would need to set so it shows up correctly? Very minor and cosmetic, just curious.

1 Like

@royceb

Hi

Does escaping with a backslash help?

1 Like

Can you help clarify the input you mean?

The text is as follows:

ā€œSpay & Neuter Guacamoleā€

Do you suggest to put the / mark at the end of the text or the ā€œā€ marks such as:

ā€œSpay & Neuter Guacamole/ā€

@royceb

Hi Royce

See here:

Basically, you need to escape the Ampersand, so something like this:

echo "Hello \"World\""

In this example the " needs escapingā€¦

My 2 cents
Andy

1 Like

Maybe it needs HTML?

Spay & Neuter Guacamole

Edit:

OK, I misunderstood, seems you already tried it.

2 Likes

"NAME" : "SN \"&\" Guacamole" - Broken with - SN ā€œ& AMP;ā€ GUACAMOLE

"NAME" : "SN \"&"\ Guacamole" - Broken & reverts to Apache Guacamole text

Not sure, and not really a big deal but one of those things now that is bugging me because I simply donā€™t understand it.

@royceb

Testing it myself, wait a momentā€¦ :slight_smile

Professor @Andy_Wismer at it again! TY, I have a feeling itā€™s going to boil down to some markup language format I am not familiar with. Best of luck!

1 Like

@royceb

Iā€™m in testing, but seem to run into a caching issue or somethingā€¦
No changes in text or whatever are shown, even with

signal-event nethserver-guacamole-update

Need to figure out where the bug isā€¦

Andy

@royceb

Hi

Still tryingā€¦
As soon as anything non ASCII and needing escaping is done, the login page simple does NOT display what is configured, and reverts to some default:

NethServer Guacamole

becomes

Apache Guacamole

???

This happens for me once I enter a certain incompatible string of characters in the en.json file such as "NAME" : "SN \"&"\ Guacamole"

I reload the Guacamole branding process with the following steps:

1.Open/save the branding.jar file(s) with 7Zip
2.Upload updated branding.jar back to Nethserver with WinSCP
3.Reload Guacd & Tomcat: service tomcat restart & service guacd restart

I donā€™t think I need to reload the GuacD component but I do just because.

Same Problem with < and >, other chars just work.
I think itā€™s an encoding problem in guacamole or tomcat.

1 Like

@royceb

Same happens hereā€¦ :frowning:

Iā€™m using the exact same procedure, including restartā€¦

Actually, the Escape sequence should be correct for JSON / JAVA, but it seems other processing is taking placeā€¦ (Where does the default wording ā€œAPACHE GUACAMOLEā€ come from?).

Also - whatever text I put in is changed to CAPSā€¦
The default by @mrmarkuz is ā€œNethserver Guacamoleā€, but it is displayed in capsā€¦

Seems to be specific to ā€œ&ā€ā€¦

Andy

In Browser Console I see following after testing different chars, some are translated to html which is wrong, others are not.

<div class="app-name ng-binding">Spay 6 $ % '&amp;amp;' &amp;lt; &amp;gt; Neuter Guacamole</div>

I think this is done with cssā€¦

1 Like

Would be interesting to know which CSS changes this, itā€™s probably at fault for the ā€œ&ā€ tooā€¦
I donā€™t see anything in the original CSS in branding.jar doing thisā€¦

No, you can change it in browser console but no success:

CSS:

image

I think the content is escaped/sanitized internally (maybe trough angular.js ā€¦) regardless of file encoding

3 Likes