xpra icon
Bug tracker and wiki

Opened 10 months ago

Closed 8 months ago

#1706 closed enhancement (worksforme)

attach by session-name or multi- or all

Reported by: Boruch Owned by: Boruch
Priority: minor Milestone: 2.3
Component: core Version: trunk
Keywords: aliasing multi-processing Cc:

Description

  • 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

Change History (7)

comment:1 Changed 10 months ago by Antoine Martin

Milestone: 2.22.3
Status: newassigned

comment:2 Changed 9 months ago by Antoine Martin

Owner: changed from Antoine Martin to Boruch
Status: assignednew

Done in:

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)

comment:3 Changed 9 months ago by Antoine Martin

Managed to add xpra attach all and xpra detach all without making the code too ugly: r17827.

comment:4 Changed 9 months ago by 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
Last edited 9 months ago by Antoine Martin (previous) (diff)

comment:5 Changed 9 months ago by Boruch

Owner: changed from Boruch to Antoine

comment:6 Changed 9 months ago by Antoine Martin

Owner: 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.

comment:7 Changed 8 months ago by Antoine Martin

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.