how to use guacamole-auth-header?

2017-08-06 Thread 张建平
How  to  use  guacamole-auth-header ?


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



Re: What are some tips for debugging no audio heard?

2017-08-06 Thread Mike Jumper
On Sat, Aug 5, 2017 at 1:16 PM, christopherbalz  wrote:
> About the first question:
> - For guacd, have you linked the necessary Guacamole libraries into the
> FreeRDP lib directory?  The following thread should help you with that - the
> guacdr.so and guacsnd.so files are the ones you're interested in.
> https://sourceforge.net/p/guacamole/discussion/1110834/thread/76764d35/?limit=25
> A: The guacdr-client.so and guacsnd-client.so files have been linked.
>
> We want to first make a clean picture of the system we are running and see
> if it answers your other questions:
> - We have one EC2 with Ubuntu 16.04 LTS installed. We have deployed
> Guacamole in this machine.
> - We can use both VNC viewer as well as browsers (like Chrome or Firefox) to
> load the remote desktop via our laptops. Our laptops are also running Ubuntu
> and the sound system is working perfectly in these laptops.

Are you saying that Guacamole has been installed on the same machine
as the VNC server?

> - Connecting a local PulseAudio sound server directly to the PulseAudio
> server on the remote instance actually does deliver sound that we can hear
> on our local laptop.
> - We've double-checked the enable-audio setting, the added line in
> /etc/pulse/default.pa, and the `netstat -ln | grep 4713` result.

If Guacamole is running on the same machine as the VNC server, have
you tried specifying "localhost" for the PulseAudio server name in the
configuration of the Guacamole connection?

If not, have you tried specifying the IP address of the VNC server?

- Mike


Re: guacamole server 0.9.12-incubating does not compile after upgrading debian jessie to debian stretch

2017-08-06 Thread Mike Jumper
It is compatible - that's what the previously-posted JIRA issue dealt with:

https://issues.apache.org/jira/browse/GUACAMOLE-205

If you try building the 0.9.13-incubating release, which has the above
changes, you will not see these errors.

- Mike


On Sun, Aug 6, 2017 at 10:37 AM, Daniel Nguyen  wrote:
> I found what's going on.
>
> libssl1.0-dev must be used instead of libssl-dev. Guacamole seems
> incompatible with libssl-dev in debian stretch, although ./configure does
> not complain.
>
> Regards
> Daniel Nguyen
>
> W dniu 31.07.2017 o 22:20, Daniel Nguyen pisze:
>
> Hi :)
>
> Guacamole server 0.9.12-incubating does not compile after upgrading debian
> jessie to debian stretch. It compiled before on jessie.
>
> ssh.c:70:13: error: ‘guac_common_ssh_openssl_locking_callback’ defined but
> not used [-Werror=unused-function]
>  static void guac_common_ssh_openssl_locking_callback(int mode, int n,
>  ^~~~
> cc1: all warnings being treated as errors
>
>
>
> 
> guacamole-server version 0.9.12-incubating
> 
>
>Library status:
>
>  freerdp . yes
>  pango ... yes
>  libavcodec .. yes
>  libavutil ... yes
>  libssh2 . yes
>  libssl .. yes
>  libswscale .. yes
>  libtelnet ... yes
>  libVNCServer  yes
>  libvorbis ... yes
>  libpulse  yes
>  libwebp . yes
>
>Protocol support:
>
>   RDP ... yes
>   SSH ... yes
>   Telnet  yes
>   VNC ... yes
>
>Services / tools:
>
>   guacd .. yes
>   guacenc  yes
>
>Init scripts: no
>
> Type "make" to compile guacamole-server.
>
> lucky:~/download/guacamole-server-0.9.12-incubating# make
> make  all-recursive
> make[1]: Wejście do katalogu
> '/root/download/guacamole-server-0.9.12-incubating'
> Making all in src/libguac
> make[2]: Wejście do katalogu
> '/root/download/guacamole-server-0.9.12-incubating/src/libguac'
> make[2]: Nie ma nic do zrobienia w 'all'.
> make[2]: Opuszczenie katalogu
> '/root/download/guacamole-server-0.9.12-incubating/src/libguac'
> Making all in src/common
> make[2]: Wejście do katalogu
> '/root/download/guacamole-server-0.9.12-incubating/src/common'
> make[2]: Nie ma nic do zrobienia w 'all'.
> make[2]: Opuszczenie katalogu
> '/root/download/guacamole-server-0.9.12-incubating/src/common'
> Making all in src/libguacd
> make[2]: Wejście do katalogu
> '/root/download/guacamole-server-0.9.12-incubating/src/libguacd'
> make[2]: Nie ma nic do zrobienia w 'all'.
> make[2]: Opuszczenie katalogu
> '/root/download/guacamole-server-0.9.12-incubating/src/libguacd'
> Making all in tests
> make[2]: Wejście do katalogu
> '/root/download/guacamole-server-0.9.12-incubating/tests'
> make[2]: Nie ma nic do zrobienia w 'all'.
> make[2]: Opuszczenie katalogu
> '/root/download/guacamole-server-0.9.12-incubating/tests'
> Making all in src/common-ssh
> make[2]: Wejście do katalogu
> '/root/download/guacamole-server-0.9.12-incubating/src/common-ssh'
>   CC   libguac_common_ssh_la-ssh.lo
> ssh.c:89:22: error: ‘guac_common_ssh_openssl_id_callback’ defined but not
> used [-Werror=unused-function]
>  static unsigned long guac_common_ssh_openssl_id_callback() {
>   ^~~
> ssh.c:70:13: error: ‘guac_common_ssh_openssl_locking_callback’ defined but
> not used [-Werror=unused-function]
>  static void guac_common_ssh_openssl_locking_callback(int mode, int n,
>  ^~~~
> cc1: all warnings being treated as errors
> Makefile:488: polecenia dla obiektu 'libguac_common_ssh_la-ssh.lo' nie
> powiodły się
> make[2]: *** [libguac_common_ssh_la-ssh.lo] Błąd 1
> make[2]: Opuszczenie katalogu
> '/root/download/guacamole-server-0.9.12-incubating/src/common-ssh'
> Makefile:494: polecenia dla obiektu 'all-recursive' nie powiodły się
> make[1]: *** [all-recursive] Błąd 1
> make[1]: Opuszczenie katalogu
> '/root/download/guacamole-server-0.9.12-incubating'
> Makefile:426: polecenia dla obiektu 'all' nie powiodły się
> make: *** [all] Błąd 2
>
> Regards
> Daniel Nguyen
>


Re: guacamole server 0.9.12-incubating does not compile after upgrading debian jessie to debian stretch

2017-08-06 Thread Daniel Nguyen

I found what's going on.

*libssl1.0-dev* must be used instead of *libssl-dev*. Guacamole seems 
incompatible with libssl-dev in debian stretch, although ./configure 
does not complain.


Regards
Daniel Nguyen

W dniu 31.07.2017 o 22:20, Daniel Nguyen pisze:

Hi :)

Guacamole server 0.9.12-incubating does not compile after upgrading 
debian jessie to debian stretch. It compiled before on jessie.


ssh.c:70:13: error: ‘guac_common_ssh_openssl_locking_callback’ defined 
but not used [-Werror=unused-function]

 static void guac_common_ssh_openssl_locking_callback(int mode, int n,
 ^~~~
cc1: all warnings being treated as errors




guacamole-server version 0.9.12-incubating


   Library status:

 freerdp . yes
 pango ... yes
 libavcodec .. yes
 libavutil ... yes
 libssh2 . yes
 libssl .. yes
 libswscale .. yes
 libtelnet ... yes
 libVNCServer  yes
 libvorbis ... yes
 libpulse  yes
 libwebp . yes

   Protocol support:

  RDP ... yes
  SSH ... yes
  Telnet  yes
  VNC ... yes

   Services / tools:

  guacd .. yes
  guacenc  yes

   Init scripts: no

Type "make" to compile guacamole-server.

lucky:~/download/guacamole-server-0.9.12-incubating# make
make  all-recursive
make[1]: Wejście do katalogu 
'/root/download/guacamole-server-0.9.12-incubating'

Making all in src/libguac
make[2]: Wejście do katalogu 
'/root/download/guacamole-server-0.9.12-incubating/src/libguac'

make[2]: Nie ma nic do zrobienia w 'all'.
make[2]: Opuszczenie katalogu 
'/root/download/guacamole-server-0.9.12-incubating/src/libguac'

Making all in src/common
make[2]: Wejście do katalogu 
'/root/download/guacamole-server-0.9.12-incubating/src/common'

make[2]: Nie ma nic do zrobienia w 'all'.
make[2]: Opuszczenie katalogu 
'/root/download/guacamole-server-0.9.12-incubating/src/common'

Making all in src/libguacd
make[2]: Wejście do katalogu 
'/root/download/guacamole-server-0.9.12-incubating/src/libguacd'

make[2]: Nie ma nic do zrobienia w 'all'.
make[2]: Opuszczenie katalogu 
'/root/download/guacamole-server-0.9.12-incubating/src/libguacd'

Making all in tests
make[2]: Wejście do katalogu 
'/root/download/guacamole-server-0.9.12-incubating/tests'

make[2]: Nie ma nic do zrobienia w 'all'.
make[2]: Opuszczenie katalogu 
'/root/download/guacamole-server-0.9.12-incubating/tests'

Making all in src/common-ssh
make[2]: Wejście do katalogu 
'/root/download/guacamole-server-0.9.12-incubating/src/common-ssh'

  CC   libguac_common_ssh_la-ssh.lo
ssh.c:89:22: error: ‘guac_common_ssh_openssl_id_callback’ defined but 
not used [-Werror=unused-function]

 static unsigned long guac_common_ssh_openssl_id_callback() {
  ^~~
ssh.c:70:13: error: ‘guac_common_ssh_openssl_locking_callback’ defined 
but not used [-Werror=unused-function]

 static void guac_common_ssh_openssl_locking_callback(int mode, int n,
 ^~~~
cc1: all warnings being treated as errors
Makefile:488: polecenia dla obiektu 'libguac_common_ssh_la-ssh.lo' nie 
powiodły się

make[2]: *** [libguac_common_ssh_la-ssh.lo] Błąd 1
make[2]: Opuszczenie katalogu 
'/root/download/guacamole-server-0.9.12-incubating/src/common-ssh'

Makefile:494: polecenia dla obiektu 'all-recursive' nie powiodły się
make[1]: *** [all-recursive] Błąd 1
make[1]: Opuszczenie katalogu 
'/root/download/guacamole-server-0.9.12-incubating'

Makefile:426: polecenia dla obiektu 'all' nie powiodły się
make: *** [all] Błąd 2

Regards
Daniel Nguyen