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.
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
Released. Thanks for your testing.
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
Any ideas on what I would need to set so it shows up correctly? Very minor and cosmetic, just curious.
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/ā
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
Maybe it needs HTML?
Spay & Neuter Guacamole
Edit:
OK, I misunderstood, seems you already tried it.
"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.
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!
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
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.
Same happens hereā¦
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;' &lt; &gt; Neuter Guacamole</div>
I think this is done with cssā¦
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ā¦
I think the content is escaped/sanitized internally (maybe trough angular.js ā¦) regardless of file encoding