On Friday 20 September 2024 14:38:53 BST Peter Humphrey wrote: > On Friday 20 September 2024 13:53:13 BST Michael wrote: > > I understand there were some changes with KSMServer on Qt6, so the > > suggestion provided in the previous thread may or may not work. It may > > work with X11 (if you provide $XDISPLAY), but not with Wayland. > > Quite so. That's why I was scratching around to find a better way. > > In case anyone else comes looking for this, the key is 'man loginctl'. Does loginctl save any unsaved application data and logout from a session gracefully?