You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by Erik Dittert <q1...@gmail.com> on 2025/07/08 12:43:36 UTC

Unable to login with version 1.6.0

Hi,

i want to use this compose:

# networks
# create a network'guacnetwork_compose' in mode'bridged'
networks:
   guacnetwork_compose:
     driver: bridge# services
services:
   # guacd
   guacd:
     container_name: guacd_compose_dev
     image: guacamole/guacd:1.6.0
     environment:
             ACCEPT_EULA:"Y"
             LOG_LEVEL:"debug"
     networks:
       guacnetwork_compose:
     restart: always
     volumes:
     - ./drive:/drive:rw
     - ./record:/var/lib/guacamole/recordings:rw
   # guacamole
   guacamole:
     container_name: guacamole_compose_dev
     depends_on:
     - guacd
     environment:
         GUACD_HOSTNAME: guacd
         GUACAMOLE_HOME: /opt/guacamole
         MYSQL_ENABLED:true
         MYSQL_HOSTNAME: 192.168.62.25
         MYSQL_PORT: 3306
         MYSQL_DATABASE: guacamole1
         MYSQL_USERNAMSE: guacamole
         MYSQL_PASSWORD: xxxxxxxxxxxxxxxxxxxxxxxx
         MYSQL_DRIVER: mysql
         MYSQL_SSL_MODE: disabled
         MYSQL_AUTO_CREATE_ACCOUNTS:true
         LOG_LEVEL:"debug"
         LDAP_ENABLED:true
         LDAP_HOSTNAME: 192.168.62.30
         LDAP_USER_BASE_DN: DC=xxxxxxxxxxxxx
         LDAP_PORT: 389
         LDAP_ENCRYPTION_METHOD: none
         LDAP_SEARCH_BIND_DN: CN=xxxxxxxxxx,CN=Users,DC=xxxxxxxxxxx
         LDAP_SEARCH_BIND_PASSWORD: xxxxxxxxxxxxxxxxx
         LDAP_USER_SEARCH_FILTER: (&(objectClass=user)(|
             (memberOf=cn=FG_IT,cn=groups,dc=xxxxxxxxxxx)
             ))
         LDAP_USERNAME_ATTRIBUTE:"sAMAccountName"
         LDAP_GROUP_BASE_DN:"dc=xxxxxxxxxxxx"
         LDAP_GROUP_NAME_ATTRIBUTE:"CN"
         LDAP_GROUP_SEARCH_FILTER: (&(objectClass=group)(|(cn=FG*)(cn=Proj*)(cn=FA*)))
         REMOTE_IP_VALVE_ENABLED:true
         REMOTE_IP_VALVE_REMOTE_IP_HEADER: x-forwarded-for
         PROXY_BY_HEADER: x-forwarded-by
         REMOTE_IP_VALVE_PROTOCOL_HEADER: X-Forwarded-Proto
         
         #performance
         disable_bitmap_caching:true
         
         TOTP_ENABLED:true
         TOTP_ISSUER:"guac.xxxxxxxxxxxxxxxxxxxxx"
         TOTP_DIGITS:"6"
         TOTP_PERIOD:"30"
         TOTP_MODE:"sha1"
         
         RECORDING_SEARCH_PATH:'/var/lib/guacamole/recordings'
         WEBAPP_CONTEXT:"ROOT"                      
       
     image: guacamole/guacamole:1.6.0
     links:
     - guacd
     networks:
       guacnetwork_compose:
     volumes:
     - ./extensions:/opt/guacamole/extensions
     - ./drive:/drive:rw
     - ./record:/var/lib/guacamole/recordings:ro
     ports:
     - 8087:8080/tcp
     restart: always

with 1.5.0 works well, but in 1.6.0 it seems it is not connecting to my mysql server.

in logs i find not more than this when i try to login:

guacamole_compose_dev  | 12:42:21.633 [http-nio-8080-exec-7] WARN  o.a.g.event.EventLoggingListener - Authentication attempt from 217.91.xxx.xxx for user "testuser" failed: unknown error (no specific failure recorded)




Re: Unable to login with version 1.6.0

Posted by Nick Couchman <vn...@apache.org>.
On Tue, Jul 8, 2025 at 9:37 AM Erik Dittert <q1...@gmail.com> wrote:

> Nope, same Issue also with MYSQL_USERNAME :(
>
> Am 08.07.2025 um 14:47 schrieb Tom Eaton:
> > You’ve got a typo in MYSQL_USERNAME, that might be the issue.
> >
> >
> >
> >> On 8 Jul 2025, at 13:43, Erik Dittert <q1...@gmail.com> wrote:
> >>
> >> Hi,
> >>
> >> i want to use this compose:
> >>
> >> # networks
> >> # create a network 'guacnetwork_compose' in mode 'bridged'
> >> networks:
> >>    guacnetwork_compose:
> >>      driver: bridge# services
> >> services:
> >>    # guacd
> >>    guacd:
> >>      container_name: guacd_compose_dev
> >>      image: guacamole/guacd:1.6.0
> >>      environment:
> >>              ACCEPT_EULA: "Y"
> >>              LOG_LEVEL: "debug"
> >>      networks:
> >>        guacnetwork_compose:
> >>      restart: always
> >>      volumes:
> >>      - ./drive:/drive:rw
> >>      - ./record:/var/lib/guacamole/recordings:rw
> >>    # guacamole
> >>    guacamole:
> >>      container_name: guacamole_compose_dev
> >>      depends_on:
> >>      - guacd
> >>      environment:
> >>          GUACD_HOSTNAME: guacd
> >>          GUACAMOLE_HOME: /opt/guacamole
> >>          MYSQL_ENABLED: true
> >>          MYSQL_HOSTNAME: 192.168.62.25
> >>          MYSQL_PORT: 3306
> >>          MYSQL_DATABASE: guacamole1
> >>          MYSQL_USERNAMSE: guacamole
> >>          MYSQL_PASSWORD: xxxxxxxxxxxxxxxxxxxxxxxx
> >>          MYSQL_DRIVER: mysql
> >>          MYSQL_SSL_MODE: disabled
> >>          MYSQL_AUTO_CREATE_ACCOUNTS: true
> >>          LOG_LEVEL: "debug"
> >>          LDAP_ENABLED: true
> >>          LDAP_HOSTNAME: 192.168.62.30
> >>          LDAP_USER_BASE_DN: DC=xxxxxxxxxxxxx
> >>          LDAP_PORT: 389
> >>          LDAP_ENCRYPTION_METHOD: none
> >>          LDAP_SEARCH_BIND_DN: CN=xxxxxxxxxx,CN=Users,DC=xxxxxxxxxxx
> >>          LDAP_SEARCH_BIND_PASSWORD: xxxxxxxxxxxxxxxxx
> >>          LDAP_USER_SEARCH_FILTER: (&(objectClass=user)(|
> >>              (memberOf=cn=FG_IT,cn=groups,dc=xxxxxxxxxxx)
> >>              ))
> >>          LDAP_USERNAME_ATTRIBUTE: "sAMAccountName"
> >>          LDAP_GROUP_BASE_DN: "dc=xxxxxxxxxxxx"
> >>          LDAP_GROUP_NAME_ATTRIBUTE: "CN"
> >>          LDAP_GROUP_SEARCH_FILTER:
> (&(objectClass=group)(|(cn=FG*)(cn=Proj*)(cn=FA*)))
> >>          REMOTE_IP_VALVE_ENABLED: true
> >>          REMOTE_IP_VALVE_REMOTE_IP_HEADER: x-forwarded-for
> >>          PROXY_BY_HEADER: x-forwarded-by
> >>          REMOTE_IP_VALVE_PROTOCOL_HEADER: X-Forwarded-Proto
> >>
> >>          #performance
> >>          disable_bitmap_caching: true
> >>
> >>          TOTP_ENABLED: true
> >>          TOTP_ISSUER: "guac.xxxxxxxxxxxxxxxxxxxxx"
> >>          TOTP_DIGITS: "6"
> >>          TOTP_PERIOD: "30"
> >>          TOTP_MODE: "sha1"
> >>
> >>          RECORDING_SEARCH_PATH: '/var/lib/guacamole/recordings'
> >>          WEBAPP_CONTEXT: "ROOT"
> >>
> >>      image: guacamole/guacamole:1.6.0
> >>      links:
> >>      - guacd
> >>      networks:
> >>        guacnetwork_compose:
> >>      volumes:
> >>      - ./extensions:/opt/guacamole/extensions
> >>      - ./drive:/drive:rw
> >>      - ./record:/var/lib/guacamole/recordings:ro
>

Sorry, digging back through old e-mails, and can't remember if this one has
been addressed, yet. Mapping through the /opt/guacamole/extensions folder
is almost certainly killing your ability to log in. The proper way to deal
with deploying custom extensions is to do the following:
* Create a template Guacamole home folder that has an "extensions"
sub-folder on your host system (or in K8s, etc.)
* Map this template folder through to a location that is *not* part of the
Guacamole install - something like /custom_home:/custom_home.
* Set the GUACAMOLE_HOME variable for the container to the template
location: GUACAMOLE_HOME=/custom_home

The guacamole container will take the contents of that template/custom home
folder and put together the rest of the options to create the home folder
the web application will actually use.

See:
https://guacamole.apache.org/doc/gug/guacamole-docker.html#custom-extensions-and-guacamole-home

-Nick

Re: Unable to login with version 1.6.0

Posted by Erik Dittert <q1...@gmail.com>.
Nope, same Issue also with MYSQL_USERNAME :(

Am 08.07.2025 um 14:47 schrieb Tom Eaton:
> You’ve got a typo in MYSQL_USERNAME, that might be the issue.
>
>
>
>> On 8 Jul 2025, at 13:43, Erik Dittert <q1...@gmail.com> wrote:
>>
>> Hi,
>>
>> i want to use this compose:
>>
>> # networks
>> # create a network 'guacnetwork_compose' in mode 'bridged'
>> networks:
>>    guacnetwork_compose:
>>      driver: bridge# services
>> services:
>>    # guacd
>>    guacd:
>>      container_name: guacd_compose_dev
>>      image: guacamole/guacd:1.6.0
>>      environment:
>>              ACCEPT_EULA: "Y"
>>              LOG_LEVEL: "debug"
>>      networks:
>>        guacnetwork_compose:
>>      restart: always
>>      volumes:
>>      - ./drive:/drive:rw
>>      - ./record:/var/lib/guacamole/recordings:rw
>>    # guacamole
>>    guacamole:
>>      container_name: guacamole_compose_dev
>>      depends_on:
>>      - guacd
>>      environment:
>>          GUACD_HOSTNAME: guacd
>>          GUACAMOLE_HOME: /opt/guacamole
>>          MYSQL_ENABLED: true
>>          MYSQL_HOSTNAME: 192.168.62.25
>>          MYSQL_PORT: 3306
>>          MYSQL_DATABASE: guacamole1
>>          MYSQL_USERNAMSE: guacamole
>>          MYSQL_PASSWORD: xxxxxxxxxxxxxxxxxxxxxxxx
>>          MYSQL_DRIVER: mysql
>>          MYSQL_SSL_MODE: disabled
>>          MYSQL_AUTO_CREATE_ACCOUNTS: true
>>          LOG_LEVEL: "debug"
>>          LDAP_ENABLED: true
>>          LDAP_HOSTNAME: 192.168.62.30
>>          LDAP_USER_BASE_DN: DC=xxxxxxxxxxxxx
>>          LDAP_PORT: 389
>>          LDAP_ENCRYPTION_METHOD: none
>>          LDAP_SEARCH_BIND_DN: CN=xxxxxxxxxx,CN=Users,DC=xxxxxxxxxxx
>>          LDAP_SEARCH_BIND_PASSWORD: xxxxxxxxxxxxxxxxx
>>          LDAP_USER_SEARCH_FILTER: (&(objectClass=user)(|
>>              (memberOf=cn=FG_IT,cn=groups,dc=xxxxxxxxxxx)
>>              ))
>>          LDAP_USERNAME_ATTRIBUTE: "sAMAccountName"
>>          LDAP_GROUP_BASE_DN: "dc=xxxxxxxxxxxx"
>>          LDAP_GROUP_NAME_ATTRIBUTE: "CN"
>>          LDAP_GROUP_SEARCH_FILTER: (&(objectClass=group)(|(cn=FG*)(cn=Proj*)(cn=FA*)))
>>          REMOTE_IP_VALVE_ENABLED: true
>>          REMOTE_IP_VALVE_REMOTE_IP_HEADER: x-forwarded-for
>>          PROXY_BY_HEADER: x-forwarded-by
>>          REMOTE_IP_VALVE_PROTOCOL_HEADER: X-Forwarded-Proto
>>          
>>          #performance
>>          disable_bitmap_caching: true
>>          
>>          TOTP_ENABLED: true
>>          TOTP_ISSUER: "guac.xxxxxxxxxxxxxxxxxxxxx"
>>          TOTP_DIGITS: "6"
>>          TOTP_PERIOD: "30"
>>          TOTP_MODE: "sha1"
>>          
>>          RECORDING_SEARCH_PATH: '/var/lib/guacamole/recordings'
>>          WEBAPP_CONTEXT: "ROOT"
>>        
>>      image: guacamole/guacamole:1.6.0
>>      links:
>>      - guacd
>>      networks:
>>        guacnetwork_compose:
>>      volumes:
>>      - ./extensions:/opt/guacamole/extensions
>>      - ./drive:/drive:rw
>>      - ./record:/var/lib/guacamole/recordings:ro
>>      ports:
>>      - 8087:8080/tcp
>>      restart: always
>>
>> with 1.5.0 works well, but in 1.6.0 it seems it is not connecting to my mysql server.
>>
>> in logs i find not more than this when i try to login:
>>
>> guacamole_compose_dev  | 12:42:21.633 [http-nio-8080-exec-7] WARN  o.a.g.event.EventLoggingListener - Authentication attempt from 217.91.xxx.xxx for user "testuser" failed: unknown error (no specific failure recorded)
>>
>>
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
> For additional commands, e-mail: user-help@guacamole.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


Re: Unable to login with version 1.6.0

Posted by Tom Eaton <to...@htil.net>.
You’ve got a typo in MYSQL_USERNAME, that might be the issue.



> On 8 Jul 2025, at 13:43, Erik Dittert <q1...@gmail.com> wrote:
> 
> Hi,
> 
> i want to use this compose:
> 
> # networks
> # create a network 'guacnetwork_compose' in mode 'bridged'
> networks:
>   guacnetwork_compose:
>     driver: bridge# services
> services:
>   # guacd
>   guacd:
>     container_name: guacd_compose_dev
>     image: guacamole/guacd:1.6.0
>     environment:
>             ACCEPT_EULA: "Y"
>             LOG_LEVEL: "debug"
>     networks:
>       guacnetwork_compose:
>     restart: always
>     volumes:
>     - ./drive:/drive:rw
>     - ./record:/var/lib/guacamole/recordings:rw
>   # guacamole
>   guacamole:
>     container_name: guacamole_compose_dev
>     depends_on:
>     - guacd
>     environment:
>         GUACD_HOSTNAME: guacd
>         GUACAMOLE_HOME: /opt/guacamole
>         MYSQL_ENABLED: true
>         MYSQL_HOSTNAME: 192.168.62.25
>         MYSQL_PORT: 3306
>         MYSQL_DATABASE: guacamole1
>         MYSQL_USERNAMSE: guacamole
>         MYSQL_PASSWORD: xxxxxxxxxxxxxxxxxxxxxxxx
>         MYSQL_DRIVER: mysql
>         MYSQL_SSL_MODE: disabled
>         MYSQL_AUTO_CREATE_ACCOUNTS: true
>         LOG_LEVEL: "debug"
>         LDAP_ENABLED: true
>         LDAP_HOSTNAME: 192.168.62.30
>         LDAP_USER_BASE_DN: DC=xxxxxxxxxxxxx
>         LDAP_PORT: 389
>         LDAP_ENCRYPTION_METHOD: none 
>         LDAP_SEARCH_BIND_DN: CN=xxxxxxxxxx,CN=Users,DC=xxxxxxxxxxx
>         LDAP_SEARCH_BIND_PASSWORD: xxxxxxxxxxxxxxxxx
>         LDAP_USER_SEARCH_FILTER: (&(objectClass=user)(|
>             (memberOf=cn=FG_IT,cn=groups,dc=xxxxxxxxxxx)
>             ))
>         LDAP_USERNAME_ATTRIBUTE: "sAMAccountName"
>         LDAP_GROUP_BASE_DN: "dc=xxxxxxxxxxxx"
>         LDAP_GROUP_NAME_ATTRIBUTE: "CN"
>         LDAP_GROUP_SEARCH_FILTER: (&(objectClass=group)(|(cn=FG*)(cn=Proj*)(cn=FA*)))
>         REMOTE_IP_VALVE_ENABLED: true
>         REMOTE_IP_VALVE_REMOTE_IP_HEADER: x-forwarded-for
>         PROXY_BY_HEADER: x-forwarded-by
>         REMOTE_IP_VALVE_PROTOCOL_HEADER: X-Forwarded-Proto
>         
>         #performance
>         disable_bitmap_caching: true
>         
>         TOTP_ENABLED: true
>         TOTP_ISSUER: "guac.xxxxxxxxxxxxxxxxxxxxx"
>         TOTP_DIGITS: "6"
>         TOTP_PERIOD: "30"
>         TOTP_MODE: "sha1"
>         
>         RECORDING_SEARCH_PATH: '/var/lib/guacamole/recordings'
>         WEBAPP_CONTEXT: "ROOT"                      
>       
>     image: guacamole/guacamole:1.6.0
>     links:
>     - guacd
>     networks:
>       guacnetwork_compose:
>     volumes:
>     - ./extensions:/opt/guacamole/extensions
>     - ./drive:/drive:rw
>     - ./record:/var/lib/guacamole/recordings:ro
>     ports:
>     - 8087:8080/tcp
>     restart: always
> 
> with 1.5.0 works well, but in 1.6.0 it seems it is not connecting to my mysql server.
> 
> in logs i find not more than this when i try to login:
> 
> guacamole_compose_dev  | 12:42:21.633 [http-nio-8080-exec-7] WARN  o.a.g.event.EventLoggingListener - Authentication attempt from 217.91.xxx.xxx for user "testuser" failed: unknown error (no specific failure recorded)
> 
> 
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org