You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by Amarjeet Singh <am...@gmail.com> on 2017/08/23 05:53:27 UTC

ACTION REQUIRED : CLIPBOARD Redirection not Working in guacamole-server-0.9.13-incubating

Hi Team,

I did the fresh installation of Guacamole client and server. While building
( *mvn package* ) client there is a Build Failure. below are the errors : -


[INFO] guacamole-common ................................... SUCCESS [
>> 9.345 s]
>
> [INFO] guacamole-ext ...................................... SUCCESS [
>> 7.292 s]
>
> [INFO] guacamole-common-js ................................ SUCCESS [
>> 1.030 s]
>
> [INFO] guacamole .......................................... SUCCESS [
>> 13.921 s]
>
> [INFO] guacamole-auth-cas ................................. FAILURE [
>> 20.483 s]
>
> [INFO] guacamole-auth-duo ................................. SKIPPED
>
> [INFO] guacamole-auth-header .............................. SKIPPED
>
> [INFO] guacamole-auth-jdbc ................................ SKIPPED
>
> [INFO] guacamole-auth-jdbc-base ........................... SKIPPED
>
> [INFO] guacamole-auth-jdbc-mysql .......................... SKIPPED
>
> [INFO] guacamole-auth-jdbc-postgresql ..................... SKIPPED
>
> [INFO] guacamole-auth-jdbc-dist ........................... SKIPPED
>
> [INFO] guacamole-auth-ldap ................................ SKIPPED
>
> [INFO] guacamole-auth-noauth .............................. SKIPPED
>
> [INFO] guacamole-example .................................. SKIPPED
>
> [INFO] guacamole-playback-example ......................... SKIPPED
>
> [INFO] guacamole-client ................................... SKIPPED
>
>
> [ERROR] Failed to execute goal on project guacamole-auth-cas: Could not
> resolve dependencies for project
> org.apache.guacamole:guacamole-auth-cas:jar:0.9.13-incubating: Failed to
> collect dependencies at org.jasig.cas.client:cas-client-core:jar:3.4.1:
> Failed to read artifact descriptor for
> org.jasig.cas.client:cas-client-core:jar:3.4.1: Could not transfer artifact
> org.jasig.cas.client:cas-client-core:pom:3.4.1 from/to central (
> https://repo.maven.apache.org/maven2): repo.maven.apache.org: Name or
> service not known: Unknown host repo.maven.apache.org: Name or service
> not known -> [Help 1]



But, I got the war before this error.

[INFO] Building war:
> /opt/guacamole-client-0.9.13-incubating/guacamole/target/guacamole-0.9.13-incubating.war


I used this war and configured user-mapping.xml. Everything is working fine
except *Clipboard*.

I am facing following issues : -


   1.  If  I have data in the* local Clipboard* ( OS Clipboard ) and then,
   I am trying to paste ( Ctrl + V ) it to  Guacamole Client ( on the browser
   in the RDP of the server ) :- It is not working.
   2.  I have used Ctrl + Shift + Alt and then it opened the Clipboard
   section. I copied the data from the RDP and tried to paste it  but didn't
   worked.
   3.  It tried everything but whatever i have copied inside the RDP that
   is only pasting inside the RDP not outside it.
   4.  I tried to disabled the "*Do not allow Clipboard redirection" *in
   the server using gpedit.msc but no results.


I read the manual as well but of no help.

I want to do the *seamless clipboard redirection* ( like in Spark View )
but unable to do so.

Please help me to resolve the above issue. If possible help to to achieve
seamless clipboard redirection as it is the requirement.

Thanks and Regards,
Amarjeet Singh
+91-8130604385
Pune, Maharashtra, India

Re: ACTION REQUIRED : CLIPBOARD Redirection not Working in guacamole-server-0.9.13-incubating

Posted by Nick Couchman <ni...@yahoo.com>.
On Wednesday, August 23, 2017, 1:53:38 AM EDT, Amarjeet Singh <am...@gmail.com> wrote:


> Hi Team,

> I did the fresh installation of Guacamole client and server. While building ( mvn package ) client there is a Build Failure. below are the errors : - 

> 
>>> [INFO] guacamole-common ................................... SUCCESS [  9.345 s]
>>> [INFO] guacamole-ext ...................................... SUCCESS [  7.292 s]
>>> [INFO] guacamole-common-js ................................ SUCCESS [  1.030 s]
>>> [INFO] guacamole .......................................... SUCCESS [ 13.921 s]
>>> [INFO] guacamole-auth-cas ................................. FAILURE [ 20.483 s]
>>> [INFO] guacamole-auth-duo ................................. SKIPPED
>>> [INFO] guacamole-auth-header .............................. SKIPPED
>>> [INFO] guacamole-auth-jdbc ................................ SKIPPED
>>> [INFO] guacamole-auth-jdbc-base ........................... SKIPPED
>>> [INFO] guacamole-auth-jdbc-mysql .......................... SKIPPED
>>> [INFO] guacamole-auth-jdbc-postgresql ..................... SKIPPED
>>> [INFO] guacamole-auth-jdbc-dist ........................... SKIPPED
>>> [INFO] guacamole-auth-ldap ................................ SKIPPED
>>> [INFO] guacamole-auth-noauth .............................. SKIPPED
>>> [INFO] guacamole-example .................................. SKIPPED
>>> [INFO] guacamole-playback-example ......................... SKIPPED
>>> [INFO] guacamole-client ................................... SKIPPED
> 
>> [ERROR] Failed to execute goal on project guacamole-auth-cas: Could not resolve dependencies for project org.apache.guacamole:guacamole-auth-cas:jar:0.9.13-incubating: Failed to collect dependencies at org.jasig.cas.client:cas-client-core:jar:3.4.1: Failed to read artifact descriptor for org.jasig.cas.client:cas-client-core:jar:3.4.1: Could not transfer artifact org.jasig.cas.client:cas-client-core:pom:3.4.1 from/to central (https://repo.maven.apache.org/maven2): repo.maven.apache.org: Name or service not known: Unknown host repo.maven.apache.org: Name or service not known -> [Help 1]

The build system is telling you what the problem is.  It cannot find the Apache MAVEN repo mirror.  Make sure the system you're building on has Internet access, and, if you're behind a proxy server, that you've configured Maven to talk through the proxy server.  It also could be that that particular mirror was having issues when you tried to build, so just try it, again.  Or try pointing at a different Maven repo mirror.  But, that's not a Guacamole issue, per se, it's a generic Maven issue because Maven cannot talk to the repository server to download the necessary components.

> But, I got the war before this error. 

>> [INFO] Building war: /opt/guacamole-client-0.9.13-incubating/guacamole/target/guacamole-0.9.13-incubating.war

Yes, the build of the core components completed successfully, but none of the extensions got built.  Correct the Maven repo error and you should get everything.

> I used this war and configured user-mapping.xml. Everything is working fine except Clipboard.

> I am facing following issues : -

>    1.  If  I have data in the local Clipboard ( OS Clipboard ) and then, I am trying to paste ( Ctrl + V ) it to  Guacamole Client ( on the browser in the RDP of the server ) :- It is not working.
>    2.  I have used Ctrl + Shift + Alt and then it opened the Clipboard section. I copied the data from the RDP and tried to paste it  but didn't worked.
>    3.  It tried everything but whatever i have copied inside the RDP that is only pasting inside the RDP not outside it.
>    4.  I tried to disabled the "Do not allow Clipboard redirection" in the server using gpedit.msc but no results.

> I read the manual as well but of no help.

> I want to do the seamless clipboard redirection ( like in Spark View ) but unable to do so.  

> Please help me to resolve the above issue. If possible help to to achieve seamless clipboard redirection as it is the requirement.

It is possible, yes.  I use it every day.  There are three things that you need to check to make sure Clipboard redirection works seamlessly:- Depending on your Linux distribution, you may need to install the specific freerdp-plugins package.  I run CentOS 7, and it is called freerdp-plugins.- There are a handful of libraries built with guacamole server (guacd) that needs to be in the correct place on the server running guacd.  When they are installed, they show up in your guacd install path, under the lib/freerdp directory.  They need to be located somewhere where FreeRDP can find them - usually this is in your system library path under a freerdp directory (for example, for me using CentOS 7 64-bit, it is in /usr/lib64/freerdp).  Either copy or link the guac*.so files from the guacd install directory to the FreeRDP plugin directory.- Depending on the browser, you may also need an extension or plugin to support this.  I use Chrome, and use the Clipboard Permission Manager extension provided by Mike @ glyptodon.org.  Due to security restrictions on Chrome, this extension is necessary to allow the seamless integration.  I'm not certain about other browsers and their support for it, but I know Chrome requires it.
-Nick