Xpra: Ticket #1368: more sharing options client side

Follow up from #41.

It would be nice if the clients could specify more than sharing on or off. Maybe add the ability to refuse to let other users steal the session? ("keep"?) The other user would have to issue an "xpra disconnect" first before being able to connect? We still need a way to take over stuck sessions, otherwise the only option would be to "xpra stop" it which isn't very user friendly.

Tue, 22 Nov 2016 06:17:36 GMT - Antoine Martin: status changed

See also #1369: the sharing option could be used to define the offset for each client. Taking this even further: we could even have the option to force the client to map to the same full-screen size (scaling client size display to match whatever is on the server) - somewhat related to #972.

Mon, 23 Jan 2017 09:55:37 GMT - Antoine Martin: milestone changed

Thu, 20 Jul 2017 07:10:06 GMT - Antoine Martin: milestone changed

too late to make changes, re-scheduling

Mon, 28 Aug 2017 04:28:08 GMT - Antoine Martin:

Sharing code has been refactored into a utility method handle_sharing() in r16712 so RFB (#1620) can make use of it.

Sat, 28 Oct 2017 17:17:50 GMT - Antoine Martin: owner, status changed

Done in r17268 with the "lock" option, which can be modified at runtime from the system tray.

The semantics of "sharing" has changed somewhat, this is how the server handles the value:

"auto" defaults to "no" on the client.

The same logic applies to the new "lock" switch. A locked session cannot be stolen by another user, though it may still be shared if that is enabled.

@maxmylyn: mostly a FYI. Feel free to close. I may follow up in #1369 and #972.

Wed, 01 Nov 2017 06:52:02 GMT - Antoine Martin:

r17274 allows the "lock" and "sharing" attributes to be changed at runtime, either via dbus or via "xpra control".


xpra control :1 set-lock auto
xpra control :1 set-sharing off

Unfortunately, this can have undesirable side effects since we don't yet communicate the changes to the client: #1676

Wed, 01 Nov 2017 18:56:24 GMT - J. Max Mena: status changed; resolution set

Very nice - noted and closing.

Wed, 15 Nov 2017 10:59:49 GMT - Antoine Martin:

We could improve the UI for this a bit: #1690

Thu, 17 Oct 2019 15:03:28 GMT - Antoine Martin:

r17804 updates the system tray if the "sharing" or "lock" options have been changed on the server.

Sat, 23 Jan 2021 05:22:20 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1368