Meshcentral: Clipboard broken

Created on 22 Apr 2020  路  8Comments  路  Source: Ylianst/MeshCentral

Both get and set clipboard actions seem to be out of order.

Anyhow dialog window still returns Success notice when set button pushed and on the other hand it doesn't display clipboard content when get button pushed (in this case console returns uncaughtException1: promise.unhandledRejection: Error reading clipboard error).

Tested with Windows and Linux agents.

MC v0.5.12

Thanks

Fixed - Confirm & Close bug

Most helpful comment

FYI. Bryan found the issue and working on it.

All 8 comments

Your right, I can confirm this. Looking into it.

FYI, I get the following in the agent console when trying to read the remote clipboard:

uncaughtException1: promise.unhandledRejection: Error reading clipboard

In addition the getclip and setclip agent console commands also don't work.

FYI. Bryan found the issue and working on it.

I fixed the windows clipboard issue. The linux clipboard, actually still works. It is just a little different to get used to, becuase linux has multiple different "clipboards" that don't play nice with each other... MC uses the X11 Selection Buffer, because the agent normally runs as a non-user service, so access to user desktop data was done using X11. Some apps, like the terminal, typically don't use the X11 buffers for clipboard.

But I found if you use the middle mouse button in the terminal, you can paste the contents of the data MC places in the X11 buffer.

MeshCentral v0.5.13 is out, should fix this.

Juste tested, I can confirm! 馃憤

Thanks for the report and for the initial issue. Closing this one.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hellofaduck picture hellofaduck  路  3Comments

haxmachine picture haxmachine  路  3Comments

MailYouLater picture MailYouLater  路  4Comments

coolwormgit picture coolwormgit  路  3Comments

petervanv picture petervanv  路  3Comments