(Solved) Mint 22.2 Hangs on Shutdown

Installed Mint 22.2, hated it for all the password demands, reloaded Mint 21 and fell back in love with Mint.
 


Did you try to hit ESC when you poweroff? maybe it show's a hanging systemd job
 
Installed Mint 22.2, hated it for all the password demands, reloaded Mint 21 and fell back in love with Mint.
There should be no additional demands for password from 22 than from 21.

When shutting down, if there are any apps still open/running, Mint will show them on the screen.

if this is not happening, I would take a guess that either Fastboot or Secure Boot are still enabled.
Of the two, I would think maybe fastboot would be the culprit.

Tap the appropriate key to enter the bios from startup. Locate both secure boot and fastboot and disable them

I forget the brand of pc/laptop you have....hence the list below:



How to get into BIOS?

Acer: F2 or DEL

ASRock: F2 or DEL

ASUS: F2 for all PCs, F2 or DEL for motherboards

Dell: F2 or F12

ECS: DEL

Gigabyte/Aorus: F2 or DEL

HP: F10 or ESC

Lenovo (Consumer Laptops): F2 or Fn + F2

Lenovo (Desktops): F1

Lenovo (ThinkPads): Enter then F1

MSI: DEL

Microsoft Surface Tablets: Press and hold the volume up button

Origin PC: F2

Samsung: F2

Toshiba: F2

Zotac: DEL

Tap the key immediately after hitting the start button

When you turn off secure boot, fastboot, etc etc....BE SURE to SAVE those changes....usually by tapping F10...
 
There should be no additional demands for password from 22 than from 21.

When shutting down, if there are any apps still open/running, Mint will show them on the screen.

if this is not happening, I would take a guess that either Fastboot or Secure Boot are still enabled.
Of the two, I would think maybe fastboot would be the culprit.

Tap the appropriate key to enter the bios from startup. Locate both secure boot and fastboot and disable them

I forget the brand of pc/laptop you have....hence the list below:



How to get into BIOS?

Acer: F2 or DEL

ASRock: F2 or DEL

ASUS: F2 for all PCs, F2 or DEL for motherboards

Dell: F2 or F12

ECS: DEL

Gigabyte/Aorus: F2 or DEL

HP: F10 or ESC

Lenovo (Consumer Laptops): F2 or Fn + F2

Lenovo (Desktops): F1

Lenovo (ThinkPads): Enter then F1

MSI: DEL

Microsoft Surface Tablets: Press and hold the volume up button

Origin PC: F2

Samsung: F2

Toshiba: F2

Zotac: DEL

Tap the key immediately after hitting the start button

When you turn off secure boot, fastboot, etc etc....BE SURE to SAVE those changes....usually by tapping F10...
Thanks, the problem wasn't with startup or shutdown. It was even in the middle of using an application. No worries! Back to Mint 21.
 
Were any permissions changed/altered for any of those apps ?...Are the apps from the Software Repository, or are they third party apps ?

The behaviour is weird, I have not struck that, ever.

So I have it right......you are saying it pops up a 'authentication required' box asking for a password input while you are in the middle of using an app ?

Does it happen with a specific app or apps ?
 
Last edited:
Its probably because his account doesn't have sudo rights.
Code:
sudo nano /etc/group

You have to make sure your user account is listed for sudo in the above file.
Code:
sudo:x:27:yourusername

If it isn't its a simple matter of typing your username in the sudo line and saving the file.
 
Its probably because his account doesn't have sudo rights.
Code:
sudo nano /etc/group

You have to make sure your user account is listed for sudo in the above file.
Code:
sudo:x:27:yourusername

If it isn't its a simple matter of typing your username in the sudo line and saving the file.
As the downloader, the maker of the install medium, the installer who set myself up as administrator, I've never had to tell the thing who I am after installation. Anyway - no quarrels, I'll just go back to what works (and by the way looks better). I just assumed the issues with 22.2 wanting my password all the time, were part of the world-wide tightening of security. But you know what? I think you're right, the thing acted as if I didn't have sudo rights.
 
You can also just simply do a timeshift backup and then do a full upgrade to 22.2. Should work. If anything is wrong you can use timeshift to roll back to the saved snapshot.
 
Do you have Timeshift set up and snapshots saved?

If so, try this:

Code:
sudo usermod -aG sudo username

This comes from : https://forums.linuxmint.com/viewtopic.php?t=224669
The actual post is this one :



Post by xenopeek » Mon Jul 04, 2016 2:50 am


It would appear your user isn't a member of the "sudo" group and the sudo configuration doesn't give your user permission to run that command in another way. You can confirm what groups your user is a member of with the command groups.

Is this an account you set up after installing Linux Mint 18? Then log in to the account set up during installation of Linux Mint 18 (the first account on your system) and if so desired add your user to the sudo group from there. You do so with the command sudo usermod -aG sudo username (replace username with the username of the user to add to the sudo group).

If for some reason you removed yourself from the "sudo" group and don't have another account with sudo permissions on your system, then run the command su to log in as root. The password of root is the password that you set during installation of Linux Mint for the first user (if you changed the first user's password after installation, this would not have changed root's password). Once logged in as root run the command usermod -aG sudo username (replace username with the username of the user to add to the sudo group).

Image




Top
You will need to log out, or preferably reboot after
 
Instead of manually going in to set something that wasn't automatically set during installation, or instead of playing with this and that trying to get 22 to work the way I want, I'm shamelessly taking the easy way out - continuing with Mint 21 (It was working so well, I can't imagine why anyone would want to change it, especially in the user environment. In some parts of the U.S. we have a saying: "If it ain't broke, don't fix it.") This is the kind of thing that had me divorcing microwhatever when, after Win 7, they just had to muck it up.
 
Cool, Understood.
 
The problem with Mint 22.2 is kernel 6.14...you can remove this one and install Kernel 6.8 or go back to Mint 22.1.
1763243662510.gif
 
@Scribe1, if, for some reason, you are tempted to run 22.2 again....there is an easy fix for kernel 6.14.

When the pc boots....in the grub screen....tap the down arrow and select the 6.8.x.x kernel and then tap Enter

The pc will boot to the 6.8 quite happily.

Then, Update Manager>> View>> Kernels. Find the 6.14.0-35 kernel, highlight it (single click) and select Remove.

When the pc reboots or boots again, it will not have the choice of booting to 6.14, so it will automagically select 6.8.x.x
 
Just a heads up folks - the problems @Scribe1 has experienced between two point versions of Linux Mint are not on topic with what the OP was asking about, namely about hanging on shutdown.

Please stay on topic.

TIA

Wizard
 
Just a heads up folks - the problems @Scribe1 has experienced between two point versions of Linux Mint are not on topic with what the OP was asking about, namely about hanging on shutdown.

Please stay on topic.

TIA

Wizard
I do apologize! Sorry about hijacking the thread.
 
oops !
 


Follow Linux.org

Members online


Top