Ubuntu – Must press “Shut Down” twice to shut down in Xubuntu 15.10

15.10dual-bootshutdownxubuntu

I am fairly new to Linux/Ubuntu, and I installed Xubuntu 15.10 on my Windows 10 64-bit PC last week so I can dual-boot. To shut down my computer in Xubuntu, I have to click on "Shut Down" twice before the computer actually powers off. The first time I click it, nothing appears to happen. The second time I click it, Xubuntu shuts down correctly. Is there a way to fix this so I only have to click once?

My specs:

Lenovo Z50-70

  • 8GM DDR3 RAM
  • 1TB HDD
  • Intel Core i7-4510U
  • NVIDIA GeForce 840M

Best Answer

    • If you're using Light Locker, go to the Control Panel and disable it.

    • Afterwards, please run this shell command in order to force a system reboot:

      sudo telinit 6
      

      Note: The command above needs to be run even if you're not using Light Locker.

    • After restarting your computer, does the problem happen again? Test your system a few times. If the problem persists, open /etc/default/grub for editing by running the following command:

      sudo gedit /etc/default/grub
      

      Note: If you don't have Gedit, install it by running this command:

      sudo apt-get install gedit
      
    • The contents of your /etc/default/grub file will look similar to what we see below, except that you'll have to turn GRUB_CMDLINE_LINUX= into GRUB_CMDLINE_LINUX="acpi=force":

      # If you change this file, run 'update-grub' afterwards to update
      # /boot/grub/grub.cfg.
      
      GRUB_DEFAULT=0
      GRUB_HIDDEN_TIMEOUT=0
      GRUB_HIDDEN_TIMEOUT_QUIET=true
      GRUB_TIMEOUT="10"
      GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
      GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
      GRUB_CMDLINE_LINUX="acpi=force"
      
      # Uncomment to disable graphical terminal (grub-pc only)
      #GRUB_TERMINAL=console
      
    • Now run this command in order to update GRUB and force a system restart:

      sudo update-grub && sudo telinit 6
      

    If the problem still persists, click "Shut Down" only once, then run the following commands and paste their output here:

    dmesg
    uname -a
    
  • Related Question