GeneralThis forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Having got my LAN working perfectly well, I am looking for a way to shut down the other computer remotely, so I don't have to go downstairs to shut it down. (Yeah, it's an internet connection sharing thing. I work late into the night and I'm just too tired to traipse downstairs and shut it down.)
My preferred way would be to use an RPC or something similar.
Thanks for any help.
Last edited by hacker supreme; 03-20-2007 at 05:56 PM.
Reason: hey, look, a spelling misteak!
Thanks for the prompt response. Although, I must admit I was hoping for a way to trigger the shutdown manually but remotely. Sort of like running a command that starts a batch file on the Windows PC. But thanks anyway.
Poweroff is a small program for Win95/98/NT/W2K/XP to schedule a shutdown/reboot/logoff/poweroff/Standby/Hibernate/Lock/Wake-On-LAN at a certain time. I also support command line options that allows poweroff to be used in batch scripts. It has a built-in scheduler, it allows you to run a program before doing the action, you can give a warning message to the user, wait for a process to finish before doing the action and full remote control is supported.
It's windows only though. I just now started it up without issue under WINE(edit: 0.9.25), but did not test any features (namely due to a lack of windows boxes I want to shutdown). Anyway, it's supposed to support remote machine shutdown(though I never tried to use that function back in the day and have no idea how or if it works, but I assume it does). I hope it's useful.
funny, after I posted my last post, I thought about using that tsshutdn thing with WINE.
That shuts down the PC and it can do it remotely. Well, I can but try.
can't you enable terminal services on the Windows box and just log in to CMD or something (I assume your lan is behind a firewall)? I'm talking out of my ass here, it just seems like that's something that should be possible to me.
rdesktop is a great app though. Just enable remote desktop on the XP box and that's about it. You'll want to write a bash script/shortcut that includes your desired screen resoltion/depth and login detail(s) (which are all commandline options, you can leave out your password and be promted though), but then you're set.
Ah, thanks for all the help. I just threw RealVNC onto the windows PC and I can access it using vncviewer. (I found out why it didn't work, FIREWALL. Duh...)
But I can shut the Win Pc down from upstairs now. yay!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.