Re: keyboard translation

2019-06-13 Thread Nick Couchman
On Thu, Jun 13, 2019 at 12:32 PM Manoj Patil  wrote:

> dear,
>
> in my old setup i have a issue of Guacamole Server (192.168.80.162) ->
> Linux Desktop (192.168.80.162) xrdp -> x11rdp(127.0.0.1) -> problem with
> keyboard translation.
>

You'll need to be more descriptive about what problem you're having.

-Nick


Re: Guacamole 1.0.0 with Radius and MySQL: Step-by-step for Linux newbies

2019-06-13 Thread drhy
Improved the documentation of the Sample RDP Connection in the First Post.

-David



--
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



keyboard translation

2019-06-13 Thread Manoj Patil
dear,

in my old setup i have a issue of Guacamole Server (192.168.80.162) -> Linux 
Desktop (192.168.80.162) xrdp -> x11rdp(127.0.0.1) -> problem with keyboard 
translation.

Re: Installation script

2019-06-13 Thread Manoj Patil
both site are not run in office network .

> On 13-Jun-2019, at 4:33 AM, ivanmarcus  wrote:
> 
> If the primary site doesn't work for you, and Mike's suggestion doesn't 
> reveal anything, there appear to be several mirrors that may be accessible 
> and provide what you need, here's a couple:
> 
> http://apachemirror.wuchna.com/guacamole/1.0.0/source/ 
> 
> http://apache.mirror.iweb.com/guacamole/1.0.0/source/ 
> 
> 
> On 13/06/2019 5:56 a.m., Mike Jumper wrote:
>> No. I don't believe the apache.org  servers block any 
>> IPs, and your logs specifically indicate it connected.
>> 
>> Maybe wget has a verbose option that would help see what isn't working on 
>> your end?
>> 
>> - Mike
>> 
>> On Wed, Jun 12, 2019, 09:26 Manoj Patil > > wrote:
>> i think my ip is block by apache.org ??server
>> 
>>> On 12-Jun-2019, at 3:43 PM, Manoj Patil >> > wrote:
>>> 
>>> ??have issue to installation
>>> 
>>> https://apache.org/dyn/closer.cgi?action=download=guacamole/1.0.0/source/guacamole-server-1.0.0.tar.gz
>>>  
>>> 
>>> Resolving??apache.org ??(apache.org 
>>> )... 40.79.78.1, 95.216.24.32
>>> Connecting to??apache.org ??(apache.org 
>>> )|40.79.78.1|:443... connected.
>>> 
>>> Unable to establish SSL connection.
>>> 
>>> 
 On 12-Jun-2019, at 12:25 AM, Mike Jumper >>> > wrote:
 
 On Tue, Jun 11, 2019 at 11:49 AM Manoj Patil >>> > wrote:
 dear,
 
 I found the script on below l
 
 wget??https://raw.githubusercontent.com/Zer0CoolX/guacamole-install-rhel/master/guac-install.sh
  
 
 
 
 but when i am trying to install it on lentos 7.6 it raised error
 
 Downloading Guacamole Packages
 -Downloading Guacamole Server package for installation... [-FAILED-]
 
 %%% ERROR (Script Failed) | Line 1198 | Command: 
 wget??https://apache.org/dyn/closer.cgi?action=download=guacamole/1.0.0/source/guacamole-server-1.0.0.tar.gz
  
 ??-O
  guacamole-server-1.0.0.tar.gz | Exit code: 4 %%%
 
 From the wget manpage:
 
 EXIT STATUS
 ?? ?? ?? ??Wget may return one of several error codes if it encounters 
 problems.
 
 ?? ?? ?? ??0 ?? No problems occurred.
 ?? ?? ?? ??1 ?? Generic error code.
 ?? ?? ?? ??2 ?? Parse error---for instance, when parsing command-line 
 options, the .wgetrc or .netrc...
 ?? ?? ?? ??3 ?? File I/O error.
 ?? ?? ?? ??4 ?? Network failure.
 ?? ?? ?? ??...
 
 - Mike
>>> 
>> 
> 



Re: Unable to specify upload directory in file stream

2019-06-13 Thread Lukáš Raška
Hi,

st 12. 6. 2019 v 19:51 odesílatel Mike Jumper  napsal:

> On Wed, Jun 12, 2019, 09:17 Lukáš Raška  wrote:
>
>> Hello,
>> so after digging through guacd source, I found out it can be controller
>> via 482201 console code,
>>
>
> Or via the guacctl utility provided to send those codes:
>
> https://github.com/apache/guacamole-server/blob/master/bin/guacctl
>
>
Yup, I noticed that and tested the functionality with guacctl so I don't
have to type those codes myself.



> but it seems it's not configurable via protocol API and seems to affect
>> sftp file transport (couldn't see it in guac_rdp_upload_file_handler,
>> but haven't tested on Windows yet).
>>
>> Are there any plans to unify this behaviour (maybe allow setting the
>> directory with custom protocol and use it for other transports as well)?
>>
>
> The Guacamole protocol does allow for uploading to specific directories
> leveraging the filesystem object. You can see this done in practice in the
> file browser within the Guacamole menu.
>
> Quick fix for my usecase is to ignore filesystem->upload_path in
>> guac_common_ssh_sftp_handle_file_stream, but that does make it dependent on
>> this non-upstream change.
>>
>
> If you are stripping away the code that ensures paths are not included in
> the uploaded filename, you may well be introducing a security vulnerability
> that will allow users to write files anywhere on disk. Upload location is
> intentionally tightly controlled.
>
>
Yeah, that was why I wanted to avoid this in first place. It could be very
easy to introduce some security issue with seemingly irrelevant changes.



> Or is there any other option how to set the upload_path variable which I'm
>> missing?
>>
>
> It's done through the filesystem object and "put" streams:
>
>
> http://guacamole.apache.org/doc/guacamole-common-js/Guacamole.Client.html#event:onfilesystem
>
> http://guacamole.apache.org/doc/guacamole-common-js/Guacamole.Object.html
>
> (See createOutputStream() in particular)
>
> Underlying, low-level protocol:
>
>
> http://guacamole.apache.org/doc/gug/protocol-reference.html#filesystem-object-instruction
>
>
> http://guacamole.apache.org/doc/gug/protocol-reference.html#put-object-instruction
>
> The nature of object stream names is described for "get":
>
>
> http://guacamole.apache.org/doc/gug/protocol-reference.html#get-object-instruction
>
>
Thanks a lot, that works like a charm. createOutputStream() handles the
stream creation, so our backend can now send chunks with blob instruction.



> - Mike
>
>

-- 
Best Regards

Lukáš Raška


Re: Firefox client and Guacamole

2019-06-13 Thread Vieri
 On Friday, June 7, 2019, 7:30:07 PM GMT+2, Mike Jumper  
wrote: 
>
> We have a test page for just the keyboard event handling which can be used to 
> verify whether things are not behaving as expected in the client. Try testing 
> against that with the affected browser and see whether you see 
> the same issue:

http://guacamole.apache.org/pub/tests/guac/keyboard-test.html

No issues on this test page. I get the "keyboard issue" in the same FF instance 
while everything works smoothly on this test page (well, I'm just assuming it's 
a keyboard issue...).

It should be protocol-independent as it also happens with telnet. However, I am 
getting the segfault each time this happens.

> I'd recommend rebuilding 

BTW I'm using guacamole-client from GIT but guacamole-server from "stable 
release" 1.0.0. Could this be an issue?

Vieri

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



Re: Screen Resolution

2019-06-13 Thread Nick Couchman
On Thu, Jun 13, 2019 at 1:41 AM Amarjeet Singh  wrote:

> I was facing the similar issue.
>
> FreeRDP 1.0.2 doesn't support display update virtual channel.
>
> I also tried using 1.1 and 1.2 releases of FreeRDP but it is not
> compaitable with guacamole server.
>

This is not true - Guacamole Server should compile perfectly fine with both
FreeRDP 1.1 and 1.2, though there is no official 1.2 release, just a git
branch.  It is not compatible with 2.0, yet.

-Nick

>


Re: Automating creation of users and connections

2019-06-13 Thread Adam Thorn

On 12/06/2019 20:56, DmitriyL wrote:

I have successfully deployed Guacamole 1.0.0, and now looking into automating
some of the tasks for adding users & connections. For config storage I have
gone with Postgres, so the idea is to run sql commands against the DB. I
have reviewed the documentation
(https://guacamole.apache.org/doc/gug/jdbc-auth.html#jdbc-auth-schema) and
while I've had some success with writing scripts I'm very new to sql so it's
been a struggle. Is there a repo with SQL scripts for managing common tasks
in Guacamole DB? Thank you.


Here's a quick description of my php-based solution. I don't think it 
works verbatim on Guacamole 1.0.0 due to some minor schema updates since 
I wrote it, but it might give you some useful pointers in conjunction 
with the schema documentation you linked to (e.g. there might be some 
new fields you need to set to sensible 'default' values)


http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/Guacamole-SQL-queries-td4411.html#a4423


Adam

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



Re: Screen Resolution

2019-06-13 Thread Goran
I'm sorry, Devuan is not as updated as Debian. Debian-testing is using
2.0.0 and Devuan-testing is using 1.1.0. I don't know why there is a
version missmatch. It shouldn't be. So I did not used 2.0.0 but I used
1.1.0. Sorry again for my fault.

Am Do., 13. Juni 2019 um 08:26 Uhr schrieb Amarjeet Singh
:
>
> Have you done any change in  Guacamole-Server ?
>
> It is not compaitable with FreeRDP 2.0.0.
>
> Guacamole Server fails to compile with FreeRDP Version 2.0.0
>
>
>
> On Thu, Jun 13, 2019 at 11:45 AM Goran  wrote:
>>
>> The version of FreeRDP in testing is
>> /usr/lib/x86_64-linux-gnu/libfreerdp2.so.2.0.0
>>
>> Am Do., 13. Juni 2019 um 08:01 Uhr schrieb Goran :
>> >
>> > I have installed Devuan Testing (Debian Testing without systemd). I'm 
>> > using Guacamole 1.1.0 via git repository.
>> > Resize via re-login is good. Auto-resize while staying logged in fails 
>> > sometimes.
>> >
>> > [ send by mobile device ]
>> >
>> > Amarjeet Singh  schrieb am Do., 13. Juni 2019, 07:41:
>> >>
>> >> I was facing the similar issue.
>> >>
>> >> FreeRDP 1.0.2 doesn't support display update virtual channel.
>> >>
>> >> I also tried using 1.1 and 1.2 releases of FreeRDP but it is not 
>> >> compaitable with guacamole server.
>> >>
>> >> In order to resolve the above I had to integrate display update virtual 
>> >> channel support in FreeRDP 1.0.2 version and It is working fine in all 
>> >> the browsers.
>> >>
>> >> Support of display-update is already there in Guacamole. Support of 
>> >> FreeRDP 2.0.0 will be added in guacamole in the coming release which will 
>> >> resolve this issue as well.
>> >>
>> >> On Thu, Jun 13, 2019 at 3:54 AM Nick Couchman  wrote:
>> >>>
>> >>> On Tue, Jun 11, 2019 at 5:22 PM Goran  wrote:
>> 
>>  Param resize-method=display-update does not work on fullsizing the
>>  browser window. It resizes but not to full size.
>> 
>>  resize-method=reconnect does it's job but is uncomfy.
>> 
>>  Does someone has a simillar problem?
>> >>>
>> >>>
>> >>> What O/S are you running guacd on?  Depending on the version of the 
>> >>> FreeRDP libraries you have installed, there may be issues with this - I 
>> >>> think this support was introduced in the 1.1 or 1.2 release of FreeRDP, 
>> >>> so if your distro uses 1.0 it may lack that support.
>> >>>
>> >>> -Nick
>>
>> -
>> To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org
>> For additional commands, e-mail: user-h...@guacamole.apache.org
>>

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



Re: Screen Resolution

2019-06-13 Thread Amarjeet Singh
Have you done any change in  Guacamole-Server ?

It is not compaitable with FreeRDP 2.0.0.

Guacamole Server fails to compile with FreeRDP Version 2.0.0



On Thu, Jun 13, 2019 at 11:45 AM Goran  wrote:

> The version of FreeRDP in testing is
> /usr/lib/x86_64-linux-gnu/libfreerdp2.so.2.0.0
>
> Am Do., 13. Juni 2019 um 08:01 Uhr schrieb Goran <
> sendmailtogo...@gmail.com>:
> >
> > I have installed Devuan Testing (Debian Testing without systemd). I'm
> using Guacamole 1.1.0 via git repository.
> > Resize via re-login is good. Auto-resize while staying logged in fails
> sometimes.
> >
> > [ send by mobile device ]
> >
> > Amarjeet Singh  schrieb am Do., 13. Juni 2019,
> 07:41:
> >>
> >> I was facing the similar issue.
> >>
> >> FreeRDP 1.0.2 doesn't support display update virtual channel.
> >>
> >> I also tried using 1.1 and 1.2 releases of FreeRDP but it is not
> compaitable with guacamole server.
> >>
> >> In order to resolve the above I had to integrate display update virtual
> channel support in FreeRDP 1.0.2 version and It is working fine in all the
> browsers.
> >>
> >> Support of display-update is already there in Guacamole. Support of
> FreeRDP 2.0.0 will be added in guacamole in the coming release which will
> resolve this issue as well.
> >>
> >> On Thu, Jun 13, 2019 at 3:54 AM Nick Couchman  wrote:
> >>>
> >>> On Tue, Jun 11, 2019 at 5:22 PM Goran 
> wrote:
> 
>  Param resize-method=display-update does not work on fullsizing the
>  browser window. It resizes but not to full size.
> 
>  resize-method=reconnect does it's job but is uncomfy.
> 
>  Does someone has a simillar problem?
> >>>
> >>>
> >>> What O/S are you running guacd on?  Depending on the version of the
> FreeRDP libraries you have installed, there may be issues with this - I
> think this support was introduced in the 1.1 or 1.2 release of FreeRDP, so
> if your distro uses 1.0 it may lack that support.
> >>>
> >>> -Nick
>
> -
> To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org
> For additional commands, e-mail: user-h...@guacamole.apache.org
>
>


Re: Screen Resolution

2019-06-13 Thread Goran
The version of FreeRDP in testing is
/usr/lib/x86_64-linux-gnu/libfreerdp2.so.2.0.0

Am Do., 13. Juni 2019 um 08:01 Uhr schrieb Goran :
>
> I have installed Devuan Testing (Debian Testing without systemd). I'm using 
> Guacamole 1.1.0 via git repository.
> Resize via re-login is good. Auto-resize while staying logged in fails 
> sometimes.
>
> [ send by mobile device ]
>
> Amarjeet Singh  schrieb am Do., 13. Juni 2019, 07:41:
>>
>> I was facing the similar issue.
>>
>> FreeRDP 1.0.2 doesn't support display update virtual channel.
>>
>> I also tried using 1.1 and 1.2 releases of FreeRDP but it is not compaitable 
>> with guacamole server.
>>
>> In order to resolve the above I had to integrate display update virtual 
>> channel support in FreeRDP 1.0.2 version and It is working fine in all the 
>> browsers.
>>
>> Support of display-update is already there in Guacamole. Support of FreeRDP 
>> 2.0.0 will be added in guacamole in the coming release which will resolve 
>> this issue as well.
>>
>> On Thu, Jun 13, 2019 at 3:54 AM Nick Couchman  wrote:
>>>
>>> On Tue, Jun 11, 2019 at 5:22 PM Goran  wrote:

 Param resize-method=display-update does not work on fullsizing the
 browser window. It resizes but not to full size.

 resize-method=reconnect does it's job but is uncomfy.

 Does someone has a simillar problem?
>>>
>>>
>>> What O/S are you running guacd on?  Depending on the version of the FreeRDP 
>>> libraries you have installed, there may be issues with this - I think this 
>>> support was introduced in the 1.1 or 1.2 release of FreeRDP, so if your 
>>> distro uses 1.0 it may lack that support.
>>>
>>> -Nick

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



Re: Screen Resolution

2019-06-13 Thread Goran
I have installed Devuan Testing (Debian Testing without systemd). I'm using
Guacamole 1.1.0 via git repository.
Resize via re-login is good. Auto-resize while staying logged in fails
sometimes.

[ send by mobile device ]

Amarjeet Singh  schrieb am Do., 13. Juni 2019, 07:41:

> I was facing the similar issue.
>
> FreeRDP 1.0.2 doesn't support display update virtual channel.
>
> I also tried using 1.1 and 1.2 releases of FreeRDP but it is not
> compaitable with guacamole server.
>
> In order to resolve the above I had to integrate display update virtual
> channel support in FreeRDP 1.0.2 version and It is working fine in all the
> browsers.
>
> Support of display-update is already there in Guacamole. Support of
> FreeRDP 2.0.0 will be added in guacamole in the coming release which will
> resolve this issue as well.
>
> On Thu, Jun 13, 2019 at 3:54 AM Nick Couchman  wrote:
>
>> On Tue, Jun 11, 2019 at 5:22 PM Goran  wrote:
>>
>>> Param resize-method=display-update does not work on fullsizing the
>>> browser window. It resizes but not to full size.
>>>
>>> resize-method=reconnect does it's job but is uncomfy.
>>>
>>> Does someone has a simillar problem?
>>>
>>
>> What O/S are you running guacd on?  Depending on the version of the
>> FreeRDP libraries you have installed, there may be issues with this - I
>> think this support was introduced in the 1.1 or 1.2 release of FreeRDP, so
>> if your distro uses 1.0 it may lack that support.
>>
>> -Nick
>>
>