On Monday, 29 July 2024 14:27:03 BST Matt Connell wrote: > On Mon, 2024-07-29 at 14:17 +0100, Peter Humphrey wrote: > > Is there a way to pass a shutdown command to KDE over SSH? Google > > doesn't help > > me much, though it has a good deal of stuff on scripting inside KDE. > > loginctl terminate-session > > ^ would be the first thing I would try. That'll exit the desktop session. Try 'loginctl hibernate' if you want to save everything to disk, or for 'loginctl suspend' for a faster startup.