Re: Virtual Channel callback onpipe doesn't work on IE11

2018-01-12 Thread Mike Jumper
On Fri, Jan 12, 2018 at 1:33 AM, Alexey F.  wrote:

>
> Hi guys,
>
> I have added "static-channel" param to add a new virtual channel to my rdp
> session.
> But it *does not* call onpipe callback in *IE11 *for some reason.* On
> Firefox and Chrome everything works.*
> May be I am missing some settings ... because I do not see any issues for
> IE11 regarding this functionality in jira.
>

As far as Guacamole itself is concerned, there isn't (or shouldn't be)
anything browser specific about the invocation of onpipe:

https://github.com/apache/guacamole-client/blob/00d464b51181d04e123472050833aa265dfdfee2/guacamole-common-js/src/main/webapp/modules/Client.js#L1250-L1266

In the case where you're expecting onpipe to be invoked but it isn't, have
you confirmed that the "pipe" instruction is actually being sent? What do
the logs from guacd look like when this fails vs. when it works as you
expect?

- Mike


Re: SEG FAULT ERROR after connecting it gets disconnected

2018-01-12 Thread Amarjeet Singh
Nick,

It was resolved after I changed the options to build FreeRDP 1.1.0.
I have used the following options :-

I had attached gdb to the guacd process but It's working fine. No stack
trace after  bt .

rm -rf CMakeCache.txt CMakeFiles/ cmake_install.cmake
cmake -DCMAKE_BUILD_TYPE=Debug -DWITH_SSE2=ON  -DWITH_PULSE=ON
-DWITH_CUPS=ON -DWITH_PCSC=ON -DWITH_JPEG=ON -DWITH_ALSA=ON
-DWITH_FFMPEG=ON -DWITH_XCURSOR=ON -DWITH_XV:BOOL=ON -DWITH_XKBFILE:BOOL=ON
-DWITH_XINERAMA:BOOL=ON -DWITH_XEXT:BOOL=ON -DWITH_X11:BOOL=ON
-DSTATIC_CHANNELS=OFF  -DSHARED_CHANNELS=ON
-DCMAKE_INSTALL_PREFIX=/usr/local -L


Thanks and Regards,
Amarjeet Singh

On Thu, Jan 11, 2018 at 6:15 AM, Nick Couchman  wrote:

>
> On Wed, Jan 10, 2018 at 04:51 Amarjeet Singh  wrote:
>
>> Hi Team,
>>
>>
>> I am getting the following error  in guacd logs:-
>>
>>>
>>>
>>> *Jan 10 04:47:17 localhost kernel: guacd[27423]: segfault at 0 ip
>>> 7f114a898036 sp 7f1136305b18 error 4 in libc-2.17.so
>>> [7f114a763000+1b8000]*
>>> Jan 10 04:47:17 localhost guacd[27416]: Connection
>>> "$f3eb6922-faea-46ae-b305-701c29deb2e7" removed.
>>> Jan 10 04:47:17 localhost guacd: guacd[27416]: INFO:#011Connection
>>> "$f3eb6922-faea-46ae-b305-701c29deb2e7" removed.
>>
>>
>>
>> Guacamole Version : 0.9.13 , FreeRDP version : 1.1.0 , Centos 7
>>
>> It is disconnecting after connecting the RDP session. Please help me to
>> resolve the above.
>>
>> Thanks and Regards,
>> Amarjeet Singh
>>
> Can you run with gdb to get the full stack trace?
>
> -Nick
>


Do Guacamole RDP supoprts touch screens.

2018-01-12 Thread Amarjeet Singh
Hi Team,


Do Guacamole RDP supports touch screens as well ?
If yes, What is the configurations required to make it work ?
I have tested on the touch monitor where it was not working.

Thanks and Regards,
Amarjeet Singh


Seamless Clipboard Redirection from Local to Remote Desktop

2018-01-12 Thread Amarjeet Singh
Hi Team,


This is an important feature as users do  forget Ctrl+Shift+Alt  together
to open the Menu and paste the data on the clipboard menu and then paste
again on the Remote desktop.

*My Suggestions are as follows :- *

1. After more debugging I have noticed that these functions take lot of
time to process if buffer size if large ( copying or pasting large amount
of data ).


   1.
*__encode_utf8 *
   2.
*__append_utf8 *
   3.
*array_writer.sendData(__encode_utf8(text)); *
   4. *__decode_utf8*

2. There are many function in Guacamole Javascript which are independent of
user interface elements, such as the DOM and common JS functions like
getElementById where we can use Webworker to improve the performance of
Guacamole.

3. On Paste event we can get the data from the Local Clipboard and send it
to the Remote Server so that Remote server also synced with the Local
Server == And then send the Ctrl + V keys to paste the CLipboard data.

4. On Copy event We are getting the data from the remote Clipboard and same
we can send it the Local Clipboard using the Copy event to make both the
local and remote clipboard synced.

5. Main task is to sync the Local and remote Clipboard before copying and
pasting data.

*My Queries  are as follows :- *


3. Can't we send plain data so that we don't have to decode or encode the
data in Clipboard scenario as it can increase the performance ?


4. Can't we make a ajax request to get the plain data which is sent by
remote server { on copy event }. We can save the data in guacamole server
when we receive data from remote server and on copy event fire an ajax
request ).


I had already done few change in the JavaScript code to make it work.
It is *working
in Chrome* only. Microsoft Edge hangs and IE ( issues while updating the
local clipboard ).

If anyone has any suggestions, Please share in this thread.



Thanks and Regards,

Amarjeet Singh