Saturday, May 4, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 6927  / 2 Years ago, sat, january 29, 2022, 2:19:19

As the title says: when I click Shutdown from the menu it logs off. When I click shutdown from the log-in menu it does nothing. I'm using a fresh install of Ubuntu 11.10. I can force it to shutdown by the command below, but I don't want to keep typing that whenever I want to shutdown my laptop.



sudo shutdown -h now


So it's probably processes which arn't closing. I'm a novice linux user, so I have no idea how to rule out the software causing this. I think it's either Gwibber/Empathy, perhaps Mozilla Thunderbird, because this is happening since I started using this.



So a few questions:




  1. How do I rule out what software is causing this?

  2. How do I stop it from not closing on shutdown?

  3. If 1. and 2. don't work is it possible to add top command to the shutdown process?



Edit: Rourke here. Somehow I cannot accept the below comment from mech-e as the solution. Thank you this was indeed the answer I was looking for!


More From » shutdown

 Answers
5

Is your account set to autologin and is your home folder encrypted? Had same problem and fixed it by turning 'autologin' for user off. Need to do sudo reboot or shutdown -h now from terminal, then either use GUI via User Account settings and turn off autologin or follow these steps from https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/838792 :



raggar (mbaart) wrote on 2011-11-04: #24


I found a possible solution to this bug. It has something to do with the auto login >function in the user management from Unity. When activated it cannot shutdown anymore. >Also disable the auto login is not possible anymore.


What I did:
gksudo gedit /etc/lightdm/lightdm.conf


remove the line:
autologin-user= YOUR USERNAME


Restart your computer with:
sudo shutdown -h now


After that I had a system that worked normally again.



[#41314] Sunday, January 30, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
pantkie

Total Points: 209
Total Questions: 112
Total Answers: 138

Location: Venezuela
Member since Sat, Apr 24, 2021
3 Years ago
pantkie questions
Tue, Feb 14, 23, 07:17, 1 Year ago
Sat, May 8, 21, 05:13, 3 Years ago
Sat, Jun 11, 22, 17:14, 2 Years ago
Thu, Mar 10, 22, 12:32, 2 Years ago
;