LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-19-2005, 11:22 AM   #1
filpee
LQ Newbie
 
Registered: Feb 2005
Posts: 9

Rep: Reputation: 0
Shutting down windowsXP from linux?


I have a new UPS with some software that should run on my Gentoo server. This software will execte a batch file or whatever really.
I also have software for my windowsXP desktop that can do pretty much the same thing but at 10Meg i consider it to be bloatware.
So my plan is to run the serial feed from the ups into the Gentoo server and run a script file that will a) shutdown the server b) shutdown the windowsXP box.
Problem is i dont know how to shutdown the windows box from linux.

Any ideas?
I have an ssh server installed on my windows box but running shutdown.exe gives me errors.
 
Old 02-19-2005, 12:28 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Welcome to LQ.

Why not create a share on XP only accesible by a special account from the linux box, just get the linux box to write a file called "shutdown.txt" to the directory then set up a scheduled task in windows to check for the files existance every x minutes. If it exists delete it and shutdown if it doesn't then exit.
 
Old 02-20-2005, 02:33 AM   #3
filpee
LQ Newbie
 
Registered: Feb 2005
Posts: 9

Original Poster
Rep: Reputation: 0
Great idea
Works a charm
Thanks for you help
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing Linux and Installing WindowsXP faster80 General 10 09-10-2005 07:29 PM
College linux and WindowsXP? Aizy Linux - Software 9 03-06-2005 02:33 PM
File sharing between Linux and WindowsXP world_man Linux - Networking 2 07-28-2004 03:31 PM
WindowsXP cannot access Linux router PC technobeast Linux - Networking 2 07-05-2004 01:34 PM
vmware linux under windowsxp Alwus Linux - Newbie 5 09-26-2002 02:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration