Ok, this looks like it is a bug specific to fedora 31.

the log tells that the clipboard is updated as it should be (the warning is a bit misleading, but it does not matter really)

you have any clipboard managers running? they tend to break things (specifically for our very unusual use case)


As for selection buffer, no, we do not want to go this road, it is really dangerous here (everything you select locally would be sent to the server) and has a few other side effects that require too much tinkering to get right.


regards

Armin

On 22.01.21 09:24, sam chan via FreeRDP-devel wrote:


with debug, i get...

[23:03:42:028] [1502280:1502281] [DEBUG][com.freerdp.core.heartbeat] - received Heartbeat PDU -> period=1, count1=8, count2=8 [23:03:42:230] [1502280:1502281] [WARN][com.freerdp.channels.cliprdr.common] - [cliprdr_packet_format_list_new] called with invalid type 00000000 [23:03:42:231] [1502280:1502281] [DEBUG][com.freerdp.channels.cliprdr.client] - ClientFormatList: numFormats: 9 [23:03:42:231] [1502280:1502281] [WARN][com.freerdp.channels.cliprdr.common] - [cliprdr_packet_format_list_new] called with invalid type 00000000 [23:03:42:231] [1502280:1502281] [DEBUG][com.freerdp.channels.cliprdr.client] - ClientFormatList: numFormats: 3 [23:03:42:232] [1502280:1502299] [DEBUG][com.freerdp.channels.cliprdr.client] - ServerFormatListResponse [23:03:43:609] [1502280:1502299] [DEBUG][com.freerdp.channels.cliprdr.client] - ServerFormatListResponse [23:03:43:609] [1502280:1502299] [DEBUG][com.freerdp.channels.cliprdr.client] - ServerFormatList: numFormats: 10 [23:03:43:609] [1502280:1502299] [DEBUG][com.freerdp.channels.cliprdr.client] - ClientFormatListResponse [23:03:43:258] [1502280:1502281] [DEBUG][com.freerdp.core.heartbeat] - received Heartbeat PDU -> period=1, count1=8, count2=8


the interesting line seems to be....

 [WARN][com.freerdp.channels.cliprdr.common] - [cliprdr_packet_format_list_new] called with invalid type 00000000

but not sure what to make of it.  i should note that it seems
to work with an X11 window where ctrl-C means copy.  but for a
basic ascii terminal, like xterm(i still use a lot), where the
control characters aren't the same, it would require changing
key mapping.  it would be great to just use the mouse to copy
on X11 side.  any chance to have clipboard behavior of freerdp
be like rdesktop?


cheers
sam


On Fri, 22 Jan 2021, Armin Novak via FreeRDP-devel wrote:

No. Clipboard is activated by default, so nothing is actually required.

Just checked with current nightly on debian and here it works like expected.

Maybe run with /log-level:debug and check if anything in the logs is suspicious?

Just note, we ignore the selection buffer on X11 side, so you need to use <ctrl>+c there too.


regards

Armin

On 22.01.21 02:37, sam chan via FreeRDP-devel wrote:



 yes, i do have group policy settings on the Windows
 system to disable "Do not allow Clipboard redirection".
 but still doesn't work.

 is there some other specific setting?  thanks.


 sam



 On Thu, 21 Jan 2021, A. Novak wrote:

 Yes, there is a server policy on windows that might deactivate clipboard

 Am 20. Jänner 2021 21:46:42 UTC schrieb sam chan via FreeRDP-devel
 <freerdp-devel@lists.sourceforge.net>:


 hello.  i'm new to freerdp.  currently having problems
 with copy and pasting text to and from Windows 10 rdp
 server.

 rdp client is Fedora 31, using the nightly build...

 /opt/freerdp-nightly/bin/xfreerdp --version
 This is FreeRDP version 3.0.0-dev (3ee0cc6b7)


 running as follows....

 /opt/freerdp-nightly/bin/xfreerdp -grab-keyboard /audio-mode:1
 +clipboard /drive:tmp,/tmp /drive:chans,/home/chans /size:1920x1080
 /u:sam /v:10.0.0.3


 anything else needed?  any settings on the Windows side
 to consder?


 thanks,
 sam





 _______________________________________________
 FreeRDP-devel mailing list
 FreeRDP-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freerdp-devel

 _______________________________________________
 FreeRDP-devel mailing list
 FreeRDP-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freerdp-devel


_______________________________________________
FreeRDP-devel mailing list
FreeRDP-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freerdp-devel


_______________________________________________
FreeRDP-devel mailing list
FreeRDP-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freerdp-devel


_______________________________________________
FreeRDP-devel mailing list
FreeRDP-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freerdp-devel

Reply via email to