On Mon, Jul 29, 2024 at 6:42 AM Peter Humphrey <pe...@prh.myzen.co.uk>
wrote:
>
> On Monday, 29 July 2024 14:32:24 BST Michael wrote:
> > 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.
>
> No, I don't suspend or hibernate here; I'll try Matt's suggestion and
follow
> it with 'sudo reboot'.
>
> Thank you both.
>
> --
> Regards,
> Peter.

Or possibly sudo shutdown -h now?

- Mark

Reply via email to