Remote Shutdown

Using applications, configuring, problems
Post Reply
Message
Author
cealy
Posts: 11
Joined: Mon 01 Jun 2009, 17:07

Remote Shutdown

#1 Post by cealy »

Hello Puppy Linux users, I was wondering if there was a way to shutdown my computer remotely over an ssh connection (I have sshd properly installed and can "su" to root).

User avatar
Pizzasgood
Posts: 6183
Joined: Wed 04 May 2005, 20:28
Location: Knoxville, TN, USA

#2 Post by Pizzasgood »

If the Puppy machine is running X, try the command wmpoweroff
If the Puppy machine is not running X, try the command poweroff

I'm not 100% certain those will work - they may get goofed up when your SSH connection terminates. I don't remember. If they do get goofed up, try adding a & to the end, like this:
wmpoweroff &
That will background the process.

If that doesn't work, try also using nohup to disconnect the command from your terminal:
nohup wmpoweroff &

That one should work period. But it's probably overkill.
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]

Post Reply