Ubuntu :: Can't Shutdown Without Running Sudo Shutdown

Jun 20, 2010

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


ADVERTISEMENT

Server :: Unable To Shutdown/reboot Server, No Shutdown Process Running?

Mar 30, 2010

I'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."

View 5 Replies View Related

Ubuntu :: Difference Between "sudo Shutdown Now" And "sudo Shutdown 0"

Nov 30, 2010

can 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??

View 2 Replies View Related

Server :: Shutdown The Nodes From The Master Terminal Using "shutdown -h Now" Get Shutdown?

Dec 10, 2010

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 ?

View 1 Replies View Related

Ubuntu :: Monitor Out Of Sync During Boot And Shutdown (also Shutdown Hang)?

Jun 30, 2010

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 Related

Debian :: Reboot/shutdown Command Without Sudo?

Mar 11, 2011

I've added entries to my Openbox menu labeled Reboot and Shutdown. Problem is, reboot and shutdown h only work as root, and I never login as root. I've tried su-to-root -c reboot, but the menu entries remain unresponsive. I do not have sudo installed because I feel it is a security issue. However, I found that sudo reboot works with the menu entry, but only if my account is set to use sudo without a password in /etc/sudoers. I use tint2 as my panel, but have had no luck with finding a shutdown/reboot button.

View 4 Replies View Related

Fedora :: Shutdown Policy Triggered By Vncserver - Computer Refuses To Shutdown Normally

Feb 5, 2011

Recently 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]....

View 2 Replies View Related

General :: Locate Shutdown Log For Linux Shutdown (RHL 5.1-2.6.18-53.el5PAE)

Apr 22, 2010

I 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.

View 2 Replies View Related

Ubuntu :: Randomly Pop Up The Shutdown Menu And Then Shutdown?

Sep 7, 2010

Ubuntu 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)

View 3 Replies View Related

Ubuntu :: Shutdown Command Like Shutdown Button?

Dec 10, 2010

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 Related

Ubuntu :: Scripts At Boot And Shutdown Not Running?

Jan 16, 2011

I have a small but annoying problem... I have two scripts that I want to run automatically one at boot and one at shutdown. For the one at boot I tried to put it in rc.local or to create a file in /etc/init.d/ based on the others files in the folder but nothing worked... I need it to run system-wide and not once a specific user is logged in.

For the script at shutdown I don't know how to do it but it can be user specific or system-wide I don't really care. I am running Ubuntu 10.10 64bits with kernel 2.6.35-24-generic

PS. I should add that when executed manually both scripts works perfectly well and I don't need those script to run continuously in the background, just run and quit.

View 9 Replies View Related

Fedora :: Running A Script At Shutdown?

Jun 25, 2010

i want to run a script when computer shutdown to close my teamspeak2 serveri know how to start it automatically http://www.fedorafaq.org/basics/#startonbooti found a good start stop script for ts2Quote:

#! /bin/bash
# Copyright (c) 2004 TeamSpeak team All rights reserved.
#

[code]...

View 4 Replies View Related

General :: Shutdown A Box Without Running Init 0?

Sep 30, 2010

I want to shutdown my computer as if power was cut off (don't ask me why). How do I do this under Linux?

View 6 Replies View Related

Ubuntu :: Shutdown From Grub - Get A Black Screen But The Pc Is Still Running

Jan 29, 2011

I'm use ubuntu 8.10 ( on a msi 645 notebook ) and i'm trying to shutdown from grub. I have add these entries to menu.lst after the ### END AUTOMAGIC KERNEL LIST

title Halt
halt

I only get a black screen but the pc is still running someone said it only put grub to sleep or something. I also tried this commands sudo shutdown -h now or init 0, poweroff... but there all "unrecognized commands" in grub... Is there a possibilty to shutdown from grub.

View 6 Replies View Related

General :: Correct Way To Shutdown System While Apt-get Still Running

Sep 9, 2011

What's the correct way to shutdown system while apt-get is still running? apt-get complains about unclean shutdown when I just shutdown computer.

View 2 Replies View Related

General :: Which Parameters Can Be Used To Shutdown A Computer Running OSX In 30 Seconds

May 12, 2011

Simple question: what parameters can be used to shutdown a computer running Linux/OSX in 30 seconds? I've always run Windows, where I would go shutdown -s -t 30 but the parameters are different. I've looked it up here but it will only let you shut a computer down at a specific time (like 8:00) rather than in a specific amount of seconds.

View 4 Replies View Related

Ubuntu :: No Option To Hibernate / "sudo Shutdown Now" Causes Crash

Apr 25, 2011

Gigabyte P55-USB3 mobo,
ATI Radeon HD 5800 Series graphics card,
8 GB ram

Ubuntu installed after Win7. Dual boot Win7 and Ubuntu 10.04, shared NFTS partition for Downloads and Documents, Grub setup to load Ubuntu by default. I can use the option to hibernate in Windows (but it is disabled by default). I would very much like to enable the "Hibernate" function on this machine, but there is no option for it in the menus. "sudo shutdown now" in a Terminal results in a screen that resembles the login screen background, but the machine is completely irresponsive and must be silenced by long-pressing the physical power button. When I use the GUI to shut down, everything works fine. Perhaps related: When waking the machine from the screen saver, the login window does not turn up before I press the "Esc" button. I am using a standard Gnome screen saver. Perhaps related: The Grub boot screen is getting more and more options every time the Linux kernel is updated.

View 4 Replies View Related

General :: Disable The Terminal Beep When Running The Shutdown Command?

Sep 3, 2009

I've used the following script here: [URL] to upgrade Alsa to 1.0.21 in Ubuntu 8.04. Now whenever I run:

Code:

sudo shutdown -h <time> or sudo reboot from the terminal I get a rather annoying beep sound. What's even more annoying is if I use the shutdown command to specify a time I get a beep every 10 minutes or so.
I've tried disabling the terminal beep in the terminal profile, disabling the beep in System/Preferences/Sound, adding "blacklist pcspkr" to /etc/modprobe.d/blacklist, and running gconf-editor from the terminal and setting /desktop/gnome/peripherals/keyboard/bell_mode to 'off' rather than 'on'.

View 6 Replies View Related

OpenSUSE Install :: OpenSUSE 11.4 Delayed Shutdown While Pressing The Shutdown Button?

Mar 12, 2011

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 Related

Debian :: Fighting With Making Running A Script At Startup Only But Not At Shutdown/reboot?

Nov 30, 2010

So I found many methods on google, but no one works. It seems that this one is THE Debian way.

Code:
### BEGIN INIT INFO
# Provides: mystartupscript

#[code]...

View 5 Replies View Related

General :: [FYI] "last -f <old Wtmp> -x Reboot Shutdown" Incorrect For Last Reboot And Shutdown?

Mar 25, 2010

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.

View 1 Replies View Related

Ubuntu :: "shutdown" In Terminal Vs "shutdown" In Desktop

Feb 26, 2010

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.

View 9 Replies View Related

Ubuntu :: 10.04 Pc Will Not Shutdown?

May 2, 2010

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 Related

Ubuntu :: 10.10 Will Not Shutdown ?

Oct 29, 2010

I 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.

View 4 Replies View Related

Ubuntu :: 10.10 Will Not Shutdown?

Jan 16, 2011

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 Related

Ubuntu :: How To Do Immediate Shutdown

Mar 15, 2011

I 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 Related

Ubuntu :: 9.10 Shutdown Is Slow?

Mar 15, 2010

I 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 Related

Ubuntu :: Is There Anything In Karmic That Would Get Something To Run At Shutdown?

Mar 18, 2010

Is 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),

View 4 Replies View Related

Ubuntu :: Using Bash To Shutdown?

May 1, 2010

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.

View 2 Replies View Related

Ubuntu :: Cannot Shutdown Or Restart 10.04

May 17, 2010

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.

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved