Re: User bypassing auth

2020-04-01 Thread sciUser
Sent you a private message with the code. 




-
A Cybersecurity Enablement Company 
We don't just run you through the motions, Our labs teach you how to think! 
Known good Guacamole  installations

--
Sent from: 
http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/

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



Re: User bypassing auth

2020-04-01 Thread Chris Misztur
@sciUser: I do not see any source to include in index.html... Can you
resend?

Thanks
Chris


On Wed, Apr 1, 2020 at 11:55 AM sciUser 
wrote:

> This may get some back lash, but we ran in to this issue and we add this
> line
> of code in the header and body. This resolved the issue. Be warned, this
> means that anytime the page is refreshed you will have to re-login. This
> issues the cookie then expires it, leaving your current session intact.
>
> Add this to the index.html page at the top level
> webapps/guacamole/index.html
>
>
>
>
>
> -
> A Cybersecurity Enablement Company
> We don't just run you through the motions, Our labs teach you how to
> think!
> Known good Guacamole  installations
>
> --
> Sent from:
> http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/
>
> -
> To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org
> For additional commands, e-mail: user-h...@guacamole.apache.org
>
>


Re: Guacamole enable paste & disable copy

2020-04-01 Thread Nick Couchman
On Wed, Apr 1, 2020 at 7:18 PM mekuls DL  wrote:

> Hi,
>
>
> I'm trying to figure out if I can configure Guacamole only to allow paste
> but disable copy.
>
>
> I spent some time chasing the changes in this PR
> . I cannot
> see the conditional copy logic in the current master branch.
>
>
> There is no mention of this feature in the clipboard
>  section of the FAQ.
>
>
> Would you happen to know if it's possible only to enable paste, but not
> copy?
>
>
>
The pull request you mention is for GUACAMOLE-381, which is slated for
version 1.2.0:

https://issues.apache.org/jira/projects/GUACAMOLE/issues/GUACAMOLE-381?filter=allissues

So, the changes are present in both the staging/1.2.0 and master branches
of the git repos, both for the Guacamole Client and Guacamole Server
components.  In the 1.2.0 version and onward the "disable-copy" and
"disable-paste" parameters will allow you to independently control the
ability for clients to either copy or paste onto the clipboard.

You won't see it in any of the website documentation until it is released.
I'm not sure if it will make it into the FAQ or not - that'll depend on how
frequently we get the question :-).

-Nick

>


Re: Shadowing RDP

2020-04-01 Thread Chris Misztur
Yes.  I'm on 1.1.0 and RDP being the primary protocol.  So in Active
Sessions, as an admin, I can click the active connection and see and
control the user's session.  This is great for supporting users but for
privacy concerns the user should allow or disallow the admin from snooping
on their active session.

On Wed, Apr 1, 2020 at 10:35 AM Nick Couchman  wrote:

> On Wed, Apr 1, 2020 at 7:56 AM Chris Misztur  wrote:
>
>> Morning.  Wondering if shadowing active connections can be disabled, or
>> better yet prompt the user to allow or deny shadowing.
>>
>>
> Can you define a little more clearly what you mean by "Shadowing", and
> what environment you're using (version of Guacamole, display protocol,
> etc.)?
>
> -Nick
>


Re: Password-Prompt for RDP-Connections

2020-04-01 Thread Nick Couchman
On Wed, Apr 1, 2020 at 12:42 PM  wrote:

> Hi Nick,
>
>
>
> Would it be something like the below? in the guacamole.properties file?
>
>
>

No, sorry, I misunderstood what you were asking, I think.  Can you clarify
what you mean by "LDAP configuration with tokens"?  I assumed you meant you
were storing connections in LDAP and wanted to know how to insert the
tokens into those LDAP entries, but it sounds like that's not the case.
Are you trying to pull particular attributes from LDAP and make those into
tokens?

-Nick


Re: RDP printing not working, v1.1.0

2020-04-01 Thread Nick Couchman
On Wed, Apr 1, 2020 at 12:48 PM bullett 
wrote:

> Hi Nick
>
> Yes, gs is in the docker image I have running. Version 9.27.
>
> I'm using the official 'guacamole/guacamole' and 'guacamole/guacd' images,
> but I've also tested with oznu's popular all-in-one image and got the same
> results and errors.
>
>
Okay, my next question would be, does it happen for anything/everything a
user tries to print, or only some things?  So, can you successfully do a
test page or a small Notepad "Hello, world" document?  Or do those fail?

-Nick


Re: User bypassing auth

2020-04-01 Thread sciUser
This may get some back lash, but we ran in to this issue and we add this line
of code in the header and body. This resolved the issue. Be warned, this
means that anytime the page is refreshed you will have to re-login. This
issues the cookie then expires it, leaving your current session intact. 

Add this to the index.html page at the top level
webapps/guacamole/index.html 





-
A Cybersecurity Enablement Company 
We don't just run you through the motions, Our labs teach you how to think! 
Known good Guacamole  installations

--
Sent from: 
http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/

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



Re: RDP printing not working, v1.1.0

2020-04-01 Thread bullett
Hi Nick

Yes, gs is in the docker image I have running. Version 9.27.

I'm using the official 'guacamole/guacamole' and 'guacamole/guacd' images,
but I've also tested with oznu's popular all-in-one image and got the same
results and errors.

B.



--
Sent from: 
http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/

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



RE: Password-Prompt for RDP-Connections

2020-04-01 Thread findingjohn
Hi Nick,

 

Would it be something like the below? in the guacamole.properties file?

 

ldap-hostname: 192.168.1.1

ldap-port: 389

ldap-encryption-method: none

ldap-search-bind-dn: CN=ldapuser,OU=Users,OU=Example Inc,DC=EXAMPLE,DC=COM

ldap-search-bind-password: examplepassword!

ldap-user-base-dn: DC=EXAMPLE,DC=COM

ldap-user-search-filter: 
(&(objectClass=*)(memberOf=CN=EXA_GUACAMOLE,OU=Groups,OU=Example 
Inc,DC=EXAMPLE,DC=COM))

ldap-username-attribute: samAccountName

ldap-follow-referrals: false

ldap-operation-timeout: 30

guacConfigParameter: username=${GUAC_USERNAME}

guacConfigParameter: password=${GUAC_PASSWORD}

 

 

From: Nick Couchman  
Sent: Wednesday, April 1, 2020 8:57 AM
To: user@guacamole.apache.org
Subject: Re: Password-Prompt for RDP-Connections

 

On Tue, Mar 31, 2020 at 11:30 PM mailto:findingj...@gmail.com> > wrote:

Can someone share screen shot or sample of the configuration where it has LDAP 
configuration with tokens? 

 

Thank you in advance.

 

I don't have an example of this, but, basically, you'd put a 
guacConfigParameter entry on the LDAP object that has 
"username=${GUAC_USERNAME}" and then another one for that has 
"password=${GUAC_PASSWORD}" - assuming you want to pass through both username 
and password.

 

-Nick



RE: guacamole_connection_history in SRC

2020-04-01 Thread Adrian Owen
I use custom api to get authentication Token from guacamole and use to connect.

Guacamole writes entry to the guacamole_connection_history table when 
connection completes.

I would like to put a hook in that spot to make a call out to pass a message to 
my application.

The bigger question is would this work, and is it worth pursuing?

From: ivanmarcus [mailto:ivanmar...@yahoo.com.INVALID]
Sent: 01 April 2020 13:26
To: user@guacamole.apache.org
Subject: Re: guacamole_connection_history in SRC


Well it's entirely possible I don't know (what we're talking about :-), but I 
assumed Adrian was wanting to know where in the Guacamole code it caused data 
to be inserted into the database "guacamole_connection_history" table...

On 2/04/2020 12:40 a.m., Esther Krispin wrote:
Sorry,
What are we talking about?
�
From: ivanmarcus 

Sent: Wednesday, 1 April 2020 14:22
To: user@guacamole.apache.org; Adrian Owen 

Subject: Re: guacamole_connection_history in SRC
�

I have very limited knowledge of the Guacamole code, but have you looked at 
org/apache/guacamole/auth/jdbc/connection/ConnectionRecordMapper.xml ?

At least that's where I find it if I expand the 
guacamole-auth-jdbc-mysql-1.0.0.jar file, I'm on a, extremely slow internet 
connection right now and still waiting for the equivalent 1.1.0 to come down 
(~80+ mins away!).
�
On 1/04/2020 11:32 p.m., Adrian Owen wrote:
I recursively searched under master branch. But cannot find this table?
�
Where do table rows get inserted in code?
�
Thanks, Adrian
�

�



Email secured by Check Point

Report 
Phishing
�



Re: OpenID Connect Authentication with LDAP configuration

2020-04-01 Thread Nick Couchman
On Tue, Mar 31, 2020 at 3:42 PM Sebastian Männling <
sebastian.maennl...@qubestack.org> wrote:

> any comment if openid connect authentication with connection
> settings/options from ldap should or should not work at all?
>
>
This is unlikely to work, because the LDAP extension relies on successful
authentication by the user who logs in to the LDAP tree in order to
retrieve the LDAP objects.  If you're using OpenID, or any other SSO
platform, you're unlikely to have that user's password in order to try the
authentication, and the LDAP extension will just silently fail.  CAS can
potentially work around this by using the ClearPass feature to provide the
user's password back to Guacamole, but that feature is only implemented in
the CAS Authentication Extension, and I'm unsure if either OpenID or any
other SSO platform supports that.

If you're going to use OpenID you'd likely be better off storing
configurations for connections in the JDBC module.

-Nick


Re: Password-Prompt for RDP-Connections

2020-04-01 Thread Nick Couchman
On Tue, Mar 31, 2020 at 11:30 PM  wrote:

> Can someone share screen shot or sample of the configuration where it has
> LDAP configuration with tokens?
>
>
>
> Thank you in advance.
>

I don't have an example of this, but, basically, you'd put a
guacConfigParameter entry on the LDAP object that has
"username=${GUAC_USERNAME}" and then another one for that has
"password=${GUAC_PASSWORD}" - assuming you want to pass through both
username and password.

-Nick


(Got an error reading communication packets)

2020-04-01 Thread findingjohn
Does anyone know how to fix this mysql error for Guacamole?  It works fine
with user mapping but when I put it back to mysql, I get the below error.
There is a lot of suggestion out there from google search and most of it are
not Guacamole specific and none of them works.

 

2020-04-01T15:34:37.566215Z 2 [Note] Aborted connection 2 to db: 'guacamole'
user: 'guacaadmin' host: 'localhost' (Got an error reading communication
packets)

2020-04-01T15:34:37.589433Z 3 [Note] Aborted connection 3 to db: 'guacamole'
user: 'guacaadmin' host: 'localhost' (Got an error reading communication
packets)

2020-04-01T15:35:28.858276Z 4 [Note] Aborted connection 4 to db: 'guacamole'
user: 'guacaadmin' host: 'localhost' (Got an error reading communication
packets)

2020-04-01T15:35:28.870207Z 5 [Note] Aborted connection 5 to db: 'guacamole'
user: 'guacaadmin' host: 'localhost' (Got an error reading communication
packets)

 

Thank you in advance.



Re: Guacamole Menu shortcut

2020-04-01 Thread Nick Couchman
On Wed, Apr 1, 2020 at 5:28 AM Robert Susta 
wrote:

> I've located a part of client code that defines what key-combination to
> watch
> for in guacamole/app/client/controllers/clientController.js
>

Modifying the code directly inside the deployed Tomcat application is very
unreliable in terms of whether it will work or not - I wouldn't try that.
If you need to try it, you'll want to download the source code, edit the
file in the source code, build the packages, and then re-deploy the new WAR
file that is built.

-Nick


Re: RDP printing not working, v1.1.0

2020-04-01 Thread Nick Couchman
>
>
> guacd[6]: INFO: Creating new client for protocol "rdp"
> guacd[6]: INFO: Connection ID is "$c4e6a871-1bb4-436e-a96f-cb3332b9c0cd"
> guacd[16037]: INFO: Security mode: RDP
> guacd[16037]: INFO: Resize method: none
> guacd[16037]: INFO: User "@7e24e3b9-e5b5-4cdd-ac57-dad116bcac54" joined 
> connection "$c4e6a871-1bb4-436e-a96f-cb3332b9c0cd" (1 users now present)
> guacd[16037]: INFO: Loading keymap "base"
> guacd[16037]: INFO: Loading keymap "en-us-qwerty"
> guacd[16037]: INFO: Connected to RDPDR 1.13 as client 0x0006
> guacd[16037]: INFO: Connected to RDPDR 1.13 as client 0x0005
> guacd[16037]: INFO: RDPDR user logged on
> guacd[16037]: INFO: Print job created
> guacd[16037]: INFO: Created PDF filter process PID=16083
> guacd[16083]: INFO: Running gs
>
>
Is Ghostscript (gs) installed on your Guacamole Server system?  You can
check this by manually trying to run "gs" on the system where guacd is
installed.

-Nick


Re: Shadowing RDP

2020-04-01 Thread Nick Couchman
On Wed, Apr 1, 2020 at 7:56 AM Chris Misztur  wrote:

> Morning.  Wondering if shadowing active connections can be disabled, or
> better yet prompt the user to allow or deny shadowing.
>
>
Can you define a little more clearly what you mean by "Shadowing", and what
environment you're using (version of Guacamole, display protocol, etc.)?

-Nick


Fwd: tri-head display

2020-04-01 Thread admin45...@gmail.com
-- Forwarded message -
From: admin45...@gmail.com 
Date: Wed, Apr 1, 2020 at 9:46 AM
Subject: tri-head display
To: 


Good Morning,

I was using guacamole over the weekend and I see that with tri-head monitor
when an icon is double clicked, it opens up in another monitor not the main
display where guacamole is focused.  How would I adjust that?

Thanks


Re: guacamole and wake-on-LAN

2020-04-01 Thread ivanmarcus
First of all you can check if the WOL function is working correcly in 
the machine you're trying to wake up by using the 'wakeonlan' command 
from your Guacamole machine.


eg. wakeonlan 2D:4A:54:58:FB:FA (obviously changing the MAC to the 
correct one for your target machine). Etherwake would also do the same job.


If wakeonlan isn't installed just apt-get install wakeonlan (assuming a 
debian-based distro).


If that doesn't work you'll need to sort out the target machine. 
Otherwise if it does work then there could be a problem with the format 
of the macs.list file, or the id number/MAC in the macs.list file isn't 
correct for that connection.


To check this out - tail catalina.out when you attempt a connect to the 
machine and ensure the connection number is the same as that in the 
macs.list file (with associated MAC for that machine).


The WOL part of the code is fairly standard, but if all else fails you 
could try something like this (save it into a new file, eg wol2.py, and 
run it same as the other - you may need to change the location of the 
macs.list file, and catalina.out if you're using a different version of 
Tomcat):



#!/usr/bin/env python2

import subprocess, csv, sys

logfile = 
subprocess.Popen(['tail','-F','/var/log/tomcat8/catalina.out'],stdout=subprocess.PIPE,stderr=subprocess.PIPE)


while True:
line = logfile.stdout.readline()
with open('/home/user/macs.list') as inifile:
reader = csv.DictReader(inifile)
if 'connected to connection' in line:
q1 = line.find("\"")
q2 = line.find("\"",q1+1)
q3 = line.find("\"",q2+1)
q4 = line.find("\"",q3+1)
user = line[q1+1:q2]
conn_num = line[q3+1:q4]
for row in reader:
if(row['id']) == conn_num:
#print (conn_num)
#print(row['mac'])
m=(row['mac'])
#print (m)
subprocess.call (["wakeonlan", (m)])


This is largely the same code but it'd call wakeonlan to wake the 
machine up, and pass it the correct MAC. You can remove the comments 
from the print statements to check how the code is performing and if 
it's got the correct detail (the connection number and MAC address 
should appear in your terminal when a connection is attempted).




On 2/04/2020 2:08 a.m., Piviul wrote:

Piviul ha scritto il 01/04/20 alle 14:33:

ivanmarcus ha scritto il 01/04/20 alle 13:01:

[...]
"logfile = 
subprocess.Popen(['tail','-F','/var/log/tomcat7/catalina.out'],stdout=subprocess.PIPE,stderr=subprocess.PIPE)" 
- all on the one line.


thank you very much Ivan! ...but I get another error:
$ guac_wol.py
Traceback (most recent call last):
   File "./guac_wol.py", line 88, in 
 if(row['id']) == conn_num:
KeyError: 'id'

ooops, it's my fault, the macs.list was not configured properly...

Any way doesn't seems to works... in effect it's the WOL function that 
doesn't wake up the PC...


Piviul

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





Re: guacamole and wake-on-LAN

2020-04-01 Thread Piviul

ivanmarcus ha scritto il 01/04/20 alle 13:01:

[...]
"logfile = 
subprocess.Popen(['tail','-F','/var/log/tomcat7/catalina.out'],stdout=subprocess.PIPE,stderr=subprocess.PIPE)" 
- all on the one line.


thank you very much Ivan! ...but I get another error:
$ guac_wol.py
Traceback (most recent call last):
  File "./guac_wol.py", line 88, in 
if(row['id']) == conn_num:
KeyError: 'id'


:(

Piviul

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



Re: guacamole_connection_history in SRC

2020-04-01 Thread ivanmarcus
Well it's entirely possible I don't know (what we're talking about :-), 
but I assumed Adrian was wanting to know where in the Guacamole code it 
caused data to be inserted into the database 
"guacamole_connection_history" table...



On 2/04/2020 12:40 a.m., Esther Krispin wrote:


Sorry,

What are we talking about?

*From:*ivanmarcus 
*Sent:* Wednesday, 1 April 2020 14:22
*To:* user@guacamole.apache.org; Adrian Owen 
*Subject:* Re: guacamole_connection_history in SRC

I have very limited knowledge of the Guacamole code, but have you 
looked at 
org/apache/guacamole/auth/jdbc/connection/ConnectionRecordMapper.xml ?


At least that's where I find it if I expand the 
guacamole-auth-jdbc-mysql-1.0.0.jar file, I'm on a, extremely slow 
internet connection right now and still waiting for the equivalent 
1.1.0 to come down (~80+ mins away!).


On 1/04/2020 11:32 p.m., Adrian Owen wrote:

I recursively searched under master branch. But cannot find this
table?

�

Where do table rows get inserted in code?

�

Thanks, Adrian

Email secured by Check Point
Report Phishing 







Re: double mouse

2020-04-01 Thread ivanmarcus

Are you using VNC?

If so you could try changing the connection cursor and/or colour depth 
options in Guacamole.


I've not had the problem myself, but if I did this is probably where I'd 
start to troubleshoot.



On 2/04/2020 12:46 a.m., Esther Krispin wrote:


Hi,
When I�m working through the guacamole remotely on my desktop in 
Virtual Machine (vm), the mouse change to black square in addition to 
the vm's mouse and there�s two mice as a result.

It�s annoying. can you help with it?
screenshot is attached

*Esther Krispin*



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




User bypassing auth

2020-04-01 Thread Chris Misztur
I have one user who is able to close the browser (tried Chrome and FF), and 
evening reboot his PC, go to Guac URL and is allowed back in without auth.  I 
have it set up for LDAP and TOTP.  

Is something getting cached server side?

Chris




Shadowing RDP

2020-04-01 Thread Chris Misztur
Morning.  Wondering if shadowing active connections can be disabled, or better 
yet prompt the user to allow or deny shadowing.

Chris




RE: guacamole_connection_history in SRC

2020-04-01 Thread Esther Krispin
Sorry,
What are we talking about?

From: ivanmarcus 
Sent: Wednesday, 1 April 2020 14:22
To: user@guacamole.apache.org; Adrian Owen 
Subject: Re: guacamole_connection_history in SRC


I have very limited knowledge of the Guacamole code, but have you looked at 
org/apache/guacamole/auth/jdbc/connection/ConnectionRecordMapper.xml ?

At least that's where I find it if I expand the 
guacamole-auth-jdbc-mysql-1.0.0.jar file, I'm on a, extremely slow internet 
connection right now and still waiting for the equivalent 1.1.0 to come down 
(~80+ mins away!).

On 1/04/2020 11:32 p.m., Adrian Owen wrote:
I recursively searched under master branch. But cannot find this table?
�
Where do table rows get inserted in code?
�
Thanks, Adrian




Email secured by Check Point
Report 
Phishing



Re: guacamole_connection_history in SRC

2020-04-01 Thread ivanmarcus
I have very limited knowledge of the Guacamole code, but have you looked 
at org/apache/guacamole/auth/jdbc/connection/ConnectionRecordMapper.xml ?


At least that's where I find it if I expand the 
guacamole-auth-jdbc-mysql-1.0.0.jar file, I'm on a, extremely slow 
internet connection right now and still waiting for the equivalent 1.1.0 
to come down (~80+ mins away!).



On 1/04/2020 11:32 p.m., Adrian Owen wrote:


I recursively searched under master branch. But cannot find this table?

Where do table rows get inserted in code?

Thanks, Adrian





Re: guacamole and wake-on-LAN

2020-04-01 Thread ivanmarcus

Piviul,

It looks as if the mailing list has introduced a new line where there's 
not meant to be one. Apologies for not noticing that earlier.


The line "logfile =" is meant to read:

"logfile = 
subprocess.Popen(['tail','-F','/var/log/tomcat7/catalina.out'],stdout=subprocess.PIPE,stderr=subprocess.PIPE)" 
- all on the one line.


I suspect in your script you'll just need to bring up the text in line 
below "logfile =" and tack it on the end for it to work.



On 1/04/2020 10:59 p.m., Piviul wrote:

ivanmarcus ha scritto il 15/03/20 alle 02:57:
I've already written a Python script that reads the log and sends the 
magic packet as needed. It's been running for a couple of years now, 
Many thanks Ivan! I would like to use your script but when I run it I 
get the error:

$ ./guac_wol.py
  File "./guac_wol.py", line 64
logfile =
^
SyntaxError: invalid syntax

I don't know python and I can't understand why I get this error in 
your script...


Piviul

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





guacamole_connection_history in SRC

2020-04-01 Thread Adrian Owen
I recursively searched under master branch. But cannot find this table?

Where do table rows get inserted in code?

Thanks, Adrian


RDP printing not working, v1.1.0

2020-04-01 Thread bullett
Hi all.

I'm struggling to get Guacamole's print-to-PDF function to work on my
recently set up v1.1.0, Docker-based installation.

I'm using RDP connections to W8.1, W10 and Server 2012 hosts. The hosts see
the redirected printer in the RDP session, but if I try to print to it, the
session freezes for about 10-15 seconds, then times out. During that pause,
Guacd logs stop on 'Running gs'. No further logs are recorded until the
session is started again.

My installation is reverse proxied through nginx. To rule out interference
or misconfiguration, I reconfigured everything without the proxy and
connected to Guacamole directly via IP. I got the same results.

Can anyone suggest what to try next?
Thanks in advance.
Bullett

The in-browser session sees this message:
/"The connection has been closed because the server is taking too long to
respond. This is usually caused by network problems, such as a spotty
wireless signal, or slow network speeds. Please check your network
connection and try again or contact your system administrator."/

Guacd logs:
guacd[6]: INFO: Creating new client for protocol "rdp"guacd[6]: INFO:
Connection ID is "$c4e6a871-1bb4-436e-a96f-cb3332b9c0cd"guacd[16037]: INFO:
Security mode: RDPguacd[16037]: INFO: Resize method: noneguacd[16037]:
INFO: User "@7e24e3b9-e5b5-4cdd-ac57-dad116bcac54" joined connection
"$c4e6a871-1bb4-436e-a96f-cb3332b9c0cd" (1 users now present)guacd[16037]:
INFO: Loading keymap "base"guacd[16037]: INFO: Loading keymap
"en-us-qwerty"guacd[16037]: INFO: Connected to RDPDR 1.13 as client
0x0006guacd[16037]: INFO: Connected to RDPDR 1.13 as client
0x0005guacd[16037]: INFO: RDPDR user logged onguacd[16037]: INFO:
Print job createdguacd[16037]: INFO: Created PDF filter process
PID=16083guacd[16083]: INFO: Running gsguacd[16037]: ERROR:User is
not responding.guacd[16037]: INFO: User
"@7e24e3b9-e5b5-4cdd-ac57-dad116bcac54" disconnected (0 users
remain)guacd[16037]: INFO: Last user of connection
"$c4e6a871-1bb4-436e-a96f-cb3332b9c0cd" disconnectedguacd[6]: INFO: Creating
new client for protocol "rdp"guacd[6]: INFO: Connection ID is
"$6b13e391-862f-4222-b1fb-0599b4ab2422"guacd[16087]: INFO: Security
mode: RDPguacd[16087]: INFO: Resize method: noneguacd[16087]: INFO:
User "@6239fa8b-44cf-49fa-aa44-86f7c45fc378" joined connection
"$6b13e391-862f-4222-b1fb-0599b4ab2422" (1 users now present)guacd[16087]:
INFO: Loading keymap "base"guacd[16087]: INFO: Loading keymap
"en-us-qwerty"guacd[16087]: INFO: Connected to RDPDR 1.13 as client
0x0006guacd[16037]: WARNING:  Client did not terminate in a timely manner.
Forcibly terminating client and any child processes.guacd[6]: INFO:
Connection "$c4e6a871-1bb4-436e-a96f-cb3332b9c0cd" removed.guacd[16087]:
INFO: Connected to RDPDR 1.13 as client 0x0005guacd[16087]: INFO:
RDPDR user logged on
Guacamole logs:
11:31:39.714 [http-nio-8080-exec-76] INFO 
o.a.g.r.auth.AuthenticationService - User "guacadmin" successfully
authenticated from [172.16.0.250, 192.168.16.1, 192.168.16.5].11:31:42.185
[http-nio-8080-exec-60] INFO  o.a.g.environment.LocalEnvironment -
GUACAMOLE_HOME is "/root/.guacamole".11:31:42.316 [http-nio-8080-exec-73]
INFO  o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to
connection "3".11:32:26.854 [Thread-657] ERROR
o.a.g.w.GuacamoleWebSocketTunnelEndpoint - Connection to guacd terminated
abnormally: Connection to guacd timed out.11:32:26.855 [Thread-657] INFO 
o.a.g.tunnel.TunnelRequestService - User "guacadmin" disconnected from
connection "3". Duration: 44539 milliseconds11:32:39.670
[http-nio-8080-exec-60] INFO  o.a.g.tunnel.TunnelRequestService - User
"guacadmin" connected to connection "3".
Windows host print log:
/"The document Print Document, owned by , failed to print on printer Remote
(redirected 5). Try to print the document again, or restart the print
spooler. Data type: NT EMF 1.008. Size of the spool file in bytes: 65536.
Number of bytes printed: 0. Total number of pages in the document: 1. Number
of pages printed: 0. Client computer: \\. Win32 error code returned by the
print processor: 1167. The device is not connected."/



--
Sent from: 
http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/

Re: guacamole and wake-on-LAN

2020-04-01 Thread Piviul

ivanmarcus ha scritto il 15/03/20 alle 02:57:
I've already written a Python script that reads the log and sends the 
magic packet as needed. It's been running for a couple of years now, 
Many thanks Ivan! I would like to use your script but when I run it I 
get the error:

$ ./guac_wol.py
  File "./guac_wol.py", line 64
logfile =
^
SyntaxError: invalid syntax

I don't know python and I can't understand why I get this error in your 
script...


Piviul

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



Re: Guacamole Menu shortcut

2020-04-01 Thread Robert Susta
I've located a part of client code that defines what key-combination to watch
for in guacamole/app/client/controllers/clientController.js

var SHIFT_KEYS  = {0xFFE1 : true, 0xFFE2 : true},
ALT_KEYS= {0xFFE9 : true, 0xFFEA : true, 0xFE03 : true,
   0xFFE7 : true, 0xFFE8 : true},
CTRL_KEYS   = {0xFFE3 : true, 0xFFE4 : true},
MENU_KEYS   = angular.extend({}, SHIFT_KEYS, ALT_KEYS, CTRL_KEYS);

I've modified it like this to react on CTRL+ALT+SHIFT+F12:

var SHIFT_KEYS  = {0xFFE1 : true, 0xFFE2 : true},
ALT_KEYS= {0xFFE9 : true, 0xFFEA : true, 0xFE03 : true,
   0xFFE7 : true, 0xFFE8 : true},
CTRL_KEYS   = {0xFFE3 : true, 0xFFE4 : true},
ACTION_KEY  = {0xFFC9 : true},
MENU_KEYS   = angular.extend({}, SHIFT_KEYS, ALT_KEYS, CTRL_KEYS,
ACTION_KEY);

I've found the 0xFFC9 keycode for F12 here:
https://guacamole.apache.org/doc/guacamole-common-js/Keyboard.js.html

it looks like it won't be that easy - it doesn't work. I restarted the whole
server afterwards, cleared browser offline files and cookies, used a clean
browser I never use: Edge, just to be sure nothing was left in some cache.
It still opened the menu on CTRL+ALT+SHIFT alone.
I need advice.



--
Sent from: 
http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/

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