[ 
https://issues.apache.org/jira/browse/GUACAMOLE-258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15948359#comment-15948359
 ] 

Michael Jumper commented on GUACAMOLE-258:
------------------------------------------

{quote}
Hi - not sure if this has been discussed before, if it has, apologies, I didn't 
see it.
{quote}

Well ... this is actually probably the most common question asked, and I have 
no doubt it will be asked again, but no worries. Hopefully this issue will be 
easy to find, and failing that easy to point people at in the future.

{quote}
IMHO, pressing ctrl+alt+shift to open the left side 'clipboard' panel, pasting 
text, closing the panel, and then right click (to copy the content into the ssh 
session) is very cumbersome. 
{quote}

To be clear:

The reason it's done this way is because that's the only way it's possible. 
Browsers do not provide unrestricted access to the clipboard for security 
reasons. Believe me when I say that we would have implemented it the direct 
route in the first place if it were possible.

Guacamole does attempt to access the clipboard directly using the W3C Clipboard 
API, but those attempts will silently fail in almost all cases. Unless browsers 
decide to provide a permission granting interface for clipboard access (like 
what is done for microphone, camera, etc.), the only way to access clipboard 
directly is via an extension. There is an extension for Chrome which does this:

https://chrome.google.com/webstore/detail/clipboard-permission-mana/ipbhneeanpgkaleihlknhjiaamobkceh

See:

* https://sourceforge.net/p/guacamole/discussion/1110834/thread/50098c28/ ("... 
Web browsers do not provide direct access to clipboard data for security 
reasons. ...")
* 
http://mail-archives.apache.org/mod_mbox/incubator-guacamole-dev/201612.mbox/%3CCALKeL-OQGHrL6%2BFCwr-LH-que8Ps5%3D%3DTebPXLi2iSBoW8az11Q%40mail.gmail.com%3E
 ("... You cannot do this without an extension; browsers simply do not provide 
that kind of access to the clipboard. ...")
* https://glyptodon.org/jira/browse/GUAC-1480 (The original issue which added 
support for the clipboard API, even though it's denied in most cases, and 
implemented the extension previously mentioned.)


> copy/paste directly on to ssh screen session
> --------------------------------------------
>
>                 Key: GUACAMOLE-258
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-258
>             Project: Guacamole
>          Issue Type: Wish
>          Components: guacamole-client
>            Reporter: Jonathan Johnson
>            Priority: Minor
>
> Hi - not sure if this has been discussed before, if it has, apologies, I 
> didn't see it.
> IMHO, pressing ctrl+alt+shift to open the left side 'clipboard' panel, 
> pasting text, closing the panel, and then right click (to copy the content 
> into the ssh session) is very cumbersome. 
> Could guacamole be enhanced to either:
> 1. allow the mouse pointer to open/close the panel
> 2. allow the user to copy and/or paste content directly onto the ssh terminal
> Thanks.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to