Page 1 of 4 123 ... LastLast
Results 1 to 10 of 38

Thread: "Google chrome didn't shut down correctly." message after restart.

  1. #1
    Join Date
    Feb 2007
    Beans
    784
    Distro
    Ubuntu Development Release

    "Google chrome didn't shut down correctly." message after restart.

    Hi

    When I restart / shutdown without closing Chrome, the next time I open it I get the "Google chrome didn't shut down correctly." message. I guess this is to be expected but can anyone suggest a way to close chrome elegantly on shutdown / reboot?
    To err is human, but not uniquely so.

  2. #2
    Join Date
    Mar 2008
    Beans
    115

    Re: "Google chrome didn't shut down correctly." message after restart.

    It is very elegant to close Chromium via the X button... or write a kill script which runs on shutdown.
    Being a target means being on the internet. End of line.
    Takedown blog (hungarian)

  3. #3
    Join Date
    Feb 2007
    Beans
    784
    Distro
    Ubuntu Development Release

    Re: "Google chrome didn't shut down correctly." message after restart.

    Quote Originally Posted by sh4d0w808 View Post
    It is very elegant to close Chromium via the X button... or write a kill script which runs on shutdown.
    Very droll...

    The kill script on shutdown sounds like what I am after - how would I do that?
    To err is human, but not uniquely so.

  4. #4
    scouser73's Avatar
    scouser73 is offline Iced Blended Vanilla Crème Ubuntu
    Join Date
    Mar 2008
    Beans
    1,663
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Wink Re: "Google chrome didn't shut down correctly." message after restart.

    Just clicking x should shut down Chrome without you seeing a message next time it's used.

  5. #5
    Join Date
    Apr 2007
    Location
    Eastern USA
    Beans
    416
    Distro
    Ubuntu

    Re: "Google chrome didn't shut down correctly." message after restart.

    Quote Originally Posted by ubername View Post
    Very droll...

    The kill script on shutdown sounds like what I am after - how would I do that?
    I don't know, I'd have to agree with his Idea, the "x" is very effective.

    That being said, there's always man pages dealing with the kill command:
    Code:
    man kill
    I'm worried though that using kill will give you the same effect ask shutting down, since shutting down really just calls the kill command.

  6. #6
    Join Date
    Mar 2008
    Beans
    115

    Re: "Google chrome didn't shut down correctly." message after restart.

    I do not know, why the X is not enough good, but then write a script which query only chromium-browser processes, awk it to get only the process ID, then put it to the suitable rc directory and runs it before the GUI shuts down... I think it will be so hard...
    Being a target means being on the internet. End of line.
    Takedown blog (hungarian)

  7. #7
    Join Date
    Feb 2010
    Location
    Cambridge, NY
    Beans
    3
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: "Google chrome didn't shut down correctly." message after restart.

    If your cumputer siezes up, there is not really anything you can do about it, but usualy, you can restore the previous tabs. Otherwise, simply clicking the 'X' botton (or indevidualy closing all the tabs) should work fine.

  8. #8
    Join Date
    Feb 2007
    Beans
    784
    Distro
    Ubuntu Development Release

    Re: "Google chrome didn't shut down correctly." message after restart.

    Sorry, I seem to have created the wrong impression here. I can perfectly well shut chrome with the 'x' button, and my computer is not freezing up.

    My point is that I want to be able to simply restart the computer without doing that (or closing any other apps), and still have chrome behave as if I had closed it 'cleanly'. I have set my preferences to remember what I had open when I last logged in and it seems to work fine, except that chrome has this 'feature'.
    To err is human, but not uniquely so.

  9. #9
    Join Date
    Apr 2007
    Location
    Eastern USA
    Beans
    416
    Distro
    Ubuntu

    Re: "Google chrome didn't shut down correctly." message after restart.

    Quote Originally Posted by ubername View Post
    I have set my preferences to remember what I had open when I last logged in and it seems to work fine, except that chrome has this 'feature'.
    Short of screwing around with chrome I'm not sure what you'd do.

    I'm sure you know all about kill... It won't close the program the way it was "intended" since chrome probably has some mechanism to detecting if the program was closed the way it wanted.

    I wonder how hard it would be to disable this feature.
    It's interesting because Firefox doesn't complain at all about being closed by an outside program.... well, sometimes it gives me "this is embarrassing" and then goes to restore all my tabs (even though it failed??)

  10. #10
    Join Date
    Feb 2007
    Beans
    784
    Distro
    Ubuntu Development Release

    Re: "Google chrome didn't shut down correctly." message after restart.

    Interesting - Chrome now doesn't start automatically when I login again (I wonder if I am imagining that it ever did?) Whatever - even if I set the preferences in chrome to 'open the following pages' on startup, I still get the message about not shutting down cleanly (which does kind of make sense) when I manually restart it.
    Last edited by ubername; April 15th, 2010 at 10:19 AM.
    To err is human, but not uniquely so.

Page 1 of 4 123 ... LastLast

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
  •