Results 1 to 7 of 7

Thread: Whats the correct way to shut down when machine locks?

  1. #1
    Join Date
    Jun 2009
    Beans
    13

    Whats the correct way to shut down when machine locks?

    Hi
    My installation is a little flakey at the moment and I am getting several frozen sessions.
    I windows I do a CTRL-ALT-DEL to give me a task manager which I can choose to shut applications or do a restart.
    What is a similar thing to do in Ubuntu?

  2. #2
    Join Date
    Apr 2006
    Location
    London
    Beans
    212
    Distro
    Ubuntu

    Re: Whats the correct way to shut down when machine locks?

    There are a few things you can do:

    - use GNOME System Monitor to kill the offending process(es) - sort by CPU to see the processor hogs. Best to run this all the time.

    - Ctrl/Alt/Backspace - this kills your X Windows session (GNOME/KDE etc, and all applications) so it's quite drastic. You should then be able to log in again.

    - Alt/SysRq and R, S, E, I, U, B - this will save any in memory data to disk, kill all processes, unmount all filesystems, and then reboot. You must hold down both Alt and SysRq while doing all the R, S etc characters. The acronym is Raising Skinny Elephants Is Utterly Boring .... Search for 'magic sysrq key' to find out more.

    The latter is not much different to turning off the power, but a little safer for your disks.

    See http://ubuntuforums.org/showthread.php?t=47990 as well.

  3. #3
    Join Date
    Dec 2007
    Location
    Aberystwyth, Wales
    Beans
    Hidden!
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Whats the correct way to shut down when machine locks?

    Quote Originally Posted by Cato2 View Post
    - Ctrl/Alt/Backspace - this kills your X Windows session (GNOME/KDE etc, and all applications) so it's quite drastic. You should then be able to log in again.
    As of 9.04, this ability has been removed.

  4. #4
    Join Date
    Apr 2008
    Location
    Melbourne, Australia
    Beans
    227
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Whats the correct way to shut down when machine locks?

    Above suggestions +

    If you can open a terminal, type
    Code:
    sudo reboot -n
    to reboot

    If you can not open a terminal box try Holding Ctrl Alt F2
    which should take you to a non GUI terminal where you will need to login and try above suggestions.

    Ctral Alt F7 gets you back to GUI session
    Multi Boot Ubuntu 10.04 64bit, ******* 7 & XP SP3 on
    Intel E5200 Dual Core 2.5Ghz| 4 Gb DDR2 Ram

    10.04 UNR on eeePC 1000HA
    Linux is NOT Windows

  5. #5
    Join Date
    Apr 2009
    Beans
    74
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Whats the correct way to shut down when machine locks?

    Quote Originally Posted by CLomax View Post
    As of 9.04, this ability has been removed.
    no it hasnt been removed

    it is deactivated (cuz of accidental xkill)

    install dontzap via synaptic and run sudo dontzap --disable to reenable

  6. #6
    Join Date
    Jul 2009
    Beans
    74

    Post Re: Whats the correct way to shut down when machine locks?

    No need.


    Navigate up to System Preferences -> Keyboard Shortcuts.

    There is already a shortcut enabled for Ctrl + Alt + Del, its named Log Out, look for it, then click on the shortcut keys and hit backspace I think.

    Then make a new shortcut, and the command for it will be "gnome-system-monitor" Name it whatever you want, and make the shortcut ctrl alt delete, or something else if you'd like, use the key grabber to make the shortcut it might be easier for you.

    Then the newly created shortcut will be at the bottom of that window so scroll down and
    thats where you make the hot keys for it.

  7. #7
    Join Date
    Oct 2006
    Location
    Lyon, France
    Beans
    839
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Whats the correct way to shut down when machine locks?

    Quote Originally Posted by Cato2 View Post
    - Alt/SysRq and R, S, E, I, U, B - this will save any in memory data to disk, kill all processes, unmount all filesystems, and then reboot. You must hold down both Alt and SysRq while doing all the R, S etc characters. The acronym is Raising Skinny Elephants Is Utterly Boring .... Search for 'magic sysrq key' to find out more.
    I would like to add that since this is implemented at the kernel level, it will almost always work, even if X is frozen, and even in the rare case where you can't even access a console.
    This is the first age that's paid much attention to the future, which is a little ironic since we may not have one.
    -- Arthur C. Clarke

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
  •