How to remotely shutdown/reboot Puppy

Booting, installing, newbie
Post Reply
Message
Author
roboDave
Posts: 2
Joined: Thu 05 Jun 2008, 00:25

How to remotely shutdown/reboot Puppy

#1 Post by roboDave »

Hello,

I have installed Puppy 3.01 on a PC for which I wish to remotely administer. I have installed the sshd daemon and have added a
script to launch it at boot-up time. I have now removed the local
monitor, keyboard, and mouse. After power-up, sshd runs and I am able to sucessfully ssh to the machine. Now I would like to be able to shutdown or reboot the PC from the ssh terminal session. I have tried
executing the /usr/X11R7/bin/wmpoweroff script from the ssh command
line but it just reports "killall: X: no process killed". Any help provided on how to remotely shutdown Puppy would be greatly appreciated !

mobybit
Posts: 19
Joined: Mon 03 Mar 2008, 02:24

#2 Post by mobybit »

Try "shutdown -h now" from a command line (xterm) ... or your ssh terminal session.

JB4x4
Posts: 256
Joined: Sun 30 Jul 2006, 22:44
Contact:

#3 Post by JB4x4 »

From the command prompt (not running "X") the following commands would be "poweroff" or "reboot"

JB

note: I had to edit - I had shutdown listed though I believe it may be "poweroff"
Last edited by JB4x4 on Thu 05 Jun 2008, 04:27, edited 1 time in total.

User avatar
rarsa
Posts: 3053
Joined: Sun 29 May 2005, 20:30
Location: Kitchener, Ontario, Canada
Contact:

Re: How to remotely shutdown/reboot Puppy

#4 Post by rarsa »

roboDave wrote:I have tried executing the /usr/X11R7/bin/wmpoweroff script from the ssh command
line but it just reports "killall: X: no process killed".
Just adding a little to the other two responses.

the "wm" in "wmpoweroff" refers to "Window Manager"
[url]http://rarsa.blogspot.com[/url] Covering my eclectic thoughts
[url]http://www.kwlug.org/blog/48[/url] Covering my Linux How-to

roboDave
Posts: 2
Joined: Thu 05 Jun 2008, 00:25

How to remotely shutdown/reboot Puppy

#5 Post by roboDave »

Thanks,

I just tried the suggestions from my work pc to the puppy pc at home over ssh session.
The "reboot" from the command line seemed to work fine.
The "poweroff" seemed to behave the same as reboot. I expected that
I would lose the ssh session and then not be able to re-connect due to
the powered-down puppy pc. To my surprise, after a minute or two I was still able to ssh back into the puppy pc !

- Dave

Post Reply