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 !
How to remotely shutdown/reboot Puppy
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"
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.
Re: How to remotely shutdown/reboot Puppy
Just adding a little to the other two responses.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".
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
[url]http://www.kwlug.org/blog/48[/url] Covering my Linux How-to
How to remotely shutdown/reboot Puppy
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
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