Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 30 Oct 2014, 14:22
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Remote Shutdown
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
cealy

Joined: 01 Jun 2009
Posts: 11

PostPosted: Wed 01 Jul 2009, 21:13    Post_subject:  Remote Shutdown  

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).
Back to top
View user's profile Send_private_message 
Pizzasgood


Joined: 04 May 2005
Posts: 6270
Location: Knoxville, TN, USA

PostPosted: Wed 01 Jul 2009, 22:50    Post_subject:  

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.

_________________
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

Back to top
View user's profile Send_private_message Visit_website 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0421s ][ Queries: 12 (0.0081s) ][ GZIP on ]