[SOLVED] I have to tell the OS twice to shut down or restart
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have to tell the OS twice to shut down or restart
I am running Linux Mint 20.3 Cinnamon. When I do Menu, Quit, Shut Down (or Restart) nothing happens. I have to do that twice in order to shut down or restart. To Suspend I only have to do it once. I have had this problem for many years through many versions of Linux Mint. I have a separate partition for Home and Root. so every time I upgrade the OS I leave Home untouched. Any suggestions would be welcome.
I'm wondering if the GUI shutdown function is issuing a shutdown command but with a timer delay (rather like shutdown without specifying now)?
In addition to trying frankbell's suggestion of shutting down the machine with systemctl poweroff or shutdown now, have you tried issuing a shutdown through the GUI once, but waiting a couple of minutes to see if it eventually initiates the shutdown?
Another option to see if the GUI shutdown function is issuing a timed shutdown is to run journalctl as root, scrolling to the bottom of the output with End and then using the GUI shutdown button and seeing if there's a broadcast message about the system being powered off at a particular time.
Last edited by valeoak; 10-16-2022 at 04:06 AM.
Reason: Suggestion of looking at journalctl
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
I see this happen when I have VirtualBox's management window open (the one you start them from) and the first go shuts that then the second shuts down my machine. Perhaps you have a similar thing open?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.