You are not logged in.

#1 2026-01-29 19:41

itsoulos
Member
Registered: 2020-12-19
Posts: 94

Why the system takes too long to shutdown?

Hello all,
sometimes the Q4OS system requires many seconds to completely shutdown due to some user@1000.service!
Is this normal?

Giannis

Offline

#2 2026-01-29 21:55

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 6,109
Website

Re: Why the system takes too long to shutdown?

No it's not normal. How many seconds ?

Offline

#3 2026-01-30 06:57

itsoulos
Member
Registered: 2020-12-19
Posts: 94

Re: Why the system takes too long to shutdown?

q4osteam wrote:

No it's not normal. How many seconds ?

90 seconds

Offline

#4 2026-01-30 14:09

itsoulos
Member
Registered: 2020-12-19
Posts: 94

Re: Why the system takes too long to shutdown?

This  problem occurs in my desktop running X11. This is not present in my Tuxedo Pulse that runs wayland

Offline

#5 2026-01-30 14:30

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 6,109
Website

Re: Why the system takes too long to shutdown?

AI says, and it's consistent with what we assume:

Systemd is trying to stop the user session for UID 1000 (usually the first normal user) and something in that user session is hanging during logout/shutdown.

What’s usually causing it, most common culprits:
- A stuck user process (browser, Electron app, VS Code, Java, Python, etc.)
- A systemd user service that doesn’t exit cleanly
- FUSE mounts (sshfs, rclone, gvfs)
- Lingering user services still running after logout
- Flatpak / Snap apps misbehaving

Systemd waits (default ~90s), then complains.

Quick ways to diagnose
See what’s still running for that user
$ loginctl user-status 1000
This usually points straight at the offender.

Check failed user services
$ systemctl --user list-units --failed
Or logs:
$ journalctl --user -xe

Offline

#6 2026-01-30 14:45

itsoulos
Member
Registered: 2020-12-19
Posts: 94

Re: Why the system takes too long to shutdown?

here is the output for loginctl:

https://pastebin.com/5WZTj9VB

and here for systemctl

https://pastebin.com/vLuezG7i

Offline

Board footer

Powered by FluxBB