Hi Mike,

     After modifying  /etc/guacamole/user-mapping.xml IT WORKS! Thank 
you so much for your quick and most helpful answer!

1) I preferred installing from the repository because I felt it more 
easy and I only later found the very complete description of how to 
install the newer version from source.

_Can I still do this? Will it overwrite the older version or do I first 
have to uninstall the old one?_

2) I defined a user for tomcat out of despair because I believed that 
its lacking might be a reason for my problem. Now I understand that this 
is not necessary

3) I completely ignored xml synthax and believed that the example would 
work as such and did not need to be modified.

_4) I still cannot login into VNC and, when hitting 'Default' it tries 
to initalize but then I get the message: 'Error initializing VNC client' 
despite it is running and I can connect to it via a VNC client by using 
the same password that is specified in user-mapping.xlm ('xyz' see 
below). What might be the reason? Does the password have to be the same 
for both, i.e. 'tomcat'?
_

<authorize username="tomcat" password="tomcat">
         <protocol>vnc</protocol>
         <param name="hostname">localhost</param>
         <param name="port">5901</param>
         <param name="password">xyz</param>
     </authorize>

best, Dieter

------------------------------------------------------------------------

Am 29.04.2017 um 19:25 schrieb Mike Jumper [via Apache Guacamole 
(incubating) - Users]:
> On Sat, Apr 29, 2017 at 6:57 AM, dieter-erich <[hidden email] 
> </user/SendEmail.jtp?type=node&node=884&i=0>> wrote:
>
>     Hi,
>        I just subscribed to this forum because I got completely stuck:
>     Having
>     installed tomcat8 and guacamole-0.8.3 from the ubunu-16.04 repository
>     without major problems on my old 32 bit laptop I have spent hours
>     trying to
>     find out why I always get "invalid login" when entering the test
>     credentials
>     below on the webpage: http://localhost:8080/guacamole
>     <http://localhost:8080/guacamole>.
>
>
> 0.8.3 is quite old at this point - it was released almost 4 years ago. 
> Though not the source of your issue, if possible, I recommend instead 
> using the latest release:
>
> http://guacamole.incubator.apache.org/releases/0.9.12-incubating/
>
> There have been quite a few improvements since the days of 0.8.3.
>
>     I have:
>     1) defined userid "tomcat" password "tomcat" in
>     /etc/tomcat8/tomcat-users.xml:
>
>
> Why are you defining a user for Tomcat?
>
>     ----------------------------------
>     2) the same userid and password in /etc/guacamole/user-mapping.xml
>      <!--
>         <authorize username="tomcat" password="tomcat">
>             <protocol>vnc</protocol>
>             <param name="hostname">localhost</param>
>             <param name="port">5901</param>
>             <param name="password">tomcat</param>
>         </authorize>
>
>
> Your <authorize>...</authorize> section here is commented-out (see the 
> "<!--" at the beginning). You will need to remove the "<!--" and "-->" 
> surrounding that section for it to be actually read. See:
>
> https://en.wikipedia.org/wiki/XML#Comments
>
> This is likely why you are unable to log in.
>
>     ---------------------------------------
>     3) I have started turbovncserver with port 5901
>
>
> Lacking a VNC server running on the port defined within your Guacamole 
> connection would prevent the connection itself from being established 
> once you've logged in, but would not prevent you from logging in in 
> the first place.
>
> - Mike
>
>
>
> ------------------------------------------------------------------------
> If you reply to this email, your message will be added to the 
> discussion below:
> http://apache-guacamole-incubating-users.2363388.n4.nabble.com/guacamole-0-8-3-invalid-login-tp883p884.html
>  
>
> To unsubscribe from guacamole 0.8.3 "invalid login", click here 
> <http://apache-guacamole-incubating-users.2363388.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=883&code=ZGlldGVyLmJsYWFzQG1lZHVuaXdpZW4uYWMuYXR8ODgzfC0xMTk1NTc0MzI=>.
> NAML 
> <http://apache-guacamole-incubating-users.2363388.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>  
>





--
View this message in context: 
http://apache-guacamole-incubating-users.2363388.n4.nabble.com/guacamole-0-8-3-invalid-login-tp883p890.html
Sent from the Apache Guacamole (incubating) - Users mailing list archive at 
Nabble.com.

Reply via email to