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.