I'm trying to share a connection and I'm getting the error message, "new connection from the same uuid". I'm using "ssh".
How do I make this work? I have sharing enabled on the both the client and the server.
If it is not supported with ssh, I offer to update the man page to note this.
This is meant to prevent the same user from connecting more than once from the same machine. See get_user_uuid()
ie: if the connection is dead, the user might re-connect before the server has had a chance to drop the old connection and we don't want to use sharing in this case (it limits some features).
You can workaround it by specifying XPRA_USER_UUID=whatever xpra attach
.
Are you connecting from the same machine?
I'm connecting from behind a NAT to a proxy to the server. I'm going to guess either the NAT or the proxy alone would be enough to confuse the server into thinking that both sessions are from the same computer.
I'm going to look at how that UUID is calculated and think about how to make sure that both of my clients get a unique UUID from behind a proxy or NAT.
The two items (HOME and machine_id) going into UUID on windows are empty when run from command prompt in windows. I will fix.
I found that in win32 get_machine_id was returning blank as was HOME. I believe I have fixed it in r21372. I'm a little new to this. I am requesting that somebody more expert than I inspects the commit.
With this patch I have been able to get screen sharing to work, before this patch I could not get it work (as all my clients are windows).
Looks good, r21373 just simplifies it a bit.
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2102