Results 1 to 9 of 9

Thread: Shutdown Problem

  1. #1
    Join Date
    Feb 2009
    Beans
    86

    Shutdown Problem

    I am having problems shutting down my computer. The screen just hangs on the maroon/pink/purple ubuntu splash screen, (with two out of the three dots coloured red, if that is any use!)

    Does the same for:
    Code:
    sudo shutdown now
    I have recently upgraded to 10.04 (about a week ago?), however the problem only just started occuring (i.e. since yesterday).

    Thankyou.

  2. #2
    Join Date
    Oct 2009
    Beans
    244

    Re: Shutdown Problem

    Try:
    Code:
    sudo shutdown now -P
    that tells it to power off and not just stop the operating system.

  3. #3
    Join Date
    Feb 2009
    Beans
    86

    Re: Shutdown Problem

    Code:
    sudo shutdown now -P
    This did work. However, it is kind of annoying to do that every time I want to shutdown the computer (as opposed to the normal/graphical way).

    Also, can I restart the computer using this it all??

  4. #4
    Join Date
    Mar 2008
    Location
    Southampton, UK
    Beans
    Hidden!

    Re: Shutdown Problem

    You can do a reboot with..


    sudo reboot
    I am Dyslexic of Borg, resemblance is fertile. Your (insert censored word here) will be laminated!
    Registered Linux user #155941

  5. #5
    Join Date
    Oct 2009
    Beans
    244

    Re: Shutdown Problem

    This will remove the extra options but as an interim solution try the following. Right click on a panel and select add to panel. Select custom application launcher. For name, picture and comment put what you want and for command put
    Code:
    gksudo shutdown -P
    You will still have to enter you password but as I say this should only be a temporary solution until someone more experienced gives you a better one.

    As well as the method posted above you can change -P to -r to make it reboot. For a full list see
    Code:
    man shutdown

  6. #6
    Join Date
    Feb 2009
    Beans
    86

    Re: Shutdown Problem

    I am familiar with using:

    Code:
    sudo shutnow now -r
    I use it a bit actually.

    The problem is, if I use -r, I cannot use -P, and the computer doesn't shutdown properly (and therefore doesn't restart). That is, it does the same as before (hangs on the splash screen).

  7. #7
    Join Date
    Nov 2008
    Beans
    479
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Shutdown Problem

    Does
    Code:
    dbus-send --system --print-reply --dest=org.freedesktop.ConsoleKit /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Stop
    shut down the computer or produce any output?

    Is the situation the same when you boot into an older kernel (if you have one)?
    5127d464-4548-4993-a138-f546f2fd2a33

  8. #8
    Join Date
    May 2010
    Location
    Cape Town
    Beans
    24
    Distro
    Ubuntu

    Re: Shutdown Problem

    Quote Originally Posted by djmac View Post
    (as opposed to the normal/graphical way)....
    Somewhere on your screen, mine's on the top right, you'll see your Username. If you click on it, you'll get the options for restarting, shutdown etc. Is that what you mean by "as opposed to the graphical way" ?

  9. #9
    Join Date
    Jul 2007
    Location
    UK
    Beans
    17,042
    Distro
    Ubuntu Development Release

    Re: Shutdown Problem

    https://bugs.launchpad.net/ubuntu/+s...th/+bug/576204

    See the last comment first. And there's an error in the fix post #9 gedit should be used with gksudo

    Code:
    gksudo gedit filename

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •