Opened 12 years ago

Last modified 12 years ago

#172 closed enhancement

ability to upgrade xpra server sessions in place — at Version 3

Reported by: pmarek Owned by: Antoine Martin
Priority: minor Milestone: 0.12
Component: Server Keywords:
Cc:

Description (last modified by Antoine Martin)

At the moment, if one uses "xpra upgrade" on an existing xpra session, winswitch will see that the server process it had started has now terminated and it will close the session and kill all the remaining session processes.

Options:

  • detect an exit code from the xpra server which will mean "upgrade me" and re-spawn it.

This could be tricky as there are daemons involved, pipes and file descriptors, gio file watchers, etc.

  • change the xpra code to exec the new process in place so we keep the same pid and this becomes transparent to winswitch

Change History (3)

comment:1 Changed 12 years ago by Antoine Martin

Milestone: 1.1
Owner: changed from Antoine Martin to Antoine Martin
Status: newaccepted

edit: the original bug made it sound like the problem was with upgrades to winswitch, but in fact the problem is with xpra sessions exiting on upgrade.

Restarting the winswitch server should not lose any sessions and if your client is set to auto-resume, it should re-connect the sessions too in the event that some of them drop (which they should not do - as each session uses its own daemon)

Last edited 12 years ago by Antoine Martin (previous) (diff)

comment:2 Changed 12 years ago by Antoine Martin

Resolution: worksforme
Status: acceptedclosed

comment:3 Changed 12 years ago by Antoine Martin

Description: modified (diff)
Milestone: 1.10.12
Resolution: worksforme
Status: closedreopened
Summary: "winswitch upgrade"ability to upgrade xpra server sessions in place
Note: See TracTickets for help on using tickets.