Ubuntu :: How To Do A Remote Shutdown For A PC On A LAN
Aug 6, 2011How to Do a Remote Shutdown for a PC on a LAN
View 9 RepliesHow to Do a Remote Shutdown for a PC on a LAN
View 9 RepliesI 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.
View 3 Replies View Relatedow 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)
View 4 Replies View RelatedI 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 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.
This is most likely a Vista config thing, but basically I'm using "net rpc SHUTDOWN -f 192.168.xxx.xxx -U username%password" to remotely shutdown both XP and Vista machines.
The XP machines shutdown fine. They have the same local user account names and passwords as the Vista machines. The Vista machines repond with NT_STATUS_LOGON_FAILURE.
I've checked (way too many times) that my usernames and passwords are correct, Ive disabled the Windows Firewall in Vista, and I've been googling for two days and can't really remember all the other things I've tried.I'm sure it's probably some kind of security thing in Vista, but I barely ever use Vista and don't know where to go from here.
I have installed a cluster computer with 10 nodes . The manufacturer is HP . All nodes and the master node have redhat enterprise linux installed in them . When I shutdown the nodes from the master terminal using "shutdown -h now" they get shutdown . But they dont get completely turned off . This issue bothers me when the power supply is given , all nodes boot up simultaneously generating a huge heat .
Thing to note : When we shutdown our PC they get completely turned off . When the power supply is given , a press on the Power On button is required to boot the system. But , why does it not happpen in the case of cluster? Is there any other way of completely turning off the nodes from the master terminal ?
when my pc boots and shuts down my monitor goes into 'input out of range' mode for a bit between the gui and the text only phases of boot/shutdown.is there a way to fix this? or where to start troubleshooting?also, when it shuts down it hangs after coming back to the text only part
View 4 Replies View RelatedRecently I installed vncserver (tigervnc) on my desktop. Ever since my computer refuses to shutdown normally. At shutdown the following message pops up: Quote: System policy prevents stopping the system when other users are logged in Then I have to enter the root password to shutdown. If I stop vncserver before, the computer shuts down normally.
[Code]....
I cant shutdown without running sudo shutdown. When I try to use the default gnome shut down it takes me back to the logon screen. Fresh install today and I've had the same problem on other installs.
View 9 Replies View RelatedUbuntu will randomly pop up the shutdown menu and then shutdown.It seems to happen when im in firefox and typing and it has been difficult to replicate. I dont think it is a temp issue since watch sensors shows temmp of 40-50C. Someimtes it happens every minute someimtes i can go 10min without it happening.
Dell Inspiron 1525
ubuntu 10.04 (only os on system)
looking for a command that shutdown/reboot my ubuntu just same as process that happened when I press shutdown buttonIn fact I need to close all programs that are running and then PC shutdown (that happened when I press shutdown button).
View 9 Replies View RelatedI cannot locate shutdown log for Linux shutdown to check various activities carried out during shutdown. I can view Startup Log which is availble on console>Applications>System Tools>System Logs.
I have included Shutdown/Startup in dbora, so that Oracle 10gR2 Shutdown/Startup will be automated during OS Shutdown/Startup.
I want to check Shutdown log because Oracle Shutdown was not running, as from $ORACLE_HOME/shutdown.log contains no entries, where as startup log contains latest startup details.
That means here 2 issues are there. One, I want to locate OS Shutdown Log and the other being Why Oracle Shutdown not getting executed.
Canon cameras used to come with a piece of software called remote capture for Windows and MacOS.
You plug in the camera via USB, and then the camera display is on your monitor. From there you can do everything your camera does, like taking pictures of video. Does anyone know if there is linux equivalent software that can do this?
I have found this software, but new cameras aren't supported.
[url]
I'm trying to make a stop motion movie.
I maintain plain vanilla Ubuntu 10.04 systems for several friends. Each machine has only one user, the owner. I use Remote Desktop to instruct and to perform maintenance. Here's my problem:After updating the system, if the kernel has changed, a restart is needed. If I do a restart, I then have to phone the owner to insert his login credentials in the gdm login screen, before I can do anything else via Remote Desktop on that machine.There ought to be a simple way I can avoid the phone call and login myself.
I'd strongly prefer not to use any software that is not included in a plain vanilla Ubuntu 10.04 installation. And I don't want to weaken system security beyond what it is now.Is there a solution? Or, what is the simplest solution?
I did a live upgrade from 11.3 KDE and observe a following issue.When I press the shutdown button on the laptop it initiates the shutdown and shuts down fine but after a significant delay of time (something like 30 seconds). When I click the shutdown button in KDE it initiates the shutdown instantly. This was not the case in 11.3 where the shutdown worked the same regardless of the method that triggered it
View 6 Replies View RelatedI'm trying to reboot the server (shutdown -r now).But it seems like nothing happened.
When I try "shutdown -c", the system prompts "shutdown: cannot find pid of running shutdown."
We're using both SuSe and RHEL servers. Our servers are running behind firewall device and remote root login is disabled in SSH.
We're using NAT.
Remote client connections including failed logins are logged into the /var/log/messages but what is logged are gateway ip of our LAN - the LAN IP of Firewall device.
How can I logged the external or public IP of the remote client?
Further to this LQ thread which Tinkster solved by suggesting the last command (thanks Tinkster) I have been exploring last -x reboot and have found that the reported duration is incorrect for the last reboot and shutdown when a old wtmp file is used. Not having a record for the following shutdown, last assumes that the system has been up until the current time and similarly for the shutdown.
The output comes in time order, latest first, each line showing the time of the reboot and the uptime from then to shutdown. Using last -x reboot shutdown to show the shutdown time, here's an illustration
Code:
shutdown system down 2.6.29.6-smp Sun Mar 7 15:35 - 03:02 (11:27)
reboot system boot 2.6.29.6-smp Sun Mar 7 09:35 (05:59)
09:35 until 15:35 is 05:59.
When the uptime exceeds 24 hours it is shown as (<days>+<hours:minutes) like this
Code:
shutdown system down 2.6.29.6-smp Sun Feb 21 12:39 - 13:20 (00:40)
reboot system boot 2.6.29.6-smp Sat Feb 20 09:39 (1+02:59)
09:39 until 12:39 the next day is 1 day 02:59.
The time in parentheses at the end of the shutdown lines is normally the time until the next shutdown.
So far so good. The incorrect output is for the last reboot and shutdown of an old wtmp file. Here's the output of last /var/log/wtmp -x reboot shutdown; last -f /var/log/wtmp.1 -x reboot shutdown
Code:
[snip]
reboot system boot 2.6.29.6-smp Fri Mar 12 07:42 (01:54)
shutdown system down 2.6.29.6-smp Fri Mar 12 01:31 - 09:37 (08:05)
wtmp begins Thu Mar 11 08:25:26 2010
[snip]
reboot system boot 2.6.29.6-smp Wed Mar 10 14:12 (15+01:42)
shutdown system down 2.6.29.6-smp Wed Mar 10 12:41 - 15:54 (15+03:13)
[snip]
The boot started at "Wed Mar 10 14:12" which had an actual uptime of 1 day 11:20 is reported as 15 days 03:13 which is the time from then until the last -f /var/log/wtmp.1 -x reboot shutdown command was issued. The time from shutdown to shutdown is similarly affected.
I'm new to Ubuntu and have spent several days trying to make a few simple alterations to my Myth 9.10 installation. My biggest task was to get the MCE "power" and "start" buttons working, which they now are - sort of.
The problem is with the shutdown command that the power button activates seems to be different to the shutdown command from the taskbar shutdown menu i.e. when I switch off the computer with the remote it restarts with the "recovery" menu as it wasn't shutdown properly. Same thing happens with the shutdown command from a terminal window. Shutting off from the desktop menu is fine.
I've been using Linux on a more regular basis for the last two months now and have been able to find replacements for most of the software i use in Windows, or by using Wine. But i have one big problem that is keeping me from switching permanently to Linux. I frequently use remote control software to access and control my computers, both at home and to access my computers from remote places over the internet. I've been using NetOp, and more recently RealVNC. The client, or "viewer" part of RealVNC is working fine in both Windows and Linux. It's the host or server part that i can't get to work properly when it comes to VNC. The vnc.so module doesn't work on my system, x0vncserver program seems rather useless since it refuses to load before i have a network connection and this prevents me from start the program automatically as the wireless connection isn't ready and the vncserver command isn't an option since it doesn't display what i see on the actual screen. So, does anyone have a nice solution to this problem? Either to make VNC work or suggest some software that does. Anyway, it has to work on both Windows and Linux, in Linux it has to display the native x display, there must be built-in encryption and preferably be free or open-source software. I'm using Ubuntu 9.10.
View 5 Replies View Relatedcan anyone tell me the difference between "sudo shutdown now" and "sudo shutdown 0"
i know that "sudo shutdown 0" will shutdown the system in 0 seconds. but when i run sudo shutdown now my system goes into the maintenance mode?? what is maintenance mode??
In 10.04 when I go to shutdown it brings me to the login window and I try to shutdown from there and it does nothing. Any work arounds for this bug?
View 9 Replies View RelatedI am currently running Ubuntu 10.10 on my Maxdata ECO4700IW laptop. Everything works great except after I have started utorrent the laptop freezes on the shutdown splash screen. A couple of the dots turn on and then it freezes there. Rebooting works fine however.
I have already tried killing utorrent and wine at the command line using
killall -9 uTorrent.exe
killall wineserver
winserver -k
I was using wine 1.0.2 but downgraded to 1.0.1 however still had the same problem.
I installed ubuntu 10.10 32bit on my computer and it does not shutdown properly, it hangs on the desktop wallpaper. i also installed linux mint 32bit and it has the same problem. but when i installed ubuntu 10.10 64bit, it does not have that problem.
View 5 Replies View RelatedI like 10.04 much better than 9.10. It seems faster and looks great. I had to change the main theme back to "clearlooks", but aside from that, it worked from day one. Just one small annoyance:When I click on shutdown, I get a dialog box...is there any way to bypass this and just shutdown "now", without any further input from me.
View 14 Replies View RelatedI am using ubuntu 9.10. After newly installation, it is quick for starting up and shudown.But I don't know why it becomes so slow that I have to press the power button to shut it down in force. how I can see what the system is doing in the shutdown process. Then maybe I can figure it out which application slows down the shutdown
View 1 Replies View RelatedIs there anything in Karmic that would get something to run at shutdown?I have a US Robotics 56K message modem ( USR5668 ) which receives faxes during the day, and has to switch to answer machine / fax at night. It has a memory when the computer is switched off - which is handy, and all the phones switch over to the message modem extension automatically.All I want is to do is send the command AT+MCA=1 to the serial port ttyS0 at shutdown.
Any sportster owners might say that this goes to answer machine only, so if they want to tell me the correct string for answer/fax please feel free.I do have vm installed (or whatever vgetty calls it),
I would like to make a bash script that shuts down. Problem is... How am I supposed to do this when shutdown requires sudo and ultimately requiring me enter my password as a response?
I.e.
#/bin/bash
#Do: shutdown at xx : xx time
shutdown 23:45
#done (yea just one line...)
How could I make sure my password is given to the sudo response without manually entering it ever time?
How could one make this script run automatically i.e. on startup every time.
I have a recently new, less than 2 weeks old, Ubuntu 10.04 LTS installl. It is a clean install since the prior install of 10.04 LTS decided it would no longer allow me to login.
My problem is that I cannot shutdown or restart my machine. And I have no idea why it happened.