Re: Understanding Sharing Profile for Non-Admins

2022-02-28 Thread Mike Jumper
On Mon, Feb 28, 2022, 12:42 Khoe, Yonathan  wrote:

> Hello,
>
> We set up sharing profiles for all of our connections under an admin
> account.  We want the ability for our students to be able to generate a
> share link to their connection viewing (to their professor) when they are
> remoted to a machine.  We thought that this was the idea when we create the
> sharing profiles individually and giving them a read-only option and name,
> but it turns out that our students cannot see the “Share” button when
> opening the Guacamole menu (ctrl+alt+shift).  The student accounts
> themselves do not have any permissions; the user groups that the students
> belong to also do not have permissions set (we only use it to assign the
> connection groups).  Are we missing something in terms of letting
> non-admins to be able to generate a share link to be given to other people?
>

You need to additionally grant the users (or the relevant group) access to
the sharing profile, not just the connection. Only users with access to a
particular sharing profile will be able to share the relevant connection
using that profile.

- Mike


RE: OIDC and PostgreSQL Authentication

2022-02-28 Thread Todd Ojala
Thanks!


From: Nick Couchman 
Sent: Friday, July 30, 2021 8:45 AM
To: user@guacamole.apache.org
Subject: Re: OIDC and PostgreSQL Authentication

On Fri, Jul 30, 2021 at 8:53 AM Daniel Harris 
mailto:mrdanie...@googlemail.com.invalid>> 
wrote:
Hi Nick!

Thanks for the information;

To confirm, auto-create-users is working perfectly.

I've just tried to run the DB query to set a user as an admin however, I keep 
getting the following error;

guacamole_db=# INSERT INTO guacamole_system_permission(permission,entity_id) 
VALUES(ADMINISTER,2);
ERROR:  column "administer" does not exist
LINE 1: ...le_system_permission(permission,entity_id) VALUES(ADMINISTER...


Possible I typo'd the query:

INSERT INTO guacamole_system_permission(permission,entity_id) VALUES 
('ADMINISTER',2);

Might be that the ADMINISTER enum needs the single-quotes around it, like a 
string value. I rarely do any work directly in the DB, so I was just taking a 
guess at it.

I confirmed using TABLE guacamole_system_permission; that ADMINISTER does 
exist, so I'm not sure what is missing.

The reason for doing it this way is if I remove the OIDC authentication 
mechanism I get no login prompt so I'm trying to set the administrator role 
directly in the DB so I can do the rest.


Yep, makes sense.

-Nick


Understanding Sharing Profile for Non-Admins

2022-02-28 Thread Khoe, Yonathan
Hello,
We set up sharing profiles for all of our connections under an admin account.  
We want the ability for our students to be able to generate a share link to 
their connection viewing (to their professor) when they are remoted to a 
machine.  We thought that this was the idea when we create the sharing profiles 
individually and giving them a read-only option and name, but it turns out that 
our students cannot see the "Share" button when opening the Guacamole menu 
(ctrl+alt+shift).  The student accounts themselves do not have any permissions; 
the user groups that the students belong to also do not have permissions set 
(we only use it to assign the connection groups).  Are we missing something in 
terms of letting non-admins to be able to generate a share link to be given to 
other people?

Thanks in advanced.

Yonathan Khoe
Senior Systems Administrator
CVAD IT

University of North Texas
940.565.4793
yonat...@unt.edu
https://itservices.cvad.unt.edu/



Re: Problems with GuacamoleHTTPTunnelServlet

2022-02-28 Thread Craig Sawyer
So now we know the server side(guacd) is up and running and actually
able to receive connections.

If the client(tomcat/java/guac) can't connect, it could be the source
address is wrong(i.e. coming from a different ip than 127.0.0.1), and
running foul of some firewall rule or the client side isn't actually
opening the connection despite the log saying it is, etc.

I know in 1.4.0 the ipv6 network stuff changed, but everything you are
doing seems tied to ipv4, unless Java is weird and changing the v4 to
a v6 address with a bunch of 0's in front, which might be possible.
I'm not a java expert.  tcpdump or the other tools should let you know
if that's the case though.

You need to verify that is happening.  tcpdump, strace, or some java
debugging magic should help you figure that out.

because the possible options for the problem seem to be limited to:

  * The host OS is being mean and denying the connections for some
reason(firewall, configuration, etc)
  * The client(tomcat) is lying/confused about opening a connection.
  * The server(guacd) is unable to listen & connect.

Since we know the last one is not true anymore, that leaves the other
2 options.  I'm still guessing it's the 1st option, since nobody else
seems to be having this issue(including me) but who knows.

Good luck,
-Craig

On Mon, Feb 28, 2022 at 10:42 AM Jim Rx  wrote:
>
> Craig,
>
> I verified that guacd is running (systemctl status guacd) and then issued the 
> command telnet localhost 4822. I successfully connected.
>
> root@guac:~# telnet localhost 4822
> Trying ::1...
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is ^]'.
>
> I pressed enter and the connection was 'closed by foreign host'
>
> So it appears that 4822 is available on the localhost.
>
> Thanks,
>
> Jim
>
>
> Sent: Monday, February 28, 2022 at 12:34 PM
> From: "Craig Sawyer" 
> To: user@guacamole.apache.org
> Subject: Re: Problems with GuacamoleHTTPTunnelServlet
> Could this be a firewall thing? Can you open a TCP connection to
> 127.0.0.1:4822?
>
> You obviously won't do anything useful, since you won't speak the
> guacd protocol, but that's not the point. Just make sure you can open
> a network connection to guacd. If you can't, then FW or perhaps guacd
> isn't really opening the port it says it is, etc. will require some
> troubleshooting.
>
> Hope this helps,
> -Craig
>
> On Mon, Feb 28, 2022 at 8:59 AM Jim Rx  wrote:
> >
> > Nick,
> >
> > Yes, Guac and Tomcat are on the same VM.
> >
> > As requested:
> >
> > root@guac:~# ls /etc/guacamole
> > extensions guacamole.properties guacamole.war guacd.conf lib 
> > user-mapping.xml
> > root@guac:~#
> > root@guac:~# cat /etc/guacamole/guacamole.properties
> > # Hostname and Guac Server Port
> > guacd-hostname: 127.0.0.1
> > guacd-port: 4822
> > user-mapping: /etc/guacamole/user-mapping.xml
> > auth-provider: 
> > net.sourceforge.guacamole.net.auth.ldap.LDAPAuthenticationProvider
> > # MySQL properties
> > mysql-hostname: localhost
> > mysql-port: 3306
> > mysql-database: guacamole_db
> > mysql-username: guacamole_user
> > mysql-password: SuperSecret
> > mysql-auto-create-accounts: true
> >
> > # LDAP Properties
> > ldap-hostname: 1.2.3.4
> > ldap-port: 389
> > ldap-encryption-method: none
> > ldap-user-base-dn: DC=domain,DC=tld
> > ldap-username-attribute: samAccountName
> > ldap-search-bind-dn: cn=SVC.GUACAMOLE, ou=Service Accounts, 
> > ou=Administration, dc=domain, dc=tld
> > ldap-search-bind-password: SuperSecret
> > ldap-user-search-filter: (sAMAccountType=805306368)
> >
> > root@guac:~# cat /etc/guacamole/guacd.conf
> > [server]
> > bind_host = 127.0.0.1
> > bind_port = 4822
> > root@guac:~#
> > root@guac:~# systemctl status guacd tomcat9
> > ? guacd.service - LSB: Guacamole proxy daemon
> > Loaded: loaded (/etc/init.d/guacd; generated)
> > Active: active (running) since Mon 2022-02-28 10:52:43 CST; 2min 1s ago
> > Docs: man:systemd-sysv-generator(8)
> > Process: 806 ExecStart=/etc/init.d/guacd start (code=exited, 
> > status=0/SUCCESS)
> > Tasks: 1 (limit: 4639)
> > Memory: 9.9M
> > CPU: 22ms
> > CGroup: /system.slice/guacd.service
> > +-814 /usr/local/sbin/guacd -p /var/run/guacd.pid
> > Feb 28 10:52:43 guac systemd[1]: Starting LSB: Guacamole proxy daemon...
> > Feb 28 10:52:43 guac guacd[812]: Guacamole proxy daemon (guacd) version 
> > 1.4.0 started
> > Feb 28 10:52:43 guac guacd[806]: Starting guacd:
> > Feb 28 10:52:43 guac guacd[812]: guacd[812]: INFO: Guacamole proxy daemon 
> > (guacd) version 1.4.0 started
> > Feb 28 10:52:43 guac guacd[806]: SUCCESS
> > Feb 28 10:52:43 guac systemd[1]: Started LSB: Guacamole proxy daemon.
> > Feb 28 10:52:43 guac guacd[814]: Listening on host 127.0.0.1, port 4822
> > ? tomcat9.service - Apache Tomcat 9 Web Application Server
> > Loaded: loaded (/lib/systemd/system/tomcat9.service; enabled; vendor 
> > preset: enabled)
> > Active: active (running) since Mon 2022-02-28 10:52:43 CST; 2min 1s ago
> > Docs: https://tomcat.apache.org/tomcat-9.0-doc/index.html
> 

Re: Problems with GuacamoleHTTPTunnelServlet

2022-02-28 Thread Jim Rx
Craig,

 

I verified that guacd is running (systemctl status guacd) and then issued the command telnet localhost 4822. I successfully connected.

 

root@guac:~# telnet localhost 4822

Trying ::1...

Trying 127.0.0.1...

Connected to localhost.

Escape character is ^]'.

 

I pressed enter and the connection was 'closed by foreign host'

 

So it appears that 4822 is available on the localhost.

 

Thanks,

 

Jim

 
 

Sent: Monday, February 28, 2022 at 12:34 PM
From: "Craig Sawyer" 
To: user@guacamole.apache.org
Subject: Re: Problems with GuacamoleHTTPTunnelServlet

Could this be a firewall thing? Can you open a TCP connection to
127.0.0.1:4822?

You obviously won't do anything useful, since you won't speak the
guacd protocol, but that's not the point. Just make sure you can open
a network connection to guacd. If you can't, then FW or perhaps guacd
isn't really opening the port it says it is, etc. will require some
troubleshooting.

Hope this helps,
-Craig

On Mon, Feb 28, 2022 at 8:59 AM Jim Rx  wrote:
>
> Nick,
>
> Yes, Guac and Tomcat are on the same VM.
>
> As requested:
>
> root@guac:~# ls /etc/guacamole
> extensions guacamole.properties guacamole.war guacd.conf lib user-mapping.xml
> root@guac:~#
> root@guac:~# cat /etc/guacamole/guacamole.properties
> # Hostname and Guac Server Port
> guacd-hostname: 127.0.0.1
> guacd-port: 4822
> user-mapping: /etc/guacamole/user-mapping.xml
> auth-provider: net.sourceforge.guacamole.net.auth.ldap.LDAPAuthenticationProvider
> # MySQL properties
> mysql-hostname: localhost
> mysql-port: 3306
> mysql-database: guacamole_db
> mysql-username: guacamole_user
> mysql-password: SuperSecret
> mysql-auto-create-accounts: true
>
> # LDAP Properties
> ldap-hostname: 1.2.3.4
> ldap-port: 389
> ldap-encryption-method: none
> ldap-user-base-dn: DC=domain,DC=tld
> ldap-username-attribute: samAccountName
> ldap-search-bind-dn: cn=SVC.GUACAMOLE, ou=Service Accounts, ou=Administration, dc=domain, dc=tld
> ldap-search-bind-password: SuperSecret
> ldap-user-search-filter: (sAMAccountType=805306368)
>
> root@guac:~# cat /etc/guacamole/guacd.conf
> [server]
> bind_host = 127.0.0.1
> bind_port = 4822
> root@guac:~#
> root@guac:~# systemctl status guacd tomcat9
> ? guacd.service - LSB: Guacamole proxy daemon
> Loaded: loaded (/etc/init.d/guacd; generated)
> Active: active (running) since Mon 2022-02-28 10:52:43 CST; 2min 1s ago
> Docs: man:systemd-sysv-generator(8)
> Process: 806 ExecStart=/etc/init.d/guacd start (code=exited, status=0/SUCCESS)
> Tasks: 1 (limit: 4639)
> Memory: 9.9M
> CPU: 22ms
> CGroup: /system.slice/guacd.service
> +-814 /usr/local/sbin/guacd -p /var/run/guacd.pid
> Feb 28 10:52:43 guac systemd[1]: Starting LSB: Guacamole proxy daemon...
> Feb 28 10:52:43 guac guacd[812]: Guacamole proxy daemon (guacd) version 1.4.0 started
> Feb 28 10:52:43 guac guacd[806]: Starting guacd:
> Feb 28 10:52:43 guac guacd[812]: guacd[812]: INFO: Guacamole proxy daemon (guacd) version 1.4.0 started
> Feb 28 10:52:43 guac guacd[806]: SUCCESS
> Feb 28 10:52:43 guac systemd[1]: Started LSB: Guacamole proxy daemon.
> Feb 28 10:52:43 guac guacd[814]: Listening on host 127.0.0.1, port 4822
> ? tomcat9.service - Apache Tomcat 9 Web Application Server
> Loaded: loaded (/lib/systemd/system/tomcat9.service; enabled; vendor preset: enabled)
> Active: active (running) since Mon 2022-02-28 10:52:43 CST; 2min 1s ago
> Docs: https://tomcat.apache.org/tomcat-9.0-doc/index.html
> Process: 817 ExecStartPre=/usr/libexec/tomcat9/tomcat-update-policy.sh (code=exited, status=0/SUCCESS)
> Main PID: 822 (java)
> Tasks: 38 (limit: 4639)
> Memory: 305.0M
> CPU: 16.325s
> CGroup: /system.slice/tomcat9.service
> +-822 /usr/lib/jvm/default-java/bin/java -Djava.util.logging.config.file=/var/lib/tomcat9/conf/logging.properties -Djava.util.logging.manager=org.apache>
> Feb 28 10:53:04 guac tomcat9[822]: 10:53:04.701 [http-nio-8080-exec-2] INFO o.a.d.a.l.e.ExtrasCodecFactoryUtil - MSG_06001_REGISTERED_EXTENDED_OP_FACTORY (1.3.6.1.4>
> Feb 28 10:53:04 guac tomcat9[822]: 10:53:04.702 [http-nio-8080-exec-2] INFO o.a.d.a.l.e.ExtrasCodecFactoryUtil - MSG_06001_REGISTERED_EXTENDED_OP_FACTORY (1.3.6.1.4>
> Feb 28 10:53:04 guac tomcat9[822]: 10:53:04.703 [http-nio-8080-exec-2] INFO o.a.d.a.l.e.ExtrasCodecFactoryUtil - MSG_06001_REGISTERED_EXTENDED_OP_FACTORY (1.3.6.1.4>
> Feb 28 10:53:04 guac tomcat9[822]: 10:53:04.703 [http-nio-8080-exec-2] INFO o.a.d.a.l.e.ExtrasCodecFactoryUtil - MSG_06001_REGISTERED_EXTENDED_OP_FACTORY (1.3.6.1.1>
> Feb 28 10:53:04 guac tomcat9[822]: 10:53:04.704 [http-nio-8080-exec-2] INFO o.a.d.a.l.e.ExtrasCodecFactoryUtil - MSG_06001_REGISTERED_EXTENDED_OP_FACTORY (1.3.6.1.4>
> Feb 28 10:53:04 guac tomcat9[822]: 10:53:04.705 [http-nio-8080-exec-2] INFO o.a.d.a.l.e.ExtrasCodecFactoryUtil - MSG_06001_REGISTERED_EXTENDED_OP_FACTORY (1.3.6.1.4>
> Feb 28 10:53:04 guac tomcat9[822]: 10:53:04.705 [http-nio-8080-exec-2] INFO o.a.d.a.l.e.ExtrasCodecFactoryUtil - MSG_06002_REGISTERED_INTERMEDIATE_FACTORY 

Re: Problems with GuacamoleHTTPTunnelServlet

2022-02-28 Thread Craig Sawyer
Could this be a firewall thing?  Can you open a TCP connection to
127.0.0.1:4822?

You obviously won't do anything useful, since you won't speak the
guacd protocol, but that's not the point.  Just make sure you can open
a network connection to guacd.  If you can't, then FW or perhaps guacd
isn't really opening the port it says it is, etc.  will require some
troubleshooting.

Hope this helps,
-Craig

On Mon, Feb 28, 2022 at 8:59 AM Jim Rx  wrote:
>
> Nick,
>
> Yes, Guac and Tomcat are on the same VM.
>
> As requested:
>
> root@guac:~# ls /etc/guacamole
> extensions  guacamole.properties  guacamole.war  guacd.conf  lib  
> user-mapping.xml
> root@guac:~#
> root@guac:~# cat /etc/guacamole/guacamole.properties
> # Hostname and Guac Server Port
> guacd-hostname: 127.0.0.1
> guacd-port: 4822
> user-mapping: /etc/guacamole/user-mapping.xml
> auth-provider: 
> net.sourceforge.guacamole.net.auth.ldap.LDAPAuthenticationProvider
> # MySQL properties
> mysql-hostname: localhost
> mysql-port: 3306
> mysql-database: guacamole_db
> mysql-username: guacamole_user
> mysql-password: SuperSecret
> mysql-auto-create-accounts: true
>
> # LDAP Properties
> ldap-hostname: 1.2.3.4
> ldap-port: 389
> ldap-encryption-method: none
> ldap-user-base-dn: DC=domain,DC=tld
> ldap-username-attribute: samAccountName
> ldap-search-bind-dn: cn=SVC.GUACAMOLE, ou=Service Accounts, 
> ou=Administration, dc=domain, dc=tld
> ldap-search-bind-password: SuperSecret
> ldap-user-search-filter: (sAMAccountType=805306368)
>
> root@guac:~# cat /etc/guacamole/guacd.conf
> [server]
> bind_host = 127.0.0.1
> bind_port = 4822
> root@guac:~#
> root@guac:~# systemctl status guacd tomcat9
> ? guacd.service - LSB: Guacamole proxy daemon
>  Loaded: loaded (/etc/init.d/guacd; generated)
>  Active: active (running) since Mon 2022-02-28 10:52:43 CST; 2min 1s ago
>Docs: man:systemd-sysv-generator(8)
> Process: 806 ExecStart=/etc/init.d/guacd start (code=exited, 
> status=0/SUCCESS)
>   Tasks: 1 (limit: 4639)
>  Memory: 9.9M
> CPU: 22ms
>  CGroup: /system.slice/guacd.service
>  +-814 /usr/local/sbin/guacd -p /var/run/guacd.pid
> Feb 28 10:52:43 guac systemd[1]: Starting LSB: Guacamole proxy daemon...
> Feb 28 10:52:43 guac guacd[812]: Guacamole proxy daemon (guacd) version 1.4.0 
> started
> Feb 28 10:52:43 guac guacd[806]: Starting guacd:
> Feb 28 10:52:43 guac guacd[812]: guacd[812]: INFO:Guacamole proxy 
> daemon (guacd) version 1.4.0 started
> Feb 28 10:52:43 guac guacd[806]: SUCCESS
> Feb 28 10:52:43 guac systemd[1]: Started LSB: Guacamole proxy daemon.
> Feb 28 10:52:43 guac guacd[814]: Listening on host 127.0.0.1, port 4822
> ? tomcat9.service - Apache Tomcat 9 Web Application Server
>  Loaded: loaded (/lib/systemd/system/tomcat9.service; enabled; vendor 
> preset: enabled)
>  Active: active (running) since Mon 2022-02-28 10:52:43 CST; 2min 1s ago
>Docs: https://tomcat.apache.org/tomcat-9.0-doc/index.html
> Process: 817 ExecStartPre=/usr/libexec/tomcat9/tomcat-update-policy.sh 
> (code=exited, status=0/SUCCESS)
>Main PID: 822 (java)
>   Tasks: 38 (limit: 4639)
>  Memory: 305.0M
> CPU: 16.325s
>  CGroup: /system.slice/tomcat9.service
>  +-822 /usr/lib/jvm/default-java/bin/java 
> -Djava.util.logging.config.file=/var/lib/tomcat9/conf/logging.properties 
> -Djava.util.logging.manager=org.apache>
> Feb 28 10:53:04 guac tomcat9[822]: 10:53:04.701 [http-nio-8080-exec-2] INFO  
> o.a.d.a.l.e.ExtrasCodecFactoryUtil - MSG_06001_REGISTERED_EXTENDED_OP_FACTORY 
> (1.3.6.1.4>
> Feb 28 10:53:04 guac tomcat9[822]: 10:53:04.702 [http-nio-8080-exec-2] INFO  
> o.a.d.a.l.e.ExtrasCodecFactoryUtil - MSG_06001_REGISTERED_EXTENDED_OP_FACTORY 
> (1.3.6.1.4>
> Feb 28 10:53:04 guac tomcat9[822]: 10:53:04.703 [http-nio-8080-exec-2] INFO  
> o.a.d.a.l.e.ExtrasCodecFactoryUtil - MSG_06001_REGISTERED_EXTENDED_OP_FACTORY 
> (1.3.6.1.4>
> Feb 28 10:53:04 guac tomcat9[822]: 10:53:04.703 [http-nio-8080-exec-2] INFO  
> o.a.d.a.l.e.ExtrasCodecFactoryUtil - MSG_06001_REGISTERED_EXTENDED_OP_FACTORY 
> (1.3.6.1.1>
> Feb 28 10:53:04 guac tomcat9[822]: 10:53:04.704 [http-nio-8080-exec-2] INFO  
> o.a.d.a.l.e.ExtrasCodecFactoryUtil - MSG_06001_REGISTERED_EXTENDED_OP_FACTORY 
> (1.3.6.1.4>
> Feb 28 10:53:04 guac tomcat9[822]: 10:53:04.705 [http-nio-8080-exec-2] INFO  
> o.a.d.a.l.e.ExtrasCodecFactoryUtil - MSG_06001_REGISTERED_EXTENDED_OP_FACTORY 
> (1.3.6.1.4>
> Feb 28 10:53:04 guac tomcat9[822]: 10:53:04.705 [http-nio-8080-exec-2] INFO  
> o.a.d.a.l.e.ExtrasCodecFactoryUtil - 
> MSG_06002_REGISTERED_INTERMEDIATE_FACTORY (1.3.6.1.>
> Feb 28 10:53:04 guac tomcat9[822]: 10:53:04.867 [http-nio-8080-exec-2] INFO  
> o.a.g.r.auth.AuthenticationService - User "guacadmin" successfully 
> authenticated from 12>
> Feb 28 10:53:12 guac tomcat9[822]: 10:53:12.438 [http-nio-8080-exec-5] WARN  
> o.a.g.s.GuacamoleHTTPTunnelServlet - HTTP tunnel request rejected: No such 
> tunnel.
> Feb 28 

Re: Problems with GuacamoleHTTPTunnelServlet

2022-02-28 Thread Jim Rx
Nick,

 

Yes, Guac and Tomcat are on the same VM. 

 

As requested:

 


root@guac:~# ls /etc/guacamole
extensions  guacamole.properties  guacamole.war  guacd.conf  lib  user-mapping.xml
root@guac:~#
root@guac:~# cat /etc/guacamole/guacamole.properties
# Hostname and Guac Server Port
guacd-hostname: 127.0.0.1
guacd-port: 4822
user-mapping: /etc/guacamole/user-mapping.xml
auth-provider: net.sourceforge.guacamole.net.auth.ldap.LDAPAuthenticationProvider

# MySQL properties

mysql-hostname: localhost
mysql-port: 3306
mysql-database: guacamole_db
mysql-username: guacamole_user
mysql-password: SuperSecret
mysql-auto-create-accounts: true

 

# LDAP Properties
ldap-hostname: 1.2.3.4
ldap-port: 389
ldap-encryption-method: none
ldap-user-base-dn: DC=domain,DC=tld
ldap-username-attribute: samAccountName
ldap-search-bind-dn: cn=SVC.GUACAMOLE, ou=Service Accounts, ou=Administration, dc=domain, dc=tld
ldap-search-bind-password: SuperSecret
ldap-user-search-filter: (sAMAccountType=805306368)


root@guac:~# cat /etc/guacamole/guacd.conf
[server]
bind_host = 127.0.0.1
bind_port = 4822
root@guac:~#
root@guac:~# systemctl status guacd tomcat9
? guacd.service - LSB: Guacamole proxy daemon
 Loaded: loaded (/etc/init.d/guacd; generated)
 Active: active (running) since Mon 2022-02-28 10:52:43 CST; 2min 1s ago
   Docs: man:systemd-sysv-generator(8)
    Process: 806 ExecStart=/etc/init.d/guacd start (code=exited, status=0/SUCCESS)
  Tasks: 1 (limit: 4639)
 Memory: 9.9M
    CPU: 22ms
 CGroup: /system.slice/guacd.service
 +-814 /usr/local/sbin/guacd -p /var/run/guacd.pid

Feb 28 10:52:43 guac systemd[1]: Starting LSB: Guacamole proxy daemon...
Feb 28 10:52:43 guac guacd[812]: Guacamole proxy daemon (guacd) version 1.4.0 started
Feb 28 10:52:43 guac guacd[806]: Starting guacd:
Feb 28 10:52:43 guac guacd[812]: guacd[812]: INFO:    Guacamole proxy daemon (guacd) version 1.4.0 started
Feb 28 10:52:43 guac guacd[806]: SUCCESS
Feb 28 10:52:43 guac systemd[1]: Started LSB: Guacamole proxy daemon.
Feb 28 10:52:43 guac guacd[814]: Listening on host 127.0.0.1, port 4822

? tomcat9.service - Apache Tomcat 9 Web Application Server
 Loaded: loaded (/lib/systemd/system/tomcat9.service; enabled; vendor preset: enabled)
 Active: active (running) since Mon 2022-02-28 10:52:43 CST; 2min 1s ago
   Docs: https://tomcat.apache.org/tomcat-9.0-doc/index.html
    Process: 817 ExecStartPre=/usr/libexec/tomcat9/tomcat-update-policy.sh (code=exited, status=0/SUCCESS)
   Main PID: 822 (java)
  Tasks: 38 (limit: 4639)
 Memory: 305.0M
    CPU: 16.325s
 CGroup: /system.slice/tomcat9.service
 +-822 /usr/lib/jvm/default-java/bin/java -Djava.util.logging.config.file=/var/lib/tomcat9/conf/logging.properties -Djava.util.logging.manager=org.apache>

Feb 28 10:53:04 guac tomcat9[822]: 10:53:04.701 [http-nio-8080-exec-2] INFO  o.a.d.a.l.e.ExtrasCodecFactoryUtil - MSG_06001_REGISTERED_EXTENDED_OP_FACTORY (1.3.6.1.4>
Feb 28 10:53:04 guac tomcat9[822]: 10:53:04.702 [http-nio-8080-exec-2] INFO  o.a.d.a.l.e.ExtrasCodecFactoryUtil - MSG_06001_REGISTERED_EXTENDED_OP_FACTORY (1.3.6.1.4>
Feb 28 10:53:04 guac tomcat9[822]: 10:53:04.703 [http-nio-8080-exec-2] INFO  o.a.d.a.l.e.ExtrasCodecFactoryUtil - MSG_06001_REGISTERED_EXTENDED_OP_FACTORY (1.3.6.1.4>
Feb 28 10:53:04 guac tomcat9[822]: 10:53:04.703 [http-nio-8080-exec-2] INFO  o.a.d.a.l.e.ExtrasCodecFactoryUtil - MSG_06001_REGISTERED_EXTENDED_OP_FACTORY (1.3.6.1.1>
Feb 28 10:53:04 guac tomcat9[822]: 10:53:04.704 [http-nio-8080-exec-2] INFO  o.a.d.a.l.e.ExtrasCodecFactoryUtil - MSG_06001_REGISTERED_EXTENDED_OP_FACTORY (1.3.6.1.4>
Feb 28 10:53:04 guac tomcat9[822]: 10:53:04.705 [http-nio-8080-exec-2] INFO  o.a.d.a.l.e.ExtrasCodecFactoryUtil - MSG_06001_REGISTERED_EXTENDED_OP_FACTORY (1.3.6.1.4>
Feb 28 10:53:04 guac tomcat9[822]: 10:53:04.705 [http-nio-8080-exec-2] INFO  o.a.d.a.l.e.ExtrasCodecFactoryUtil - MSG_06002_REGISTERED_INTERMEDIATE_FACTORY (1.3.6.1.>
Feb 28 10:53:04 guac tomcat9[822]: 10:53:04.867 [http-nio-8080-exec-2] INFO  o.a.g.r.auth.AuthenticationService - User "guacadmin" successfully authenticated from 12>
Feb 28 10:53:12 guac tomcat9[822]: 10:53:12.438 [http-nio-8080-exec-5] WARN  o.a.g.s.GuacamoleHTTPTunnelServlet - HTTP tunnel request rejected: No such tunnel.
Feb 28 10:53:22 guac tomcat9[822]: 10:53:22.502 [http-nio-8080-exec-1] ERROR o.a.g.s.GuacamoleHTTPTunnelServlet - HTTP tunnel request failed: Connection to guacd tim>
root@guac:~#

 


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



Re: Problems with GuacamoleHTTPTunnelServlet

2022-02-28 Thread Nick Couchman
On Mon, Feb 28, 2022 at 11:32 AM Jim Rx  wrote:

> Yes. No output to the console. Just to be sure I ran it again:
>
> root@guac:~# systemctl status guacd
> ? guacd.service - LSB: Guacamole proxy daemon
>  Loaded: loaded (/etc/init.d/guacd; generated)
>  Active: active (running) since Mon 2022-02-28 10:24:47 CST; 45s ago
>Docs: man:systemd-sysv-generator(8)
> Process: 524 ExecStart=/etc/init.d/guacd start (code=exited,
> status=0/SUCCESS)
>   Tasks: 1 (limit: 4639)
>  Memory: 13.5M
> CPU: 15ms
>  CGroup: /system.slice/guacd.service
>  +-594 /usr/local/sbin/guacd -p /var/run/guacd.pid
> Feb 28 10:24:46 guac systemd[1]: Starting LSB: Guacamole proxy daemon...
> Feb 28 10:24:47 guac guacd[527]: Guacamole proxy daemon (guacd) version
> 1.4.0 started
> Feb 28 10:24:47 guac guacd[524]: Starting guacd:
> Feb 28 10:24:47 guac guacd[527]: guacd[527]: INFO:Guacamole proxy
> daemon (guacd) version 1.4.0 started
> Feb 28 10:24:47 guac guacd[524]: SUCCESS
> Feb 28 10:24:47 guac systemd[1]: Started LSB: Guacamole proxy daemon.
> Feb 28 10:24:47 guac guacd[594]: Listening on host 127.0.0.1, port 4822
> root@guac:~#
> root@guac:~#
> root@guac:~# systemctl stop guacd
> root@guac:~#
> root@guac:~# systemctl status guacd
> ? guacd.service - LSB: Guacamole proxy daemon
>  Loaded: loaded (/etc/init.d/guacd; generated)
>  Active: inactive (dead) since Mon 2022-02-28 10:25:41 CST; 4s ago
>Docs: man:systemd-sysv-generator(8)
> Process: 524 ExecStart=/etc/init.d/guacd start (code=exited,
> status=0/SUCCESS)
> Process: 746 ExecStop=/etc/init.d/guacd stop (code=exited,
> status=0/SUCCESS)
> CPU: 23ms
> Feb 28 10:24:47 guac guacd[524]: Starting guacd:
> Feb 28 10:24:47 guac guacd[527]: guacd[527]: INFO:Guacamole proxy
> daemon (guacd) version 1.4.0 started
> Feb 28 10:24:47 guac guacd[524]: SUCCESS
> Feb 28 10:24:47 guac systemd[1]: Started LSB: Guacamole proxy daemon.
> Feb 28 10:24:47 guac guacd[594]: Listening on host 127.0.0.1, port 4822
> Feb 28 10:25:41 guac systemd[1]: Stopping LSB: Guacamole proxy daemon...
> Feb 28 10:25:41 guac guacd[746]: Stopping guacd: SUCCESS
> Feb 28 10:25:41 guac systemd[1]: guacd.service: Succeeded.
> Feb 28 10:25:41 guac systemd[1]: guacd.service: Unit process 594 (guacd)
> remains running after unit stopped.
> Feb 28 10:25:41 guac systemd[1]: Stopped LSB: Guacamole proxy daemon.
> root@guac:~#
> root@guac:~#
> root@guac:~# ss -alnp | grep guacd
> root@guac:~#
> root@guac:~#
> root@guac:~#
> root@guac:~# ./usr/local/sbin/guacd -L debug -f
> bash: ./usr/local/sbin/guacd: No such file or directory
> root@guac:~#
> root@guac:~# /usr/local/sbin/guacd -L debug -f
> guacd[765]: INFO:   Guacamole proxy daemon (guacd) version 1.4.0
> started
> guacd[765]: DEBUG:  Successfully bound AF_INET socket to host
> 127.0.0.1, port 4822
> guacd[765]: INFO:   Listening on host 127.0.0.1, port 4822
>
>  > > > connection attempts result in "you have been disconnected" < < <
> ^C
>

Okay. Then a couple of follow-up questions for you:
* Can you post your guacamole.properties file, minus any sensitive
information?
* Can you confirm that guacd and Tomcat are running on the same system?

-Nick


Re: Problems with GuacamoleHTTPTunnelServlet

2022-02-28 Thread Jim Rx
Yes. No output to the console. Just to be sure I ran it again:

 


root@guac:~# systemctl status guacd
? guacd.service - LSB: Guacamole proxy daemon
 Loaded: loaded (/etc/init.d/guacd; generated)
 Active: active (running) since Mon 2022-02-28 10:24:47 CST; 45s ago
   Docs: man:systemd-sysv-generator(8)
    Process: 524 ExecStart=/etc/init.d/guacd start (code=exited, status=0/SUCCESS)
  Tasks: 1 (limit: 4639)
 Memory: 13.5M
    CPU: 15ms
 CGroup: /system.slice/guacd.service
 +-594 /usr/local/sbin/guacd -p /var/run/guacd.pid

Feb 28 10:24:46 guac systemd[1]: Starting LSB: Guacamole proxy daemon...
Feb 28 10:24:47 guac guacd[527]: Guacamole proxy daemon (guacd) version 1.4.0 started
Feb 28 10:24:47 guac guacd[524]: Starting guacd:
Feb 28 10:24:47 guac guacd[527]: guacd[527]: INFO:    Guacamole proxy daemon (guacd) version 1.4.0 started
Feb 28 10:24:47 guac guacd[524]: SUCCESS
Feb 28 10:24:47 guac systemd[1]: Started LSB: Guacamole proxy daemon.
Feb 28 10:24:47 guac guacd[594]: Listening on host 127.0.0.1, port 4822
root@guac:~#
root@guac:~#
root@guac:~# systemctl stop guacd
root@guac:~#
root@guac:~# systemctl status guacd
? guacd.service - LSB: Guacamole proxy daemon
 Loaded: loaded (/etc/init.d/guacd; generated)
 Active: inactive (dead) since Mon 2022-02-28 10:25:41 CST; 4s ago
   Docs: man:systemd-sysv-generator(8)
    Process: 524 ExecStart=/etc/init.d/guacd start (code=exited, status=0/SUCCESS)
    Process: 746 ExecStop=/etc/init.d/guacd stop (code=exited, status=0/SUCCESS)
    CPU: 23ms

Feb 28 10:24:47 guac guacd[524]: Starting guacd:
Feb 28 10:24:47 guac guacd[527]: guacd[527]: INFO:    Guacamole proxy daemon (guacd) version 1.4.0 started
Feb 28 10:24:47 guac guacd[524]: SUCCESS
Feb 28 10:24:47 guac systemd[1]: Started LSB: Guacamole proxy daemon.
Feb 28 10:24:47 guac guacd[594]: Listening on host 127.0.0.1, port 4822
Feb 28 10:25:41 guac systemd[1]: Stopping LSB: Guacamole proxy daemon...
Feb 28 10:25:41 guac guacd[746]: Stopping guacd: SUCCESS
Feb 28 10:25:41 guac systemd[1]: guacd.service: Succeeded.
Feb 28 10:25:41 guac systemd[1]: guacd.service: Unit process 594 (guacd) remains running after unit stopped.
Feb 28 10:25:41 guac systemd[1]: Stopped LSB: Guacamole proxy daemon.
root@guac:~#
root@guac:~#
root@guac:~# ss -alnp | grep guacd
root@guac:~#
root@guac:~#
root@guac:~#
root@guac:~# ./usr/local/sbin/guacd -L debug -f
bash: ./usr/local/sbin/guacd: No such file or directory
root@guac:~#
root@guac:~# /usr/local/sbin/guacd -L debug -f
guacd[765]: INFO:   Guacamole proxy daemon (guacd) version 1.4.0 started
guacd[765]: DEBUG:  Successfully bound AF_INET socket to host 127.0.0.1, port 4822
guacd[765]: INFO:   Listening on host 127.0.0.1, port 4822


 > > > connection attempts result in "you have been disconnected" < < <

^C
root@guac:~# systemctl status guacd
? guacd.service - LSB: Guacamole proxy daemon
 Loaded: loaded (/etc/init.d/guacd; generated)
 Active: inactive (dead) since Mon 2022-02-28 10:25:41 CST; 2min 17s ago
   Docs: man:systemd-sysv-generator(8)
    Process: 524 ExecStart=/etc/init.d/guacd start (code=exited, status=0/SUCCESS)
    Process: 746 ExecStop=/etc/init.d/guacd stop (code=exited, status=0/SUCCESS)
    CPU: 23ms

Feb 28 10:24:47 guac guacd[524]: Starting guacd:
Feb 28 10:24:47 guac guacd[527]: guacd[527]: INFO:    Guacamole proxy daemon (guacd) version 1.4.0 started
Feb 28 10:24:47 guac guacd[524]: SUCCESS
Feb 28 10:24:47 guac systemd[1]: Started LSB: Guacamole proxy daemon.
Feb 28 10:24:47 guac guacd[594]: Listening on host 127.0.0.1, port 4822
Feb 28 10:25:41 guac systemd[1]: Stopping LSB: Guacamole proxy daemon...
Feb 28 10:25:41 guac guacd[746]: Stopping guacd: SUCCESS
Feb 28 10:25:41 guac systemd[1]: guacd.service: Succeeded.
Feb 28 10:25:41 guac systemd[1]: guacd.service: Unit process 594 (guacd) remains running after unit stopped.
Feb 28 10:25:41 guac systemd[1]: Stopped LSB: Guacamole proxy daemon.
root@guac:~#
root@guac:~#
root@guac:~# ss -alnp | grep guacd
root@guac:~#
root@guac:~#
root@guac:~#
root@guac:~# tail -10 /var/log/syslog
Feb 28 10:25:07 guac systemd[1]: Started Session 1 of user theadmin.
Feb 28 10:25:07 guac systemd[1]: Started Session 3 of user theadmin.
Feb 28 10:25:41 guac systemd[1]: Stopping LSB: Guacamole proxy daemon...
Feb 28 10:25:41 guac guacd[746]: Stopping guacd: SUCCESS
Feb 28 10:25:41 guac systemd[1]: guacd.service: Succeeded.
Feb 28 10:25:41 guac systemd[1]: guacd.service: Unit process 594 (guacd) remains running after unit stopped.
Feb 28 10:25:41 guac systemd[1]: Stopped LSB: Guacamole proxy daemon.
Feb 28 10:26:38 guac guacd[765]: Guacamole proxy daemon (guacd) version 1.4.0 started
Feb 28 10:26:38 guac guacd[765]: Successfully bound AF_INET socket to host 127.0.0.1, port 4822
Feb 28 10:26:38 guac guacd[765]: Listening on host 127.0.0.1, port 4822
root@guac:~#
root@guac:~# tail -10 /var/log/tomcat9/catalina.out
[2022-02-28 10:27:05] [info] 

Re: Problems with GuacamoleHTTPTunnelServlet

2022-02-28 Thread Nick Couchman
On Mon, Feb 28, 2022 at 10:48 AM Jim Rx  wrote:

> D'oh.
>
> So I did it again... same results:
>
>
> root@guac:~#
> root@guac:~# systemctl status guacd
> ? guacd.service - LSB: Guacamole proxy daemon
>  Loaded: loaded (/etc/init.d/guacd; generated)
>  Active: active (running) since Mon 2022-02-28 08:43:06 CST; 1min 12s
> ago
>Docs: man:systemd-sysv-generator(8)
> Process: 521 ExecStart=/etc/init.d/guacd start (code=exited,
> status=0/SUCCESS)
>   Tasks: 1 (limit: 4639)
>  Memory: 13.6M
> CPU: 17ms
>  CGroup: /system.slice/guacd.service
>  +-593 /usr/local/sbin/guacd -p /var/run/guacd.pid
> Feb 28 08:43:06 guac systemd[1]: Starting LSB: Guacamole proxy daemon...
> Feb 28 08:43:06 guac guacd[523]: Guacamole proxy daemon (guacd) version
> 1.4.0 started
> Feb 28 08:43:06 guac guacd[521]: Starting guacd:
> Feb 28 08:43:06 guac guacd[523]: guacd[523]: INFO:Guacamole proxy
> daemon (guacd) version 1.4.0 started
> Feb 28 08:43:06 guac guacd[521]: SUCCESS
> Feb 28 08:43:06 guac guacd[593]: Listening on host 127.0.0.1, port 4822
> Feb 28 08:43:06 guac systemd[1]: Started LSB: Guacamole proxy daemon.
> root@guac:~#
> root@guac:~# systemctl stop guacd
> root@guac:~#
> root@guac:~# systemctl status guacd
> ? guacd.service - LSB: Guacamole proxy daemon
>  Loaded: loaded (/etc/init.d/guacd; generated)
>  Active: inactive (dead) since Mon 2022-02-28 08:44:27 CST; 3s ago
>Docs: man:systemd-sysv-generator(8)
> Process: 521 ExecStart=/etc/init.d/guacd start (code=exited,
> status=0/SUCCESS)
> Process: 748 ExecStop=/etc/init.d/guacd stop (code=exited,
> status=0/SUCCESS)
> CPU: 25ms
> Feb 28 08:43:06 guac guacd[521]: Starting guacd:
> Feb 28 08:43:06 guac guacd[523]: guacd[523]: INFO:Guacamole proxy
> daemon (guacd) version 1.4.0 started
> Feb 28 08:43:06 guac guacd[521]: SUCCESS
> Feb 28 08:43:06 guac guacd[593]: Listening on host 127.0.0.1, port 4822
> Feb 28 08:43:06 guac systemd[1]: Started LSB: Guacamole proxy daemon.
> Feb 28 08:44:27 guac systemd[1]: Stopping LSB: Guacamole proxy daemon...
> Feb 28 08:44:27 guac guacd[748]: Stopping guacd: SUCCESS
> Feb 28 08:44:27 guac systemd[1]: guacd.service: Succeeded.
> Feb 28 08:44:27 guac systemd[1]: guacd.service: Unit process 593 (guacd)
> remains running after unit stopped.
> Feb 28 08:44:27 guac systemd[1]: Stopped LSB: Guacamole proxy daemon.
> root@guac:~#
> root@guac:~#
> root@guac:~# ss -alnp | grep guacd
> root@guac:~#
> root@guac:~#
> root@guac:~#
> root@guac:~# /usr/local/sbin/guacd -L debug -f
> guacd[767]: INFO:   Guacamole proxy daemon (guacd) version 1.4.0
> started
> guacd[767]: DEBUG:  Successfully bound AF_INET socket to host
> 127.0.0.1, port 4822
> guacd[767]: INFO:   Listening on host 127.0.0.1, port 4822
> ^C
>

Did you press Ctrl-C before testing the connection, or after you had tested
it and it failed?

-Nick


Re: Problems with GuacamoleHTTPTunnelServlet

2022-02-28 Thread Jim Rx
D'oh.

 

So I did it again... same results:

 

 


root@guac:~#
root@guac:~# systemctl status guacd
? guacd.service - LSB: Guacamole proxy daemon
 Loaded: loaded (/etc/init.d/guacd; generated)
 Active: active (running) since Mon 2022-02-28 08:43:06 CST; 1min 12s ago
   Docs: man:systemd-sysv-generator(8)
    Process: 521 ExecStart=/etc/init.d/guacd start (code=exited, status=0/SUCCESS)
  Tasks: 1 (limit: 4639)
 Memory: 13.6M
    CPU: 17ms
 CGroup: /system.slice/guacd.service
 +-593 /usr/local/sbin/guacd -p /var/run/guacd.pid

Feb 28 08:43:06 guac systemd[1]: Starting LSB: Guacamole proxy daemon...
Feb 28 08:43:06 guac guacd[523]: Guacamole proxy daemon (guacd) version 1.4.0 started
Feb 28 08:43:06 guac guacd[521]: Starting guacd:
Feb 28 08:43:06 guac guacd[523]: guacd[523]: INFO:    Guacamole proxy daemon (guacd) version 1.4.0 started
Feb 28 08:43:06 guac guacd[521]: SUCCESS
Feb 28 08:43:06 guac guacd[593]: Listening on host 127.0.0.1, port 4822
Feb 28 08:43:06 guac systemd[1]: Started LSB: Guacamole proxy daemon.
root@guac:~#
root@guac:~# systemctl stop guacd
root@guac:~#
root@guac:~# systemctl status guacd
? guacd.service - LSB: Guacamole proxy daemon
 Loaded: loaded (/etc/init.d/guacd; generated)
 Active: inactive (dead) since Mon 2022-02-28 08:44:27 CST; 3s ago
   Docs: man:systemd-sysv-generator(8)
    Process: 521 ExecStart=/etc/init.d/guacd start (code=exited, status=0/SUCCESS)
    Process: 748 ExecStop=/etc/init.d/guacd stop (code=exited, status=0/SUCCESS)
    CPU: 25ms

Feb 28 08:43:06 guac guacd[521]: Starting guacd:
Feb 28 08:43:06 guac guacd[523]: guacd[523]: INFO:    Guacamole proxy daemon (guacd) version 1.4.0 started
Feb 28 08:43:06 guac guacd[521]: SUCCESS
Feb 28 08:43:06 guac guacd[593]: Listening on host 127.0.0.1, port 4822
Feb 28 08:43:06 guac systemd[1]: Started LSB: Guacamole proxy daemon.
Feb 28 08:44:27 guac systemd[1]: Stopping LSB: Guacamole proxy daemon...
Feb 28 08:44:27 guac guacd[748]: Stopping guacd: SUCCESS
Feb 28 08:44:27 guac systemd[1]: guacd.service: Succeeded.
Feb 28 08:44:27 guac systemd[1]: guacd.service: Unit process 593 (guacd) remains running after unit stopped.
Feb 28 08:44:27 guac systemd[1]: Stopped LSB: Guacamole proxy daemon.
root@guac:~#
root@guac:~#
root@guac:~# ss -alnp | grep guacd
root@guac:~#
root@guac:~#
root@guac:~#
root@guac:~# /usr/local/sbin/guacd -L debug -f
guacd[767]: INFO:   Guacamole proxy daemon (guacd) version 1.4.0 started
guacd[767]: DEBUG:  Successfully bound AF_INET socket to host 127.0.0.1, port 4822
guacd[767]: INFO:   Listening on host 127.0.0.1, port 4822
^C
root@guac:~# tail -10 /var/log/syslog
Feb 28 08:43:57 guac systemd[1]: Started Session 1 of user theadmin.
Feb 28 08:43:57 guac systemd[1]: Started Session 3 of user theadmin.
Feb 28 08:44:27 guac systemd[1]: Stopping LSB: Guacamole proxy daemon...
Feb 28 08:44:27 guac guacd[748]: Stopping guacd: SUCCESS
Feb 28 08:44:27 guac systemd[1]: guacd.service: Succeeded.
Feb 28 08:44:27 guac systemd[1]: guacd.service: Unit process 593 (guacd) remains running after unit stopped.
Feb 28 08:44:27 guac systemd[1]: Stopped LSB: Guacamole proxy daemon.
Feb 28 08:45:08 guac guacd[767]: Guacamole proxy daemon (guacd) version 1.4.0 started
Feb 28 08:45:08 guac guacd[767]: Successfully bound AF_INET socket to host 127.0.0.1, port 4822
Feb 28 08:45:08 guac guacd[767]: Listening on host 127.0.0.1, port 4822

root@guac:~#
root@guac:~# tail -10 /var/log/tomcat9/catalina.out
[2022-02-28 08:45:39] [info] 08:45:39.919 [http-nio-8080-exec-8] INFO  o.a.d.a.l.e.ExtrasCodecFactoryUtil - MSG_06001_REGISTERED_EXTENDED_OP_FACTORY (1.3.6.1.4.1.1466.20037)
[2022-02-28 08:45:39] [info] 08:45:39.920 [http-nio-8080-exec-8] INFO  o.a.d.a.l.e.ExtrasCodecFactoryUtil - MSG_06001_REGISTERED_EXTENDED_OP_FACTORY (1.3.6.1.1.21.1)
[2022-02-28 08:45:39] [info] 08:45:39.921 [http-nio-8080-exec-8] INFO  o.a.d.a.l.e.ExtrasCodecFactoryUtil - MSG_06001_REGISTERED_EXTENDED_OP_FACTORY (1.3.6.1.4.1.18060.0.1.6)
[2022-02-28 08:45:39] [info] 08:45:39.921 [http-nio-8080-exec-8] INFO  o.a.d.a.l.e.ExtrasCodecFactoryUtil - MSG_06001_REGISTERED_EXTENDED_OP_FACTORY (1.3.6.1.4.1.4203.1.11.3)
[2022-02-28 08:45:39] [info] 08:45:39.922 [http-nio-8080-exec-8] INFO  o.a.d.a.l.e.ExtrasCodecFactoryUtil - MSG_06002_REGISTERED_INTERMEDIATE_FACTORY (1.3.6.1.4.1.4203.1.9.1.4)
[2022-02-28 08:45:40] [info] 08:45:40.080 [http-nio-8080-exec-8] INFO  o.a.g.r.auth.AuthenticationService - User "guacadmin" successfully authenticated from 0:0:0:0:0:0:0:1.
[2022-02-28 08:45:50] [info] 08:45:50.014 [http-nio-8080-exec-5] WARN  o.a.g.s.GuacamoleHTTPTunnelServlet - HTTP tunnel request rejected: No such tunnel.
[2022-02-28 08:45:59] [info] 08:45:59.476 [http-nio-8080-exec-8] WARN  o.a.g.s.GuacamoleHTTPTunnelServlet - HTTP tunnel request rejected: No such tunnel.
[2022-02-28 08:46:00] [info] 08:46:00.086 [http-nio-8080-exec-3] ERROR o.a.g.s.GuacamoleHTTPTunnelServlet - HTTP tunnel request 

Re: Problems with GuacamoleHTTPTunnelServlet

2022-02-28 Thread Nick Couchman
On Mon, Feb 28, 2022 at 9:02 AM Jim Rx  wrote:

> Nick,
>
> Sorry for the delayed reply, We had ice storms and it kept me from work.
>
> So I'm not really any further.
>
> I killed guacd (systemctl stop guacd), and then, as root, from the
> /etc/init.d directory, ran ./guacd start -L debug -f
>
>

No, this won't work - you'll want the path to the actual guacd binary, not
the init script. The path to the binary can be found in the init script,
but it's different from the script. May be something like
/usr/local/sbin/guacd or /usr/sbin/guacd, something like that.

-Nick


Re: Problems with GuacamoleHTTPTunnelServlet

2022-02-28 Thread Jim Rx
Nick,

 

Sorry for the delayed reply, We had ice storms and it kept me from work.

 

So I'm not really any further.

 

I killed guacd (systemctl stop guacd), and then, as root, from the /etc/init.d directory, ran ./guacd start -L debug -f

 

I'm not getting anything on console, but checking journalctl -xe I see the same "no such tunnel" and "connection to guacd timed out" messages

 

BTW - this is on Debian 11, if that has any bearing

 

Thanks

 

Jim

 

 



root@guac:/etc/init.d# ./guacd start -L debug -f
Starting guacd: guacd[4427]: INFO:  Guacamole proxy daemon (guacd) version 1.4.0 started
SUCCESS


root@guac:/etc/init.d# journalctl -xe
Feb 28 07:53:42 guac systemd[1]: Stopping LSB: Guacamole proxy daemon...
¦¦ Subject: A stop job for unit guacd.service has begun execution
¦¦ Defined-By: systemd
¦¦ Support: https://www.debian.org/support
¦¦
¦¦ A stop job for unit guacd.service has begun execution.
¦¦
¦¦ The job identifier is 3112.
Feb 28 07:53:42 guac guacd[4422]: Stopping guacd: SUCCESS
Feb 28 07:53:42 guac systemd[1]: guacd.service: Succeeded.
¦¦ Subject: Unit succeeded
¦¦ Defined-By: systemd
¦¦ Support: https://www.debian.org/support
¦¦
¦¦ The unit guacd.service has successfully entered the 'dead' state.
Feb 28 07:53:42 guac systemd[1]: guacd.service: Unit process 4354 (guacd) remains running after unit stopped.
Feb 28 07:53:42 guac systemd[1]: Stopped LSB: Guacamole proxy daemon.
¦¦ Subject: A stop job for unit guacd.service has finished
¦¦ Defined-By: systemd
¦¦ Support: https://www.debian.org/support
¦¦
¦¦ A stop job for unit guacd.service has finished.
¦¦
¦¦ The job identifier is 3112 and the job result is done.
Feb 28 07:53:55 guac guacd[4427]: Guacamole proxy daemon (guacd) version 1.4.0 started
Feb 28 07:53:55 guac guacd[4429]: Listening on host 127.0.0.1, port 4822


root@guac:/etc/init.d# journalctl -xe
Feb 28 07:53:42 guac systemd[1]: Stopping LSB: Guacamole proxy daemon...
¦¦ Subject: A stop job for unit guacd.service has begun execution
¦¦ Defined-By: systemd
¦¦ Support: https://www.debian.org/support
¦¦
¦¦ A stop job for unit guacd.service has begun execution.
¦¦
¦¦ The job identifier is 3112.
Feb 28 07:53:42 guac guacd[4422]: Stopping guacd: SUCCESS
Feb 28 07:53:42 guac systemd[1]: guacd.service: Succeeded.
¦¦ Subject: Unit succeeded
¦¦ Defined-By: systemd
¦¦ Support: https://www.debian.org/support
¦¦
¦¦ The unit guacd.service has successfully entered the 'dead' state.
Feb 28 07:53:42 guac systemd[1]: guacd.service: Unit process 4354 (guacd) remains running after unit stopped.
Feb 28 07:53:42 guac systemd[1]: Stopped LSB: Guacamole proxy daemon.
¦¦ Subject: A stop job for unit guacd.service has finished
¦¦ Defined-By: systemd
¦¦ Support: https://www.debian.org/support
¦¦
¦¦ A stop job for unit guacd.service has finished.
¦¦
¦¦ The job identifier is 3112 and the job result is done.
Feb 28 07:53:55 guac guacd[4427]: Guacamole proxy daemon (guacd) version 1.4.0 started
Feb 28 07:53:55 guac guacd[4429]: Listening on host 127.0.0.1, port 4822
Feb 28 07:54:28 guac tomcat9[4361]: 07:54:28.098 [http-nio-8080-exec-9] WARN  o.a.g.s.GuacamoleHTTPTunnelServlet - HTTP tunnel request rejected: No such tunnel.
Feb 28 07:54:38 guac tomcat9[4361]: 07:54:38.128 [http-nio-8080-exec-7] ERROR o.a.g.s.GuacamoleHTTPTunnelServlet - HTTP tunnel request failed: Connection to guacd ti>


root@guac:/etc/init.d# journalctl -xe
Feb 28 07:53:42 guac systemd[1]: Stopping LSB: Guacamole proxy daemon...
¦¦ Subject: A stop job for unit guacd.service has begun execution
¦¦ Defined-By: systemd
¦¦ Support: https://www.debian.org/support
¦¦
¦¦ A stop job for unit guacd.service has begun execution.
¦¦
¦¦ The job identifier is 3112.
Feb 28 07:53:42 guac guacd[4422]: Stopping guacd: SUCCESS
Feb 28 07:53:42 guac systemd[1]: guacd.service: Succeeded.
¦¦ Subject: Unit succeeded
¦¦ Defined-By: systemd
¦¦ Support: https://www.debian.org/support
¦¦
¦¦ The unit guacd.service has successfully entered the 'dead' state.
Feb 28 07:53:42 guac systemd[1]: guacd.service: Unit process 4354 (guacd) remains running after unit stopped.
Feb 28 07:53:42 guac systemd[1]: Stopped LSB: Guacamole proxy daemon.
¦¦ Subject: A stop job for unit guacd.service has finished
¦¦ Defined-By: systemd
¦¦ Support: https://www.debian.org/support
¦¦
¦¦ A stop job for unit guacd.service has finished.
¦¦
¦¦ The job identifier is 3112 and the job result is done.
Feb 28 07:53:55 guac guacd[4427]: Guacamole proxy daemon (guacd) version 1.4.0 started
Feb 28 07:53:55 guac guacd[4429]: Listening on host 127.0.0.1, port 4822
Feb 28 07:54:28 guac tomcat9[4361]: 07:54:28.098 [http-nio-8080-exec-9] WARN  o.a.g.s.GuacamoleHTTPTunnelServlet - HTTP tunnel request rejected: No such tunnel.
Feb 28 07:54:38 guac tomcat9[4361]: 07:54:38.128 [http-nio-8080-exec-7] ERROR o.a.g.s.GuacamoleHTTPTunnelServlet - HTTP tunnel request failed: Connection to guacd ti>
Feb 28 07:54:58 guac tomcat9[4361]: 07:54:58.541 [http-nio-8080-exec-5] WARN  o.a.g.s.GuacamoleHTTPTunnelServlet -