Similar conceptually to Password handling through remote SSH session
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2386