VNC clipboard Unicode support

2021-10-25 Thread Nyla Khalil
I have TigerVNC Server v1.11.90 Beta
(https://github.com/TigerVNC/tigervnc/releases/tag/v1.11.90) and
Guacamole 1.3.0 running on my Linux system. I need to copy paste
non-Latin characters.

TigerVNC client and Guacamole SSH connection handle Unicode characters
correctly. If I use Guacamole VNC connection with Clipboard Encoding
set to UTF-8, copy pasting Unicode characters results in
transformation issues (possibly UTF-8 to ISO-8859-1). I think this is
due to Guacamole's LibVNC library usage
(https://issues.apache.org/jira/browse/GUACAMOLE-1043). Is there a way
to fix this?

LibVNC/libvncserver 1.0.0 release will add support for UTF-8 clipboard
(https://github.com/LibVNC/libvncserver/pull/468). If I build
Guacamole with the LibVNC UTF-8 changes, will it automagically work or
is there some integration needed on the Guacamole side?

Guacamole Docs:
"As most VNC servers will not accept data in any other format,
Guacamole will translate between UTF-8 and ISO 8859-1 when exchanging
clipboard data with the VNC server, but this behavior can be
overridden with the clipboard-encoding parameter."

Examples:
"£" pasted in TigerVNC client correctly pastes as "£"
"£" pasted in Guacamole VNC connection via sidebar menu incorrectly
pastes as "£"
"£" pasted in Guacamole SSH connection via sidebar menu correctly pastes as "£"

Guacd Log shows UTF-8 Usage:
guacd[6252]: DEBUG: Client is using protocol version "VERSION_1_3_0"
guacd[6252]: INFO: Using non-standard VNC clipboard encoding: 'UTF-8'.

TigerVNC log shows UTF-8 Usage:
Selection:   Remote clipboard announced, grabbing local ownership
Selection:   Grabbed PRIMARY selection
Selection:   Grabbed CLIPBOARD selection
Selection:   Selection request for CLIPBOARD (type TARGETS)
Selection:   Selection request for CLIPBOARD (type TARGETS)
Selection:   Selection request for CLIPBOARD (type UTF8_STRING)
Selection:   Requesting clipboard data from client
Selection:   Got remote clipboard data, sending to X11 clients
Selection:   Sending data for selection request for CLIPBOARD (type UTF8_STRING)
Selection:   Sending data for selection request for CLIPBOARD (type UTF8_STRING)

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



LDAP authentication not working

2021-10-25 Thread Maik Heinelt
I am not getting LDAP authentication with my Windows 2019 server to work. 
My guacamole.properties looks as following: 

guacd-hostname: localhost 
guacd-port: 4822 
GUACAMOLE_HOME: /etc/guacamole 

auth-provider: 
net.sourceforge.guacamole.net.auth.ldap.LDAPAuthenticationProvider 

# LDAP properties 
ldap-hostname: MyWin2019Server 
ldap-port: 389 
ldap-encryption-method: none 
ldap-username-attribute: sAMAccountName 
ldap-user-base-dn: OU=Users,DC=mydomain,DC=local 
ldap-search-bind-dn: CN=Administrator,CN=Users,DC=mydomain,DC=local 
ldap-search-bind-password: GoodPassword 


I got the ldap-search-bind-dn from the server LDAP admin properties >> 
Attribute Editor >> distinguishedName , so I am pretty sure this should be 
correct. 
I am able to reach the LDAP without errors with using SSL or also no encryption 
via Guacamole server command line using ldapsearch. 
When looking at the catalina.out log file, there is no error or warning shown 
when I try to authenticate via LDAP. 
Just a "WARN o.a.g.r.auth.AuthenticationService - Authentication attempt from [ 
callto:153.156.182.53 | 153.156.182.53 ] for user "MyUser" failed." 

Please correct me if I am wrong, but my understanding is, I should be able to 
authenticate with every user with its account name who is at the Users OU. 

Maik 



Re: How many connection have you made?

2021-10-25 Thread takuya morita
That was so helpful!
Thanks!

2021年10月25日(月) 18:42 Mike Jumper :

> On Mon, Oct 25, 2021, 01:12 takuya morita  wrote:
>
>> Hi, Guacamole support!
>> I'm Takuya!
>> Thank you for all your help and support.
>>
>> What is the maximum number of users that Guacamole can tolerate?
>
>
> There is no specific maximum. The rule of thumb is that you should be able
> to support 25 concurrent users for every CPU core and 2 GB of memory.
>
> It would be nice to have a track record rather than a theoretical value.
>> I'll need to know the specs of the server at that time.
>
>
> The above number is from a load test that we performed at Glyptodon with
> ~2000 concurrent connections and a variety of server configurations. We
> found this rule of thumb to be consistent for small numbers of connections
> up to thousands, regardless of how those cores are split among your
> Guacamole servers.
>
> As long as you have the server power, there is no inherent limit.
>
> Also, are there any points other than load balancing that I should be
>> aware of when a large number of users connect at the same time?
>
>
> Be sure to use the NIO (non-blocking) connector in your Tomcat's
> server.xml rather than the default blocking connector, as the latter does
> not play well with long-running TCP connections like WebSockets.
>
> - Mike
>
>


Re: VNC connection from Mac to Mac

2021-10-25 Thread Nick Couchman
On Mon, Oct 25, 2021 at 4:04 PM Guilherme Silva Sousa <
guilherme.so...@keeggo.com> wrote:

> When initiating a vnc connection from a mac to another mac, in guacamole,
> it is prompted to insert the username. I'd inserted all possible values in
> that field but all the values are rejected. What can I do in this situation?
>
>
You can try either leaving the username blank and just inserting a
password, or adjusting the security level of the VNC connection on the Mac
to make sure it is using the correct username and password, and that it
actually is asking for a username/password. It's been a while since I set
up Guacamole to connect to a Mac with VNC, but, IIRC, there are two
different possible modes, one of which requires only a password and the
other of which integrates with the Mac authentication and requires both
username and password.

-Nick


VNC connection from Mac to Mac

2021-10-25 Thread Guilherme Silva Sousa
When initiating a vnc connection from a mac to another mac, in guacamole, it is 
prompted to insert the username. I'd inserted all possible values in that field 
but all the values are rejected. What can I do in this situation?


Guilherme Sousa

Analista Desenvolvedor Java

Keeggo


Trail the Future.

[cid:0f70d7e9-8c26-488e-a138-7ddc618c50ce]


Re: Easy access to the guacamole menu via a button

2021-10-25 Thread Maxim Doucet
FYI I updated the ticket at
https://issues.apache.org/jira/browse/GUACAMOLE-1424?focusedCommentId=17433917=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17433917

Best,
Maxim

Le mer. 29 sept. 2021 à 09:13, Maxim Doucet <
maxim.dou...@qarnot-computing.com> a écrit :

> I was wondering if I should open a feature request for this on
> https://issues.apache.org/jira/browse/GUACAMOLE
>
> But then I stumbled upon
> https://issues.apache.org/jira/browse/GUACAMOLE-1424 which basically want
> to achieve the same thing (use a button or an always on top menu bar to
> open the guacamole menu) but not for the same use case (the reporter is
> interested by guacamole use on a smartphone guacamole when I have a more
> general use case in mind with a button also for the "classic" desktop
> browser).
>
> Would it make sense if I add the context of my use case to the feature
> request (and maybe change the title to reflect that it's a proposal for
> desktop+mobile browsers) or is it better to create another ticket?
>
> Best,
> Maxim
>
> Le lun. 27 sept. 2021 à 22:53, Maxim Doucet <
> maxim.dou...@qarnot-computing.com> a écrit :
>
>> Hello,
>>
>> Based on feedback from clients (and +100 3D artists at a previous job),
>> the fact that the guacamole menu is only accessible via ctrl-alt-shift
>> makes guacamole a bit hard to adopt for new users. This is also true for
>> users coming back to guacamole after several months using other remote
>> tools (like chrome remote desktop or even novnc): they tend to forget that,
>> in guacamole, the sidebar menu is not accessible visually by clicking on a
>> button (they search for a "visual hint" to access the guacamole menu but
>> there is none). Note that they are searching for the guacamole menu/sidebar
>> because usually they need to press ctrl-alt-del on the remote machine or
>> they want to copy-paste text.
>>
>> Is it something that has (maybe) been already considered? And what could
>> be the options to add this feature? By modifying guacamole's code or
>> developing an extension or maybe by integrating guacamole in another
>> (web)app?
>>
>> In any case, thanks for such a great tool!
>>
>> --
>> Maxim Doucet
>> DevOps @ Qarnot
>>
>

-- 
Maxim Doucet
DevOps @ Qarnot


Re: How many connection have you made?

2021-10-25 Thread Mike Jumper
On Mon, Oct 25, 2021, 01:12 takuya morita  wrote:

> Hi, Guacamole support!
> I'm Takuya!
> Thank you for all your help and support.
>
> What is the maximum number of users that Guacamole can tolerate?


There is no specific maximum. The rule of thumb is that you should be able
to support 25 concurrent users for every CPU core and 2 GB of memory.

It would be nice to have a track record rather than a theoretical value.
> I'll need to know the specs of the server at that time.


The above number is from a load test that we performed at Glyptodon with
~2000 concurrent connections and a variety of server configurations. We
found this rule of thumb to be consistent for small numbers of connections
up to thousands, regardless of how those cores are split among your
Guacamole servers.

As long as you have the server power, there is no inherent limit.

Also, are there any points other than load balancing that I should be aware
> of when a large number of users connect at the same time?


Be sure to use the NIO (non-blocking) connector in your Tomcat's server.xml
rather than the default blocking connector, as the latter does not play
well with long-running TCP connections like WebSockets.

- Mike


How many connection have you made?

2021-10-25 Thread takuya morita
Hi, Guacamole support!
I'm Takuya!
Thank you for all your help and support.

What is the maximum number of users that Guacamole can tolerate?
It would be nice to have a track record rather than a theoretical value.
I'll need to know the specs of the server at that time.

Also, are there any points other than load balancing that I should be aware
of when a large number of users connect at the same time?


RemoteIPValve

2021-10-25 Thread Golota S.V.
Hello!! Guacamole on docker. there is a problem with the real IP 
addresses of users in the logs, tried to solve it as before by adding 
entries to the conf / server.xml file (previously removed it from the 
mounting container) but did not give a solution to this problem?



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