General :: How To Remote Shutdown A Win XP Machine
Feb 10, 2010
ow do you remotely shutdown an XP host from a linux machine? I know that you can use shutdown /s /f /m IP_GOES_HEREFrom windows, but how would you do that from linux? (wine does not port the shutdown command)
I have been trying to shutdown a remote XP machine but cannot get it to budge. I did the following on the Windows box:
Ensured no firewall Started Remote Registry Editing service Shared a network drive (to enable file sharing?) Created a user 'shutdown' specifically for shutting down Added 'shutdown' to Administrators group Added 'shutdown' to the list of allowed shutdown users in gpedit.msc
I have a VPS by my host running on a linux server, and they have given me SSH access. Is it possible to remote desktop into the server, like you can on Windows, so that I can physcially click on things rather than having to use SSH commands?
Surely this must be running on Fedora or Ubuntu etc. so there is some type of OS. You would probably have to install something on the servers end I suppose but just want to know if its possible and what the options are.
I have looked for clues in the sshd.conf etc. But I can't really find anything that give me a hint of why fedora 14 keeps blocking my access.I get all the way into the ssh interface.
So it's not a firewall problem and the port forwarding is working fine. I am using putty to access the machine remote.Anyone have any ideas of what I need to set in ssh or sshd.conf. I am expecting to login with password not with keys.
I have Ubuntu 10.10 on e-machine T-1221 I can shut down the machine using :
sudo shutdown -h from terminal
I can shutdown using powerbutton on case. I can't use the applet indicator powerbutton in root account, but, I can use the command under "System-->-Shutdown" in root account, but I don't see "System-->-Shutdown" in users account. Is there a way to add it ? I installed Debian 6.0 Squeeze on my Acer Aspire 3620 Laptop it works just fine and has the same Gnome Desktop. The only thing different is that there is no powerbutton available thru Gnome applets, only the command on menu under" Sytem-->-Shutdown", which I'm fine with on this machine.
These are the things I tried on emachine T-1221
I tried "acpi=force" I tried "noacpi" I tried "noacpi nolapic"
I read the bug reports it stated that on live-cd there was only suspend and hibernate. There is no shutdown or reboot. I tried: "#start acpi", it closed with errors. It said that Ubuntu uses upstart. Is there a script which you can add to power button to add the shutdown.? Really I don't necessarily need powerbutton, I think the work around would be adding the command to "System-->-Menu.
Whenever I put ssh into remote machine am getting the following messages. Write Failed: Broken Pipe (After logged into that machine ) Read Socket Failed: Connection reset by peer (While trying to log in ) Also known_hosts file is changed frequently.
Can I do a fresh install of CentOS Linux on a remote machine? I have a machine with Windows NT in a remote location. Now I want to use that system as my deployment machine. To proceed with my plan I need to install a Linux OS (have chosen CentOS). The guy there with the machine is not very knowledgeable of the installation process of any OS. So I thought I could install CentOS remotely.how I can achieve this?
Here's the scenario, rsync is running in RMT on tty2. I (LCL) am connected to RMT remotely as root over ssh. Is it possible to grab output of RMT's tty2 on my LCL? I don't want to redirect RMT's tty2 out to my pts, just get a mirror output.
i need to get file from a remote solaris,but i can't telnet or ftp it to directly i have to go via another solaris server ,it goes like this windowsbox-proxyserver-mainserver
I'm using Ubuntu 11.04. I have a Windows XP box in which I've installed SFU 3.5 and Interix (Subsystem for Unix-based Applications). I want to run a batch script on the Windows machine from my Linux box, whether on-demand or in a cron. How do I do this from the Linux side?
My cousin needs some help with his computer (I know a bit more about MS then Linux at this point). He has VISTA HOME EDITION, Which as far as the internet tells me ... cannot do RA without a third party software. But he says he found it and sent the invite to my email. I have already download rdesk (I think that's what I want) so I can initiate a RA from terminal with IP or server URL, But everytime I try to access his through IP it says:
Code: me@linux:$ rdesk ip.cous.comp.here !!--'DISPLAY FAILED TO LAUNCH' me@linux:$
I was going to also look at getting tightVNC, but am not 100% sure it does what I want... Other then this I have no idea what to do. I have never done remote with a Linux and a MS system ...
(By the way, I am running Dreamlinux which is Debian based. It is the latest -far as I know- which is 3.5 built on Lenny stable. My desktop session is Xfce, but I can enable KDE or GNOME for applications that may need it. My cousin and I are 100 miles apart at the moment so this seems to be our only option.
What I'm trying to do is to grant my regular user to locally mount partitions and shutdown the machine without a password. Here is what I've done to /etc/sudoers:
Code:
Host_Alias LOCAL = localhost Cmnd_Alias SHUTDOWN = /sbin/shutdown Cmnd_Alias MOUNT = /bin/mount, /bin/umount <my_username> LOCAL=(root) NOPASSWD: SHUTDOWN, MOUNT %wheel ALL=(ALL) ALL
My user is a member of wheel group and I want to type the password for each sudo command except for shutdown and mount. However I am asked for a password whenever I execute "sudo mount [...]" or "sudo shutdown [...]".
I have a Ubuntu server hosted on Amazon EC2. I need to create an automated backup scheme so I created another Ubuntu instance on my local network which is hosted in a virtual environment. I managed to transfer the necessary files between 2 machines on the same network using the rsync command:
How can I do the same thing but transferring files from my Amazon server to my local server? Is there a way I can achieve this with port forwarding, or by VPN, or anything else? It doesn't have to be rsync. If you know about a better method, kindly let me know.
I recently purchased a linux VPS from [URL] just to learn and play around with. I currently ssh into the machine via Putty from various Windows boxes. Is there anyway to throw some mp3s on the remote server and then have them play locally? Server is currently running Ubuntu Server 10.04.1.
In the past, when I open a gvim session on a remote machine, the title bar of gvim would show the machine name in brackets. I am not sure if this was done by the remote gvim itself, or the local window manager. In the past I have used gnome2, although I am currently using unity (and finding it rather frustrating). Is there some setting I can change to always force remote windows to display the source machine?
There is a way to make a remote access from a Ubuntu Linux to a Windows 7 machine using RDP(Remote Desktop Protocol)? I use "mstsc.exe" for Windows to Windows connections. What is like "mstsc.exe" that I can easily run from Ubuntu?
I would like to setup a remote desktop for my Ubuntu computer so I can use my computer on a Windows computer that is on a different network. How can I do this?
I was looking for:how to access my Linux machine(OpenSuse 11.3) that is being hosted at my hoster company from my home Win Pc, I found TightVNC , but I am confused, should I install it on both systems ( viewer and server) ? .. what about the VirtualBox , can i Access with that tool or it is only for mounting the local Virtual Machines?
I have a server with Fedora 13 installed and vnc-ltsp-config set up for remote desktop access. Seems to be working fine for everything I need, and with KDM instead of GDM, I'm even able to log in as root to Gnome.Which leads me to the problem. Logging in as root and I get the shutdown menu options in the Gnome "start menu". Log in as anyone else, no shutdown options. Logging in to the console as any user and I get the shutdown options.I want to enable the shutdown options for all users remotely. How can I go about doing this?
And I know someone will say "that's a bad idea". Don't worry, this is a small server at my mom's house I set up for her to run some web proxy filtering with Dan's Guardian and Privoxy. Since I'm typically logging in remotely from home using VNC of some flavor, I'd rather be able to reboot or shutdown through the menu (just more "natural" to me). I know I can shut down through the command line, but that's just too much work.
I will be running a network of +- 35 Ubuntu pc's from next year on. I have already started setting up remote desktop viewing utilities, but I now need a way to remotely shut down all the pc's at the same time, with a simple command as Admin. Setting up scripts to execute at a certain time is not gonna help, as the online time wont be the same all the time. I want to avoid having to remotely shut down each and every pc, as this will take quite a lot of time.
I have built a Centos 5.3 server for a friend of mine that is being used as a NAS server. The server has 4 1TB drives in a RAID 5 configuration and a dedicated non raid system drive for the OS. My friend isnt very Linux literate so I need this bow to be relatively simple. I have worked most of it out but have a question with regards to remote reboot.
I need to be able to shut this device down through the power switch without human intervention (at the moment when the power switch is pushed the server asks to confirm shutdown) the server wont have a Monitor connected so this isn't practical. Is it possible to use the power switch to do an clean, immediate shutdown?
The other option is shutdown through a web page is this something that has been done before? I know he can do it through terminal by issuing a shutdown now command but as I said this guy wants something simple. I don't really want to explain everytime he needs to shut the Server down how to do it if he can just do it via a website or even with the power button.
I have Ubuntu 10.10 installed for some time now and I don't boot my Win7 machine in weeks!I love how solid, robust it is... and also how good it looks.Love the features like Ubuntu One (use it a lot!) and the Software Center. I'm 95% converted and I would be 100% if it weren't for 2 issues:
1 - The machine won't shutdown. Rebooting works fine but shutdown it just hangs... Kinda sucks having to press the Power Off button every time...
2 - I'm on a laptop but it doesn't recognize my battery. All I get is a "electric ray" on the panel. Even if I remove AC power it still does the same... No charging information, nothing... I tried
Code: sudo modprobe pmu_battery on the terminal but is says that the module could not be found.
Everything else works terrific (better than Windows!) with this two exceptions...