Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[O/S] Won't close down can anyone please offer suggestions

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
rmmon
Posts: 7
Joined: 2023-12-19 11:19

[O/S] Won't close down can anyone please offer suggestions

#1 Post by rmmon »

I am fairly new to Debian and am having problems with my laptop not closing down.
Info:
Latest Debian 12.4
Gnome
HP envy i7 8th

Syptoms:
If I shut down my laptop then approximately 6 times out of 10 it doesn't. It hangs with a blank screen but with the light illuminated on my on off button on my laptop. If I then hold the on off button on my laptop for about 10 seconds it then closes down.

Any suggestions on how to please fix this. Many thanks for any help

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2120
Joined: 2010-06-07 16:59
Has thanked: 38 times
Been thanked: 232 times

Re: [O/S] Won't close down can anyone please offer suggestions

#2 Post by FreewheelinFrank »

I can't remember offhand if Gnome uses Plymouth by default. If you hit Esc during shutdown, do you see the shutdown messages? Normally you would see a message about what shutdown is waiting for, unless the plymouth shutdown animation is hiding it.

After rebooting from a freeze, is there anything in the journal concerning the shutdown? If the system froze before the journal was stopped, maybe not.

Code: Select all

# journalctl -b -1  -n 20

rmmon
Posts: 7
Joined: 2023-12-19 11:19

Re: [O/S] Won't close down can anyone please offer suggestions

#3 Post by rmmon »

Many thanks for your reply.

Unfortunately/fortunately my laptop hasn't failed to shutdown properly for the last four times I tried?!?

I shall try a few more times and if it does fail then I shall try both esc and the journalctl thing and post back.

Many thanks again!

rmmon
Posts: 7
Joined: 2023-12-19 11:19

Re: [O/S] Won't close down can anyone please offer suggestions

#4 Post by rmmon »

Happened again. Wouldn't shut down. The 'esc' key has no effect, all I can see is a blank screen.

User avatar
pbear
Posts: 331
Joined: 2023-08-27 15:05
Location: San Francisco
Has thanked: 1 time
Been thanked: 57 times

Re: [O/S] Won't close down can anyone please offer suggestions

#5 Post by pbear »

Boot the system (perhaps you already have). Run the command Frank gave you. Post the output in your next reply using code tags. Notice you run the command as root. If not familiar, you do that by running su - in Terminal. The space between su and the hyphen is essential. At the prompt, enter root's password, which you should have set during installation. By the way, Frank, checking a Gnome VM, it does use Plymouth.

rmmon
Posts: 7
Joined: 2023-12-19 11:19

Re: [O/S] Won't close down can anyone please offer suggestions

#6 Post by rmmon »

Thanks again. This is the output. Sub question bluetooth headphones not working but do work on windows on the same laptop. Sony WH-CH520

Hint: You are currently not seeing messages from other users and the system.
Users in groups 'adm', 'systemd-journal' can see all messages.
Pass -q to turn off this notice.
Dec 27 12:40:42 H systemd[1350]: Stopped target basic.target - Basic System.
Dec 27 12:40:42 H systemd[1350]: Stopped target paths.target - Paths.
Dec 27 12:40:42 H systemd[1350]: Stopped target sockets.target - Sockets.
Dec 27 12:40:42 H systemd[1350]: Stopped target timers.target - Timers.
Dec 27 12:40:42 H systemd[1350]: Closed dbus.socket - D-Bus User Message Bus So>
Dec 27 12:40:42 H systemd[1350]: Closed dirmngr.socket - GnuPG network certific>
Dec 27 12:40:42 H systemd[1350]: Closed gcr-ssh-agent.socket - GCR ssh-agent wr>
Dec 27 12:40:42 H systemd[1350]: Closed gnome-keyring-daemon.socket - GNOME Key>
Dec 27 12:40:42 H systemd[1350]: Closed gpg-agent-browser.socket - GnuPG crypto>
Dec 27 12:40:42 H systemd[1350]: Closed gpg-agent-extra.socket - GnuPG cryptogr>
Dec 27 12:40:42 H systemd[1350]: Closed gpg-agent-ssh.socket - GnuPG cryptograp>
Dec 27 12:40:42 H systemd[1350]: Closed gpg-agent.socket - GnuPG cryptographic >
Dec 27 12:40:42 H systemd[1350]: Closed pipewire-pulse.socket - PipeWire PulseA>
Dec 27 12:40:42 H systemd[1350]: Closed pipewire.socket - PipeWire Multimedia S>
Dec 27 12:40:42 H systemd[1350]: Closed pk-debconf-helper.socket - debconf comm>
Dec 27 12:40:42 H systemd[1350]: Removed slice app.slice - User Application Sli>
Dec 27 12:40:42 H systemd[1350]: app.slice: Consumed 3min 29.210s CPU time.
Dec 27 12:40:42 H systemd[1350]: Reached target shutdown.target - Shutdown.
Dec 27 12:40:42 H systemd[1350]: Finished systemd-exit.service - Exit the Sessi>
Dec 27 12:40:42 H systemd[1350]: Reached target exit.target - Exit the Session.
lines 1-20/20 (END)

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2120
Joined: 2010-06-07 16:59
Has thanked: 38 times
Been thanked: 232 times

Re: [O/S] Won't close down can anyone please offer suggestions

#7 Post by FreewheelinFrank »

rmmon wrote: 2023-12-27 20:39 Thanks again. This is the output. Sub question bluetooth headphones not working but do work on windows on the same laptop. Sony WH-CH520

Hint: You are currently not seeing messages from other users and the system.
Users in groups 'adm', 'systemd-journal' can see all messages.
Pass -q to turn off this notice.
Dec 27 12:40:42 H systemd[1350]: Stopped target basic.target - Basic System.
Dec 27 12:40:42 H systemd[1350]: Stopped target paths.target - Paths.
Dec 27 12:40:42 H systemd[1350]: Stopped target sockets.target - Sockets.
Dec 27 12:40:42 H systemd[1350]: Stopped target timers.target - Timers.
Dec 27 12:40:42 H systemd[1350]: Closed dbus.socket - D-Bus User Message Bus So>
Dec 27 12:40:42 H systemd[1350]: Closed dirmngr.socket - GnuPG network certific>
Dec 27 12:40:42 H systemd[1350]: Closed gcr-ssh-agent.socket - GCR ssh-agent wr>
Dec 27 12:40:42 H systemd[1350]: Closed gnome-keyring-daemon.socket - GNOME Key>
Dec 27 12:40:42 H systemd[1350]: Closed gpg-agent-browser.socket - GnuPG crypto>
Dec 27 12:40:42 H systemd[1350]: Closed gpg-agent-extra.socket - GnuPG cryptogr>
Dec 27 12:40:42 H systemd[1350]: Closed gpg-agent-ssh.socket - GnuPG cryptograp>
Dec 27 12:40:42 H systemd[1350]: Closed gpg-agent.socket - GnuPG cryptographic >
Dec 27 12:40:42 H systemd[1350]: Closed pipewire-pulse.socket - PipeWire PulseA>
Dec 27 12:40:42 H systemd[1350]: Closed pipewire.socket - PipeWire Multimedia S>
Dec 27 12:40:42 H systemd[1350]: Closed pk-debconf-helper.socket - debconf comm>
Dec 27 12:40:42 H systemd[1350]: Removed slice app.slice - User Application Sli>
Dec 27 12:40:42 H systemd[1350]: app.slice: Consumed 3min 29.210s CPU time.
Dec 27 12:40:42 H systemd[1350]: Reached target shutdown.target - Shutdown.
Dec 27 12:40:42 H systemd[1350]: Finished systemd-exit.service - Exit the Sessi>
Dec 27 12:40:42 H systemd[1350]: Reached target exit.target - Exit the Session.
lines 1-20/20 (END)
Please edit and put output in code tags. (Highlight and hit the </> button.)

It looks like this was not done as root: see pbear's post above.

User avatar
pbear
Posts: 331
Joined: 2023-08-27 15:05
Location: San Francisco
Has thanked: 1 time
Been thanked: 57 times

Re: [O/S] Won't close down can anyone please offer suggestions

#8 Post by pbear »

FreewheelinFrank wrote: 2023-12-27 21:48 (Highlight and hit the </> button.)
Alas, not enabled on this Forum. Instead, rmmon, you have to type in code tags manually. In fairness, I should have included that link originally, but didn't have it handy at the time.

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2120
Joined: 2010-06-07 16:59
Has thanked: 38 times
Been thanked: 232 times

Re: [O/S] Won't close down can anyone please offer suggestions

#9 Post by FreewheelinFrank »

pbear wrote: 2023-12-28 02:57
FreewheelinFrank wrote: 2023-12-27 21:48 (Highlight and hit the </> button.)
Alas, not enabled on this Forum.
It is enabled- something is preventing it working for you. Theme choice?


Image

User avatar
pbear
Posts: 331
Joined: 2023-08-27 15:05
Location: San Francisco
Has thanked: 1 time
Been thanked: 57 times

Re: [O/S] Won't close down can anyone please offer suggestions

#10 Post by pbear »

Okay, I get it. Not the icon I'm used to. In fact, I can't read it, only the tool tip (no themes, by the way). To be clear, rmmon, we're talking about the fifth button on the first line.

rmmon
Posts: 7
Joined: 2023-12-19 11:19

Re: [O/S] Won't close down can anyone please offer suggestions

#11 Post by rmmon »

Many thanks everyone for your kind help. But I am beyond what I understand. I just cannot understand what I have to do to present a list to you.

I shall have to give in and accept failure and that my laptop doesn't close down properly sometimes and that my bluetooth doesn't work on my installation of Debian.

But as I say thank you so much everyone for your kind help. Best wishes.

Post Reply