Xpra: Ticket #1706: attach by session-name or multi- or all
- It would be a convenience for users to be able to perform command-line actions such as
xpra attach or
xpra stop by referring to a session-name instead of a display-id.
- It would also be convenient to be able to specify more than one session-name or display-id for a command, and for such commands to fork asynchronously (multi-core micro-processors and all that), eg.
xpra attach :1 :2 :3
- It would also be convenient to be able to refer to all sessions, eg.
xpra stop all
Sat, 25 Nov 2017 03:21:30 GMT - Antoine Martin: status, milestone changed
changed from new to assigned
changed from 2.2 to 2.3
Mon, 01 Jan 2018 15:58:34 GMT - Antoine Martin: owner, status changed
changed from Antoine Martin to Boruch
changed from assigned to new
Supporting "xpra attach all" would be much harder (lots of command line arguments to forward, etc), so I won't do it for now.
@Boruch: please close if that works for you. (feel free to create a separate ticket for "xpra attach all" for a future milestone)
Tue, 02 Jan 2018 14:52:58 GMT - Antoine Martin:
Managed to add
xpra attach all and
xpra detach all without making the code too ugly: r17827.
Wed, 03 Jan 2018 05:02:13 GMT - Boruch:
Using version r17825, I verified that
xpra stop worls for multiple servers when explicitly defined, and that
xpra stop all succeeds when more than one xpra instance is LIVE; However, when only one
xpra server is LIVE, attempting
xpra stop all returns an STDERR message:
xpra initialization error:
unknown format for display name: all
Wed, 03 Jan 2018 05:02:33 GMT - Boruch: owner changed
changed from Boruch to Antoine
Wed, 03 Jan 2018 06:21:55 GMT - Antoine Martin: owner changed
changed from Antoine to Boruch
However, when only one xpra server is LIVE, attempting xpra stop all returns an STDERR message
Thanks for spotting that, this is fixed in r17837.
Tue, 30 Jan 2018 16:23:04 GMT - Antoine Martin: status changed; resolution set
changed from new to closed
set to worksforme
Sat, 23 Jan 2021 05:31:36 GMT - migration script:
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1706