Everytime I either reboot or shutdown and later turn on my computer I get the message that Chrome didn't shut down properly.

I am using the reboot/shutdown from the Application Launcher (not cli). This persists on both Debian and flavors of Ubuntu. Currently I am running Kubuntu 17.10 (but the problem was also on Kubuntu 17.04). I have tried the following "workarounds", but they do not work.

  1. Unselecting the Continue running background apps when Google Chrome is closed

  2. Placing a script called K99-close-google-chrome (with +x permissions) in both the /etc/rc0.d and /etc/rc6.d folders

    killall chrome
    sleep 5
    exit 0

I see posts dating all the way back to 2012 of this being an issue and none of them ever have a clear answer. Is there no fix for this problem and if so why? This isn't an issue on Windows or Mac, so why is it on Linux?

  • Could it be a problem with your profile? I don't have this issue with Google Chrome on Kubuntu 16.04.
    – DK Bose
    Feb 2, 2018 at 16:34
  • @dk-bose I have one profile (and the guest). What could be wrong with my profile that is causing this issue?
    – werdho
    Feb 2, 2018 at 18:09
  • Many of the files in the profile aren't plain text files and so understanding what could be wrong is difficult to say.
    – DK Bose
    Feb 2, 2018 at 18:14
  • xkcd.com/979 is probably very related to this problem. Especially considering this has been a problem since 2012 and this question still doesn't have an answer...
    – Joeytje50
    May 25, 2019 at 12:36
  • Have you tried closing Google Chrome directly before turning the PC off? :) I experienced the same problem only when I didn't close it.
    – user45853
    Dec 13, 2019 at 9:35

1 Answer 1


I used this solution for Ubuntu 20.04.

Add this at the bottom of your .bash_logout file located in your home directory (If it does not exists create it).

pkill chrome

It will always close chrome properly whenever you shutdown or reboot.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.