Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Systemd-logind suspends the system when logging in with an external monitor connected #31119

Open
Zamundaaa opened this issue Jan 29, 2024 · 0 comments
Labels
bug 🐛 Programming errors, that need preferential fixing login

Comments

@Zamundaaa
Copy link

systemd version the issue has been seen with

254.8

Used distribution

Fedora 39

Linux kernel version used

6.6.13-200.fc39.x86_64

CPU architectures issue was seen on

x86_64

Component

systemd-logind

Expected behaviour you didn't see

Logind should wait until the session is up and running before doing power management tasks. In the case of Plasma, power management is taken care of by powerdevil, which disables the logind handling of the same thing and by default does not suspend the system when the lid is closed and an external monitor is connected

Unexpected behaviour you saw

When logging in with the laptop lid closed and an external monitor connected, the system suspends before the session is started.

Steps to reproduce the problem

Connect external monitor and keyboard to a laptop, and log in from sddm

Additional program output to the terminal or log subsystem illustrating the issue

The journal: https://gist.github.com/Zamundaaa/641427209d3ccc70ba155f65c214e73d

More specifically at 15:57:35, systemd starts suspending before any component of the session could interfere
@Zamundaaa Zamundaaa added the bug 🐛 Programming errors, that need preferential fixing label Jan 29, 2024
@mrc0mmand mrc0mmand added login and removed logind labels Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Programming errors, that need preferential fixing login
Development

No branches or pull requests

2 participants