Re: EXT: Re: Chrome copy-paste issue

2020-02-27 Thread McRoy, Jeffrey (GE Healthcare)
Thanks Mike. My Chrome is set for "Ask when a site wants to see text and images 
copied to the clipboard". I also have no block sites added to the blacklist.

-Jeff

From: Mike Jumper 
Sent: Wednesday, February 26, 2020 9:13 PM
To: user@guacamole.apache.org 
Subject: Re: EXT: Re: Chrome copy-paste issue

On Wed, Feb 26, 2020 at 12:47 PM McRoy, Jeffrey (GE Healthcare) 
mailto:jeffrey.mc...@ge.com>> wrote:
Hi Nick,

Thanks for the reply. I don't get a pop-up. I am using Guac 1.0.0. Copy-paste 
from inside the browser window that the Gauc display is in works just fine. It 
only fails when I copy from outside the browser and try to paste into the 
browser.

If clipboard isn't working but you're not seeing the pop-up at all, it sounds 
like clipboard permission has already been denied, perhaps by accident. Do you 
see anything relevant within chrome://settings/content/clipboard ?

- Mike



Re: EXT: Re: Chrome copy-paste issue

2020-02-26 Thread McRoy, Jeffrey (GE Healthcare)
Hi Nick,

Thanks for the reply. I don't get a pop-up. I am using Guac 1.0.0. Copy-paste 
from inside the browser window that the Gauc display is in works just fine. It 
only fails when I copy from outside the browser and try to paste into the 
browser.

Regards,
Jeff

From: Nick Couchman 
Sent: Wednesday, February 26, 2020 2:34 PM
To: user@guacamole.apache.org 
Subject: EXT: Re: Chrome copy-paste issue

On Wed, Feb 26, 2020 at 8:28 AM McRoy, Jeffrey (GE Healthcare) 
mailto:jeffrey.mc...@ge.com>> wrote:
Hi Everyone,

Has anyone experienced an issue with copy-paste using Chrome 80.0 in Mac OS 
where a copy outside the browser window will not paste into the ssh/telnet 
terminal?


Do you get the pop-up asking you to allow the site to access the clipboard?  
What version of Guacamole are you running?

-Nick


Chrome copy-paste issue

2020-02-26 Thread McRoy, Jeffrey (GE Healthcare)
Hi Everyone,

Has anyone experienced an issue with copy-paste using Chrome 80.0 in Mac OS 
where a copy outside the browser window will not paste into the ssh/telnet 
terminal?

Regards,
Jeff


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


guacd timeout waiting for a connection

2019-02-21 Thread McRoy, Jeffrey (GE Healthcare)
Hi Everyone,

 

Is it possible to set the amount of time guacd waits for a connection using the 
protocols it supports (VNC, Telnet, etc.)?

 

Regards,

Jeff

 



smime.p7s
Description: S/MIME cryptographic signature


Re: "Error handling message from VNC server" in Debian based builds

2018-09-19 Thread McRoy, Jeffrey (GE Healthcare)
Sounds like you setup an Ubuntu container to run the VNC server in. So, in 
Linux the log files typically go in the directory /var/log. You could look 
there. Try this to look for files with vnc entries: grep vnc /var/log/* -R | 
less

 

You could also try tailing the messages log file in Ubuntu while you try to 
connect to the vnc server: tail -f /var/log/messages.log

 

It might help to see what the vnc server is logging when you try to connect 
with the client.

 

 

Regards,

-Jeff

 

 

 

From: Ou Changkun 
Reply-To: "user@guacamole.apache.org" 
Date: Wednesday, September 19, 2018 at 2:44 PM
To: "user@guacamole.apache.org" 
Subject: EXT: Re: "Error handling message from VNC server" in Debian based 
builds

 

Hi Jeffrey, 

 

Could you maybe tell where is the location of VNC log files and what exactly 
you want for log?

 

Here is all I get from `docker log` command:

 

USER_ID: 1000, GROUP_ID: 0

nss_wrapper location: /usr/lib/libnss_wrapper.so

 

-- update chromium-browser.init --

 

... set window size 1280 x 1024 as chrome window size!

 

 

-- change VNC password  --

 

-- start noVNC  

 

-- start VNC server 

remove old vnc locks to be a reattachable container

start vncserver with param: VNC_COL_DEPTH=24, VNC_RESOLUTION=1280x1024

...

start window manager

...

 

 

-- VNC environment started --

 

VNCSERVER started on DISPLAY= :1

=> connect via VNC viewer with 172.16.250.11:5901



On Sep 19, 2018, at 20:52, McRoy, Jeffrey (GE Healthcare) 
 wrote:

 

Hi Changkun,

 

Could you attach the log from the VNC server?

 

 



smime.p7s
Description: S/MIME cryptographic signature


Re: "Error handling message from VNC server" in Debian based builds

2018-09-19 Thread McRoy, Jeffrey (GE Healthcare)
Hi Changkun,

 

Could you attach the log from the VNC server?

 

Regards,

-Jeff

 

From: Ou Changkun 
Reply-To: "user@guacamole.apache.org" 
Date: Wednesday, September 19, 2018 at 9:16 AM
To: "user@guacamole.apache.org" 
Subject: EXT: "Error handling message from VNC server" in Debian based builds 

 

Hey guys,

 

I installed guacamole from source code on a Debian stretch based container. The 
browser display automatically froze after operates a little bit when I use VNC 
protocol. The cause is different from GUACAMOLE-620: guacd[9]: ERROR:
Error handling message from VNC server.

 

This behavior can be reproduced by the following steps:

 

1. Build docker image, say guacd-master, from guacamole-server master 
332e187813595fc2e769f3e29c0582b7ec726ea1.

2. Use consol/ubuntu-xfce-vnc:1.3.0 create a container as VNC server.

3. Connect to the VNC container.

4. When display appears, open a file manager, drag the window and move very 
fast. After few seconds, the display froze and connection is observed as an 
exit status.

 

I checked the source code of VNC protocol on guacamole-server side. It seems 
because of `HandleRFBServerMessage` failed without any useful context 
information, since libvncserver-dev is installed via apt-get, it seems hard to 
debug on the VNC side.

 

What could be wrong here? Is there any conflict between the VNC server and 
guacamole VNC protocol plugin? How to properly solve this problem?

 

Thank you in advance.

 

Best,

Changkun

 

 

 

 

Complete outputs:

===

guacd[7]: INFO: Guacamole proxy daemon (guacd) version 1.0.0 started

guacd[7]: DEBUG:Successfully bound socket to host 0.0.0.0, port 4822

guacd[7]: INFO: Listening on host 0.0.0.0, port 4822

guacd[7]: INFO: Creating new client for protocol "vnc"

guacd[7]: INFO: Connection ID is "$3fdc295a-d82f-4f81-97fc-a483b591944e"

guacd[9]: INFO: Cursor rendering: local

guacd[9]: DEBUG:Parameter "swap-red-blue" omitted. Using default value 
of 0.

guacd[9]: DEBUG:Parameter "read-only" omitted. Using default value of 0.

guacd[9]: DEBUG:Parameter "color-depth" omitted. Using default value of 
0.

guacd[9]: DEBUG:Parameter "dest-port" omitted. Using default value of 0.

guacd[9]: DEBUG:Parameter "encodings" omitted. Using default value of 
"zrle ultra copyrect hextile zlib corre rre raw".

guacd[9]: DEBUG:Parameter "autoretry" omitted. Using default value of 0.

guacd[9]: DEBUG:Parameter "reverse-connect" omitted. Using default 
value of 0.

guacd[9]: DEBUG:Parameter "listen-timeout" omitted. Using default value 
of 5000.

guacd[9]: DEBUG:Parameter "enable-audio" omitted. Using default value 
of 0.

guacd[9]: DEBUG:Parameter "enable-sftp" omitted. Using default value of 
0.

guacd[9]: DEBUG:Parameter "sftp-hostname" omitted. Using default value 
of "172.16.250.11".

guacd[9]: DEBUG:Parameter "sftp-host-key" omitted. Using default value 
of "22".

guacd[9]: DEBUG:Parameter "sftp-port" omitted. Using default value of 
"".

guacd[9]: DEBUG:Parameter "sftp-password" omitted. Using default value 
of "".

guacd[9]: DEBUG:Parameter "sftp-passphrase" omitted. Using default 
value of "".

guacd[9]: DEBUG:Parameter "sftp-root-directory" omitted. Using default 
value of "/".

guacd[9]: DEBUG:Parameter "sftp-server-alive-interval" omitted. Using 
default value of 0.

guacd[9]: DEBUG:Parameter "recording-name" omitted. Using default value 
of "recording".

guacd[9]: DEBUG:Parameter "recording-exclude-output" omitted. Using 
default value of 0.

guacd[9]: DEBUG:Parameter "recording-exclude-mouse" omitted. Using 
default value of 0.

guacd[9]: DEBUG:Parameter "recording-include-keys" omitted. Using 
default value of 0.

guacd[9]: DEBUG:Parameter "create-recording-path" omitted. Using 
default value of 0.

guacd[9]: INFO: User "@c38445a9-288e-4ec2-b09b-64ec1b0d337c" joined connection 
"$3fdc295a-d82f-4f81-97fc-a483b591944e" (1 users now present)

guacd[9]: ERROR:Error handling message from VNC server.

guacd[9]: INFO: Internal VNC client disconnected

guacd[9]: INFO: User "@c38445a9-288e-4ec2-b09b-64ec1b0d337c" disconnected (0 
users remain)

guacd[9]: INFO: Last user of connection "$3fdc295a-d82f-4f81-97fc-a483b591944e" 
disconnected

guacd[9]: DEBUG:Requesting termination of client...

guacd[9]: DEBUG:Client terminated successfully.

guacd[7]: INFO: Connection "$3fdc295a-d82f-4f81-97fc-a483b591944e" removed.



smime.p7s
Description: S/MIME cryptographic signature


Re: Protocol plugin error messages at the Javascript client level

2018-08-07 Thread McRoy, Jeffrey (GE Healthcare)
For testing the response to different kinds of connection issues I implemented 
the FailoverGuacamoleSocket class to intercept errors. I have come across a 
scenario where a telnet socket is being made, but the telnet server stalls and 
never prompts for a login. In that case the connection times out, but there 
doesn’t seem to be an exception thrown on the guac side.

 

-Jeff

 

 

try{

…

GuacamoleSocket socket = new ConfiguredGuacamoleSocket(

new InetGuacamoleSocket(tunnelRequest.getGateWayHost(), 
tunnelRequest.getGateWayPort()), guacConfig);

 

FailoverGuacamoleSocket failoverGuacamoleSocket = new 
FailoverGuacamoleSocket(socket);

   

tunnel = new SimpleGuacamoleTunnel(failoverGuacamoleSocket);

 

} catch (GuacamoleUpstreamException ex) {

LOGGER.error("GuacamoleUpstreamException", ex);

LOGGER.error("Error occurred while establishing Guacamole connection", ex);

} catch (GuacamoleException ex) {

LOGGER.error("GuacamoleException", ex);

LOGGER.error("Error occurred while establishing Guacamole connection", ex);

throw RemoteConnectException.createUnableToConnectToGuacamoleException(ex);

} catch (Exception ex) {

LOGGER.error("Exception", ex);

throw RemoteConnectException.createUnableToConnectToGuacamoleException(ex);

}

 

LOGGER.debug("Is Tunnel Open: " + tunnel.isOpen());

LOGGER.debug("Successfully created gaucamole tunnel");

 

 

From: Mike Jumper 
Reply-To: "user@guacamole.apache.org" 
Date: Thursday, August 2, 2018 at 9:14 PM
To: "user@guacamole.apache.org" 
Subject: EXT: Re: Protocol plugin error messages at the Javascript client level

 

On Thu, Aug 2, 2018, 13:18 McRoy, Jeffrey (GE Healthcare) 
 wrote:

Hi Everyone,

 

At the Javascript client level, is it possible to get error messages from the 
protocol plugins? GuacamoleSocket will return errors about making the 
connection to the server, but can you programmatically determine if the server 
was able to connect to the remote system and login successfully at the 
Javascript level?

 

Yes. Errors are communicated via the Guacamole protocol using the "error" 
instruction which results in the Guacamole.Client onerror function being 
invoked:

 

http://guacamole.apache.org/doc/gug/protocol-reference.html#error-instruction

 

http://guacamole.apache.org/doc/guacamole-common-js/Guacamole.Client.html#event:onerror

 

You would need to provide a handler for onerror to handle such failures within 
JavaScript.

 

If you need to handle these failures on the server side (to failover to an 
alternative connection, for example), the FailoverGuacamoleSocket class can be 
used to transparently intercept errors that occur early in the connection and 
switch over to a different connection:

 

http://guacamole.apache.org/doc/guacamole-common/org/apache/guacamole/protocol/FailoverGuacamoleSocket.html

 

- Mike

 



smime.p7s
Description: S/MIME cryptographic signature


Protocol plugin error messages at the Javascript client level

2018-08-02 Thread McRoy, Jeffrey (GE Healthcare)
Hi Everyone,

 

At the Javascript client level, is it possible to get error messages from the 
protocol plugins? GuacamoleSocket will return errors about making the 
connection to the server, but can you programmatically determine if the server 
was able to connect to the remote system and login successfully at the 
Javascript level?

 

Thanks,

Jeff

 



smime.p7s
Description: S/MIME cryptographic signature


Guacamole load testing

2018-07-25 Thread McRoy, Jeffrey (GE Healthcare)
Hi Everyone,

 

I was using the simple Guacamole example client to attempt some load testing 
and got the following results. I was wondering if anyone else has tried similar 
load testing with similar results.

 

I was able to open 32 simultaneous connections in Chrome, but when I tried to 
open more, I received the connection error below. When I closed one of the 32 
open connections, I was able to open a new connection in Chrome, but I was 
always capped at 32. When I launched a new instance of Chrome, I was still 
unable to connect while I had the original 32 connections open. I was able to 
launch a new instance of Firefox, and open an additional 40 connections in 
Firefox while keeping the 32 Chrome connections open. Once I got to 40 
connections in Firefox, my system slowed down significantly and I had to close 
Firefox. I’m fairly sure Chrome will allow up to 255 web socket connections, so 
not sure what the limit is I’m hitting.

 

Thanks,

Jeff

 

 

 



smime.p7s
Description: S/MIME cryptographic signature


Re: 1 tiny thing

2018-04-30 Thread McRoy, Jeffrey (GE Healthcare)
Hi,

The startup script for the server will go wherever you specify during 
configuration prior to build and install. For example, this will put the 
startup script in /etc/init.d:
./configure --with-init-dir=/etc/init.d

I believe the guacd executable typically goes into /usr/local/sbin by default.

When you execute "make install" it will indiciate where the complied libraries 
(VNC, SSH, etc.) are going in its output. For example...
# make install
Making install in src/libguac
make[1]: Entering directory `/home/zhz/guacamole/guacamole-server/src/libguac'
make[2]: Entering directory `/home/zhz/guacamole/guacamole-server/src/libguac'
...
--
Libraries have been installed in:
   /usr/local/lib
 
This will typically be /usr/local/lib or /usr/local/lib64 depending on the your 
OS being 64-bit or not.


Hope that helps.

Regards,
Jeff


On 4/30/18, 10:48 AM, "mdbarber"  wrote:

Have done a few test installs for different scenarios and it suddenly 
occurred to me I hadn't actually seen a recommendation or explicit 
directive as to where the server should be installed to...is there any 
best practice for this?   /etc/guacamole /home/user/guacamole-server is 
it OS dependant? ~(using ubuntu 16.04lts)
regards
mdb

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus




smime.p7s
Description: S/MIME cryptographic signature


Re: 答复: can guacamole record the console logs of remoted computer?

2018-04-17 Thread McRoy, Jeffrey (GE Healthcare)
Hi Oliver,

 

Does the user running Guacamole (guacd) have write permissions to 
/home/console_log/?

You could try changing where the session capture file is sent to a location you 
know the user has write permissions.

 

GuacamoleConfiguration config = new GuacamoleConfiguration();

config.setProtocol("ssh");

config.setParameter("hostname", "x.x.x.x");

config.setParameter("create-typescript-path", "true");

config.setParameter("typescript-path", "/path/to/user/home");

config.setParameter("typescript-name", "console_log");

 

Regards,

Jeff

 

 

From: "Oliver.Zhan" 
Reply-To: "user@guacamole.apache.org" 
Date: Tuesday, April 17, 2018 at 6:24 AM
To: "user@guacamole.apache.org" 
Subject: EXT: 答复: can guacamole record the console logs of remoted computer?

 

Mike, please hele me.

 

In the debug info .i have  found  the print :

guacd[6544]: INFO:  Typescript of terminal session will be saved to 
"/home/console_log/console_log.1". Timing file is 
"/home/console_log/console_log.1.timing".

 

but I can not found the console_log.1 in the  "/home/console_log/”

 

发件人: Oliver.Zhan [mailto:zhangjianp...@hikvision.com] 
发送时间: 2018年4月17日 18:53
收件人: user@guacamole.apache.org
主题: 答复: can guacamole record the console logs of remoted computer?

 

Mike , I have configure the  Typescript  like this:

But I can not find the console log in  /home/console_log, what is wrong?

 

 

 

发件人: Mike Jumper [mailto:mike.jum...@guac-dev.org] 
发送时间: 2018年4月17日 12:07
收件人: user@guacamole.apache.org
主题: Re: can guacamole record the console logs of remoted computer?

 

On Mon, Apr 16, 2018 at 8:09 PM, Oliver.Zhan  
wrote:

Mike, 

 

When creating a new thread, please address the list as a whole. The idea behind 
the mailing lists is to facilitate help/discussion within the entire community. 
Calling out an individual at the beginning defeats that.

 

 

can guacamole record the console logs of remoted computer? 

for example:

when I access to a computer remotely by ssh and imput some command in , can 
guacamole record the Operation Log ?

 

 

Yes, both as traditional typescripts (text) or graphically:

 

http://guacamole.apache.org/doc/gug/configuring-guacamole.html#ssh-typescripts

http://guacamole.apache.org/doc/gug/configuring-guacamole.html#ssh-recording

 

- Mike

 

 

CONFIDENTIALITY NOTICE: 

This electronic message is intended to be viewed only by the individual or 
entity to whom it is addressed. It may contain information that is privileged, 
confidential and exempt from disclosure under applicable law. Any 
dissemination, distribution or copying of this communication is strictly 
prohibited without our prior permission. If the reader of this message is not 
the intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, or if you have received this communication 
in error, please notify us immediately by return e-mail and delete the original 
message and any copies of it from your computer system. For further information 
about Hikvision company. please see our website at www.hikvision.com

 

CONFIDENTIALITY NOTICE: 

This electronic message is intended to be viewed only by the individual or 
entity to whom it is addressed. It may contain information that is privileged, 
confidential and exempt from disclosure under applicable law. Any 
dissemination, distribution or copying of this communication is strictly 
prohibited without our prior permission. If the reader of this message is not 
the intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, or if you have received this communication 
in error, please notify us immediately by return e-mail and delete the original 
message and any copies of it from your computer system. For further information 
about Hikvision company. please see our website at www.hikvision.com



smime.p7s
Description: S/MIME cryptographic signature


Re: Preconnection PDU (Hyper-V) support in Guacamole

2018-04-13 Thread McRoy, Jeffrey (GE Healthcare)
I think this is an issue with your ffmpeg build/install.

 

“/usr/bin/ld: /usr/local/lib/libavcodec.a(allcodecs.o): relocation R_X86_64_32 
against `ff_a64multi_encoder' can not be used when making a shared object; 
recompile with -fPIC”

 

Here is a great “how-to” for installing ffmpeg in CentOS 7.

https://linoxide.com/linux-how-to/install-ffmpeg-centos-7

 

 

Regards,

Jeff

 

 

From: Amarjeet Singh <amarjee...@gmail.com>
Reply-To: "user@guacamole.apache.org" <user@guacamole.apache.org>
Date: Friday, April 13, 2018 at 11:34 AM
To: "user@guacamole.apache.org" <user@guacamole.apache.org>
Subject: EXT: Re: Preconnection PDU (Hyper-V) support in Guacamole

 

Getting the below errors while compiling STABLE FREERDP 1.1 

 

Linking C shared library tsmf-client-ffmpeg-decoder.so

/usr/bin/ld: /usr/local/lib/libavcodec.a(allcodecs.o): relocation R_X86_64_32 
against `ff_a64multi_encoder' can not be used when making a shared object; 
recompile with -fPIC

/usr/local/lib/libavcodec.a: error adding symbols: Bad value

collect2: error: ld returned 1 exit status

make[2]: *** [channels/tsmf/client/ffmpeg/tsmf-client-ffmpeg-decoder.so] Error 1

make[1]: *** 
[channels/tsmf/client/ffmpeg/CMakeFiles/tsmf-client-ffmpeg-decoder.dir/all] 
Error 2

make[1]: *** Waiting for unfinished jobs

[ 68%] Building C object 
channels/tsmf/client/CMakeFiles/tsmf-client.dir/tsmf_main.c.o

[ 68%] Building C object 
channels/tsmf/client/CMakeFiles/tsmf-client.dir/tsmf_media.c.o

Linking C shared library tsmf-client.so

[ 68%] Built target tsmf-client

make: *** [all] Error 2

error: Bad exit status from /var/tmp/rpm-tmp.PHX5ZK (%build)

 

Operating System : Centos 7

 

Any suggestions ?

 

 

On Fri, Apr 13, 2018 at 9:42 PM, Amarjeet Singh <amarjee...@gmail.com> wrote:

I am trying again..

 

On Fri, Apr 13, 2018 at 9:40 PM, Amarjeet Singh <amarjee...@gmail.com> wrote:

File are there :- 

 

/usr/lib64/libfreerdp-cache.so.1.1
/usr/lib64/libfreerdp-cache.so.1.1.0
/usr/lib64/libfreerdp-client.so.1.1
/usr/lib64/libfreerdp-client.so.1.1.0
/usr/lib64/libfreerdp-codec.so.1.1
/usr/lib64/libfreerdp-codec.so.1.1.0
/usr/lib64/libfreerdp-common.so.1.1.0
/usr/lib64/libfreerdp-common.so.1.1.0-beta1
/usr/lib64/libfreerdp-core.so.1.1
/usr/lib64/libfreerdp-core.so.1.1.0
/usr/lib64/libfreerdp-crypto.so.1.1
/usr/lib64/libfreerdp-crypto.so.1.1.0
/usr/lib64/libfreerdp-gdi.so.1.1
/usr/lib64/libfreerdp-gdi.so.1.1.0
/usr/lib64/libfreerdp-locale.so.1.1
/usr/lib64/libfreerdp-locale.so.1.1.0
/usr/lib64/libfreerdp-primitives.so.1.1
/usr/lib64/libfreerdp-primitives.so.1.1.0
/usr/lib64/libfreerdp-rail.so.1.1
/usr/lib64/libfreerdp-rail.so.1.1.0
/usr/lib64/libfreerdp-utils.so.1.1

 

 

but 1.0 is not there it's 1.1

 

On Fri, Apr 13, 2018 at 9:33 PM, Amarjeet Singh <amarjee...@gmail.com> wrote:

I tried the above but still same  

 

/usr/local/lib/libguac-client-rdp.so:

linux-vdso.so.1 =>  (0x7ffd0fd8b000)

libfreerdp-core.so.1.0 => not found

libfreerdp-cache.so.1.0 => not found

libfreerdp-channels.so.1.0 => not found

libfreerdp-utils.so.1.0 => not found

libfreerdp-codec.so.1.0 => not found

libssh2.so.1 => /lib64/libssh2.so.1 (0x7fe5ebb4c000)

libssl.so.10 => /lib64/libssl.so.10 (0x7fe5eb8da000)

libcrypto.so.10 => /lib64/libcrypto.so.10 (0x7fe5eb478000)

libguac.so.12 => /usr/local/lib/libguac.so.12 (0x7fe5eb265000)

libcairo.so.2 => /lib64/libcairo.so.2 (0x7fe5eaf3d000)

    libjpeg.so.62 => /lib64/libjpeg.so.62 (0x00

 

On Fri, Apr 13, 2018 at 9:25 PM, McRoy, Jeffrey (GE Healthcare) 
<jeffrey.mc...@ge.com> wrote:

Hi Amarjeet,

 

Build FreeRDP Stable 1.1

https://github.com/FreeRDP/FreeRDP/tree/stable-1.1

https://github.com/FreeRDP/FreeRDP/wiki/Compilation

yum -y install cmake (building freerdp stable 1.1)

 

If RDP fails to be found by Guac configure - FreeRDP libraries missing fix

The problem is not that it can't find the libguac-client-rdp.so, it's that it 
can't find

the freerdp libs. So try to run ldd on the 
/usr/local/lib/libguac-client-rdp.so, and it

should have some that is not found, look for those files, and then add them 
into /etc/ld.so.conf.

Add:

/usr/local/lib64

/usr/local/lib

/usr/local/lib/freerdp

And then run ldconfig, it works after this.

 

Regards,

Jeff

 

From: Amarjeet Singh <amarjee...@gmail.com>
Reply-To: "user@guacamole.apache.org" <user@guacamole.apache.org>
Date: Friday, April 13, 2018 at 6:57 AM
To: "user@guacamole.apache.org" <user@guacamole.apache.org>
Subject: EXT: Preconnection PDU (Hyper-V) support in Guacamole

 

Hi Team, 

 

 

I am trying to connect to VM using Hyper-V

 

Below is the configurations I have used :-

 

 

rdp

2179

e59b4540-d759-4628-b449-d3791985fc8e

true

any

172.16.0.20

localhost

administrator

xyz@123

 

Re: Preconnection PDU (Hyper-V) support in Guacamole

2018-04-13 Thread McRoy, Jeffrey (GE Healthcare)
Hi Amarjeet,

 

Build FreeRDP Stable 1.1

https://github.com/FreeRDP/FreeRDP/tree/stable-1.1

https://github.com/FreeRDP/FreeRDP/wiki/Compilation

yum -y install cmake (building freerdp stable 1.1)

 

If RDP fails to be found by Guac configure - FreeRDP libraries missing fix

The problem is not that it can't find the libguac-client-rdp.so, it's that it 
can't find

the freerdp libs. So try to run ldd on the 
/usr/local/lib/libguac-client-rdp.so, and it

should have some that is not found, look for those files, and then add them 
into /etc/ld.so.conf.

Add:

/usr/local/lib64

/usr/local/lib

/usr/local/lib/freerdp

And then run ldconfig, it works after this.

 

Regards,

Jeff

 

From: Amarjeet Singh 
Reply-To: "user@guacamole.apache.org" 
Date: Friday, April 13, 2018 at 6:57 AM
To: "user@guacamole.apache.org" 
Subject: EXT: Preconnection PDU (Hyper-V) support in Guacamole

 

Hi Team, 

 

 

I am trying to connect to VM using Hyper-V

 

Below is the configurations I have used :-

 

 

rdp

2179

e59b4540-d759-4628-b449-d3791985fc8e

true

any

172.16.0.20

localhost

administrator

xyz@123

 

 

Below are the logs of guacd :- 

 

Apr  9 03:03:52 localhost guacd[16308]: Creating new client for protocol "rdp"

Apr  9 03:03:52 localhost guacd[16308]: Connection ID is 
"$f459de5a-aba4-41a7-b193-591f3b19f4e2"

Apr  9 03:03:52 localhost guacd[16320]: Security mode: ANY

Apr  9 03:03:52 localhost guacd[16320]: Installed version of FreeRDP lacks 
support for the preconnection PDU. The specified preconnection BLOB and/or ID 
will be ignored.

Apr  9 03:03:52 localhost guacd[16320]: Resize method: none

Apr  9 03:03:52 localhost guacd[16320]: User 
"@632a8d61-a110-4e7e-8726-d831bae796d3" joined connection 
"$f459de5a-aba4-41a7-b193-591f3b19f4e2" (1 users now present)

Apr  9 03:03:52 localhost guacd[16320]: Loading keymap "base"

Apr  9 03:03:52 localhost guacd[16320]: Loading keymap "en-us-qwerty"

 

FreeRDP version installed is : 1.0.2 

Guacamole-Client and Guacamole-Server : Latest version from GIT 

 

which version of FreeRDP I have to install which is also supported by Guacamole 
in order to  resolve the above  and use this feature. ?

 

 

Thanks and Regards,

Amarjeet Singh



smime.p7s
Description: S/MIME cryptographic signature


Re: how to get the xorg driver working

2018-03-12 Thread McRoy, Jeffrey (GE Healthcare)
Hi Thomas,

 

Below are some notes that might help you.

 

Regards,

Jeff

 

 

When the xorg branch of Guac is built the resulting libraries typically go to 
/usr/lib64/xorg/modules/, but this could vary by OS/xorg installation.

- (as the root user) chmod 755 /usr/lib64/xorg/modules/drivers/guac_drv*

- (as the root user) ldconfig

 

The xorg.conf file typically goes in /etc/X11/xorg.conf.d/, but this could vary 
by OS/xorg installation.

 

- Set the access permissions for the config file: chmod 644 xorg.conf

 

To allow external connections:

- Edit /usr/bin/startx script to listenarg="-listen tcp" instead of 
listenarg="-nolisten tcp"

 

The X server also uses a host-based access control list for deciding whether or

not to accept connections from clients on a particular machine. If no other

authorization mechanism is being used, this list initially consists of the host

on which the server is running as well as any machines listed in the file

/etc/Xn.hosts, where n is the display number of the server. Each line of the

file should contain either an IP Address, Internet hostname (e.g. 
expo.lcs.mit.edu) or a

DECnet hostname in double colon format (e.g. hydra::) or a complete name in the

format family:name as described in the xhost(1) manual page. There should be no

leading or trailing spaces on any lines. For example:

 

192.168.1.1

joesworkstation

corporate.company.com

star::

inet:bigcpu

local:

 

 

Determine if xauth is being used.

Procedure:

# xauth

xauth> list

 

If the above command sequence does not show any host other than the localhost, 
than xauth is not being used.

Search the system for an X*.hosts file, where "*" is a display number used to 
limit X window connections.

If no files are found, X*.hosts files are not being used. If the X*.hosts files 
contain any unauthorized hosts, this is a finding.

If both xauth and X*.hosts files are not being used, this is a finding.

 

 

To turn off xauth

- Edit /usr/bin/startx script to enable_xauth=0 instead of enable_xauth=1

 

 

To start the X Server without an X application using display 1:

startx -- :1 -ac -config /etc/X11/xorg.conf.d/xorg.conf &

(-ac shuts off access control for this instance)

 

To start the X Server with an X application usong display 1:

startx /path/to/application -- :1 -ac -config 
/etc/X11/xorg.conf.d/xorg.conf.guac

 

To start the X Server with LXDE lightweight desktop using display 0 (if 
installed):

startx /usr/bin/startlxde -display :0 -- :0 -ac -config 
/etc/X11/xorg.conf.d/xorg.conf &

 

startx must be run from the console, not from within an X session.

 

startx needs an absolute path to the program.

 

Everything before '--' is executed as a command after the server is running. 
Everything after '--' gets passed to the server.

':1' is the display name. It must be unique (default is ':0').

startx (or more accurately, the X server), searches /etc/X11/ for the file you 
specify with the -config option. For more details, run man Xorg.

 

 

How to debug X problems (Fedora)

https://fedoraproject.org/wiki/How_to_debug_Xorg_problems

 

 

 

From: Tom Astle 
Reply-To: "user@guacamole.apache.org" 
Date: Monday, March 12, 2018 at 3:45 PM
To: " user@guacamole.apache.org" 
Subject: EXT: how to get the xorg driver working

 

I recompiled Mike Jumper’s xorg branch and installed it on my CentOS 7 server

 

I placed the xorg.conf file where it typically would land, but I’m not sure how 
one starts the Xserver so that it uses the guac xorg.conf?

 

Any ideas would be most appreciated.

 


​​Thomas Astle 
System Administrator 
Red Hat Certified System Administrator 
Phone: (800)722-1082

 



smime.p7s
Description: S/MIME cryptographic signature


Re: Prevent VNC display from stretching?

2018-02-22 Thread McRoy, Jeffrey (GE Healthcare)
Hi Andrew,

If you are using the stock Gaucamole client, you can modify the default 
behavior in the javascript to prevent autoFit at startup and set the zoom 
increments to whatever you want.

In guacamole.js you will find the below. Don't foget to re-minify the 
javascript into guacamole.min.js after you make changes.


Regards,
Jeff


/**
 * Whether the Guacamole display should be scaled to fit the browser
 * window.
 *
 * @type Boolean
 */
autoFit : true,

$scope.zoomIn = function zoomIn() {
$scope.menu.autoFit = false;
$scope.client.clientProperties.autoFit = false;
$scope.client.clientProperties.scale += 0.1;
};

$scope.zoomOut = function zoomOut() {
$scope.client.clientProperties.autoFit = false;
$scope.client.clientProperties.scale -= 0.1;
};

On 2/22/18, 7:24 AM, "amlamarra"  wrote:

I'd like to disable scaling in VNC. Right now, I'm able to get the scaling
set to 100% by doing the following:
Open the Guacamole menu (press Ctrl+Alt+Shift)
Uncheck "Automatically fit to browser window" under Display
Un-maxmize browser window
Check "Automatically fit to browser window"
Uncheck "Automatically fit to browser window"

Now I'm at 100%. And those zoom buttons don't work very well either. It only
goes in increments of 10%. And if you're at 109% and zoom out, then you're
set to 99%... It just seems kinda wonky. I wasn't sure if there was anything
I can do to set scaling to 100% no matter what.



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



smime.p7s
Description: S/MIME cryptographic signature


Working with pipes

2018-02-16 Thread McRoy, Jeffrey (GE Healthcare)
Hi Everyone,

 

I’m looking at how pipes work with the Guac client. For example…

.

.

// Instantiate client, using an HTTP tunnel - tenet connection

var guac = new Guacamole.Client(

new Guacamole.HTTPTunnel("tunnel")

 );

var stream = guac.createPipeStream("text/plain", "response");

.

.

guac.onpipe = function(input_stream, mimetype, name) {

console.log("onpipe");

if (name == "response") {

reader = new Guacamole.StringReader(input_stream);

reader.ontext = function receiveText(text) {

console.log(text);

};

}

}

.

.

 

The client makes a successful telnet connection and the I’m able to use it. 
However, I never see anything echoed to the Javascript console. I’m fairly sure 
onpipe is supposed to fire whenever a pipe is created. In my example it seems 
like onpipe does not execute. Is this the correct usage?

 

Thanks & Regards,

Jeff

 



smime.p7s
Description: S/MIME cryptographic signature


Re: guacamole-common-js resize method guidance

2018-02-16 Thread McRoy, Jeffrey (GE Healthcare)
Hi wthomas,

I'm also trying to add resizing to the guacamole-example. Here's what I tried 
and the issues I have. Were you able to get yours working?

I added a javascript function to handle updating the guac display scale:
function rescale(browserDisp, guacDisp) {
var scale = Math.min(browserDisp.offsetWidth / 
Math.max(guacDisp.getWidth(), 1),
browserDisp.offsetHeight / 
Math.max(guacDisp.getHeight(), 1));
   guacDisp.scale(scale);
}

I then added a listener for the browser resize:
.
.
var display = document.getElementById("display");
var guac = new Guacamole.Client(new Guacamole.HTTPTunnel("tunnel"));
var guacDisplay = guac.getDisplay();
rescale(display, guacDisplay);
display.appendChild(guacDisplay.getElement());
.
.
window.onresize = function(event) {
rescale(display, guacDisplay);
};
.
.

I’ve hit a couple of issues:
- Calculating the initial scale, Guacamole.Display.getHeight() and 
Guacamole.Display.getWidth() return 0 until the browser window is resized. This 
causes the first attempt at caluclating scale to be 0.
- In VNC the local mouse location seems to be off from the remote mouse 
locatipn, maybe need scaling applied here also?
 
Thanks & Regards,
Jeff

 
On 4/5/17, 4:57 PM, "wthomas"  wrote:

Anyone have any guidance on how to resize the guac viewer display so it
doesn't fill beyond my entire browser window?



--
View this message in context: 
http://apache-guacamole-incubating-users.2363388.n4.nabble.com/guacamole-common-js-resize-method-guidance-tp693p738.html
Sent from the Apache Guacamole (incubating) - Users mailing list archive at 
Nabble.com.



smime.p7s
Description: S/MIME cryptographic signature