I'm using 2022.2.4.0 (Free Edition) and I'm unable to copy paste text from mac to RDP sessions. This was working prior to upgrading the application. The previous version was 2021.1.9.0.
Hello
I'm sorry to hear that this isn't working properly. Version 2022.1.13.0 had some significant changes to the RDP clipboard implementation.
Just to confirm - you are using an embedded RDP session?
It would be most helpful if you can enable session logging and then reproduce the problem (connect to an RDP server and try to copy-paste some text across the session). The instructions for enabling session logging are here. Make sure you indicate this forum post when submitting the log.
Please let me know if you have any questions or if something is not clear
Thanks and kind regards,
Richard Markievicz
Log submitted. I don't see any errors when trying to do a copy paste. Paste becomes an option when something is added to the clipboard, but when pasted nothing happens. This is the case with shortcut keys, menu options, and right click selections. Copy/paste works within the rdp session itself just not from host to rdp session.
It does work when using external instead of embedded, but that mode is much less convenient.
Hello again
Thanks for sending the log over. Release builds of RDM don't embed the detailed diagnostic information to show me exactly what's happening, but I see that when you pasted on the remote system it requested the clipboard data, and then a fraction of a second later requested clipboard data a second time - that seems irregular and might be the cause of the issue.
I'd like to try and reproduce it on my side, but need a little more information.
Another question - does copy/paste work in the other direction? i.e. If you copy something in the RDP session, can you paste it on your Mac?
Thanks and kind regards,
Richard Markievicz
The server os is Windows 2012 R2.
After some further testing it appears that copy paste from a text editor or browser on the mac to any app on the server works, but copy from KeepassXC on the mac does not.
Copy paste from the RDP session to the mac works as well.
Copy paste from KeepassXC was working prior to the update of RDM.
Hello
Thanks for the update and investigation on your side.
I'm not familiar with KeepassXC but I did download it to try on my side. The first thing I noticed - are you using the KeepassXC option "Clear clipboard after"? If so; please try temporarily disabling that option or extending the timeout to ensure you have enough time to paste on the remote system before the local clipboard is cleared (it's in Preferences > Security).
Please let me know if that allows you to paste to the remote system.
Thanks and kind regards,
Richard Markievicz
Hello again
I did try this on my side and was able to paste on the remote system, assuming I did it before KeepassXC cleared the clipboard again.
If that is the issue you're experiencing: I apologize for the inconvenience and apparent regression in your workflow. Prior versions of RDM had very simplistic clipboard handling: if data representable as plain text was copied to the clipboard, RDM would immediately take a copy of that data and advertise it to the remote system.
Current versions of RDM behave differently: when you copy something locally, the different data types available on the clipboard are advertised to the server but nothing is actually copied until performing a paste on the remote system. This is much better for performance and security and allows us to support a wider range of clipboard data formats than just plain text. However, it does require that the clipboard data is still available at the time of pasting - this is inherently incompatible with other software that clears the clipboard contents. While it can be inconvenient in this scenario, it does better align with what the 3rd party password manager is trying do (remove sensitive data from the system after a short timeout).
Please let me know if you have some questions or anything is not clear
Thanks and kind regards,
Richard Markievicz
Richard,
I tried disabling the clipboard clear timeout and I'm still experiencing the issue. It was set to 60 sec before so I didn't believe it was a factor in this case. I will need to try another password manager or revert back to the earlier version of RDM until a new version of keepassxc is released.
Hello again
I did notice one other combination of settings that could cause the behaviour:
General > Entry Management > Hide window when copying to clipboard > "Minimize"
Security > Convenience > Lock databases after minimizing the window
Since it seems that KeepassXC also clears the clipboard once the database is locked.
That being said, while this generally seems to work for me, I did also notice some weirdness with the clipboard after using Keepass (although it doesn't appear to do anything out-of-the-ordinary with the clipboard either).
What version of KeepassXC do you run?
Thanks and kind regards,
Richard Markievicz
Hello bmoseley
I'm returning to this thread to let you know that our QA department was able to identify a potential issue when copying data from KeepassXC into an RDP session on RDM Mac. The problem is non-deterministic and doesn't occur all the time.
I've integrated a fix for the issue and it will be available in an upcoming release of RDM Mac. I'm not sure how it ties into their release schedule, but I encourage you to keep an eye on the release notes.
Please don't hesitate if you have further questions or comments
Thanks and kind regards,
Richard Markievicz