On Mon, Aug 26, 2019 at 7:44 AM evgeny <[email protected]> wrote: > Hello! Set the guacamole on the original documentation > http://guacamole.apache.org/doc/gug/installing-guacamole.html Installation > and configuration went without errors. Version of > guacamole-server-1.0.0.tar.gz >
Glad to hear it - this is a good place to start, and should have everything you need to get going. > But after entering the interface and entering the username and password > USERNAME and PASSWORD Writes that the username and password is not correct. > After searching Google found information that should be a user-mapping > file.xml, I did not have it in the guacamole home directory location, This file does not exist or get installed by default - if you want to use it, you'll need to create it. > I > created it with such content > <user-mapping> > <authorize username="USERNAME" password="PASSWORD"> > <protocol>vnc</protocol> > localhost > 5900 > VNCPASS > </authorize> > </user-mapping> > This is not a valid configuration - the XML here is invalid. In particular, the options "localhost", "5900", and "VNCPASS" are not in proper XML tags. An example configuration is given in the manual ( http://guacamole.apache.org/doc/gug/configuring-guacamole.html#user-mapping), and a more basic version of it would look something like this: <user-mapping> <!-- Per-user authentication and config information --> <authorize username="USERNAME" password="PASSWORD"> <protocol>vnc</protocol> <param name="hostname">localhost</param> <param name="port">5900</param> <param name="password">VNCPASS</param> </authorize> </user-mapping> Notice the "<param></param>" tags around the parameters - those need to be there. After restarting the services, access still did not appear((( > I went ahead installed the system under this article > https://wiki.debian.org/Guacamole And also there is no access panel, I p > is > there a file user-mapping.xml it there, too, was not his creation > worthlessness positive failed, access by login and password as specified in > article not received > The default user and password are both "guacadmin". > > Now you're starting to mix and confuse authentication extensions. I'm not sure about the Debian documentation for Guacamole, but if it's as up-to-date as the packages for Debian, it's very old, and you should just stick to the Guacamole manual you started with. The "user-mapping.xml" file is the default file-based authentication method and is intended to be used to make sure everything is up and running and that Guacamole is working. After that, it's usually desirable to install a more robust authentication extension, like the JDBC module, so that you have better control over connections within the Guacamole Client. The "guacadmin" username and password are only applicable to the JDBC authentication module as defaults, so in order to use those you would have to install one of those modules. Also, the connection and user management (not sure if this is what you mean by "access panel"?) are only available when you have an authentication extension installed that support them (JDBC mainly, though LDAP has some integration to those). > Tell me how and where the program stores username and password? What could > be the matter and how to get into it? > > Again, this depends on how you're configuring it - I suggest you look through the manual, again, and follow out the configuration instructions methodically. Feel free to post back here with any further questions! -Nick
