On 2015-03-26, Bernhard Miklautz <bernhard.mikla...@shacknet.at> wrote: > Hi, > > On Wed, Mar 25, 2015 at 10:27:43PM +0000, Grant Edwards wrote: >> With xfreerdp it mostly doesn't work. But sometimes it does. The >> only way I've found to get it to work _reliably_ is this sequence: > could you elaborate on "mostly it doesn't work"? - I've just tried to > reproduce your problem the following way (steps 4 and 5 of your > sequence): > > * connect to Windows with xfreerdp and +clipboard option > * fire up notepad on Windows > * on Linux do a echo "rdp_test" | xclip -selection > * Press CTRL+V on Windows > > Worked with no problems "rdp_test" was inserted.
It usually (but not always) works the first time, but then it won't work again until you select & cut something in Windows. $ echo rdp_test | xclip -selection clipboard [Ctrl-V <rdp_test inserted on Windows>] $ echo asdf_qwer | xclip -selection clipboard [Ctrl-V <rdp_test inserted on Windows>] $ echo "hi there" | xclip -selection clipboard [Ctrl-V <rdp_test inserted on Windows>] [Select anything in notepad and hit Ctrl-X (or Ctrl-C)] echo "foo bar" | xclip -selection clipboard [Ctrl-V <foo bar inserted on Windows] > Second test: > > * connect to Windows with xfreerdp and +clipboard option > * fire up notepad on Windows > * type something in notepad "rdp_test2" > * mark it and do a CTRL+c > * on Linux do a xclip -o -selection clipboard I _think_ it always works in that direction. I very rarely need to transfer stuff in that direction, but every time I've tried it, it has worked. > What version on what distribution do you exactly use (xfreerdp > --version)? Gentoo on an AMD64 system $ xfreerdp --version This is FreeRDP version 1.1.0-beta1 (git n/a) Something else I should have mentioned, I run a multi-screen setup. I have three screens attached to a single Xorg server instance. My displays are :0.0 :0.1 :0.2. It's not a xinerama setup with a single X11 display spread across multiple physical monitors -- I have three different X11 screens. It doesn't seem to matter whether I run xclip, xfreerdp, rdesktop on same or different screens, the results are always the same. I see there is a "unstable" Gentoo ebuild for xfreerdp 1.2.0, so I'm going to try that... -- Grant Edwards grant.b.edwards Yow! One FISHWICH coming at up!! gmail.com ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ FreeRDP-devel mailing list FreeRDP-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freerdp-devel