How do I stop my Ubuntu desktop computer from "sleeping" when nobody is logged in?
1
vote
1
answer
1453
views
**In short** - I have an issue where my Ubuntu Desktop computer seems to "sleep" when no user is logged in, and I would love to prevent this.
**More Details -**
> Pre-emptive apology if something I write is unclear or redundant - I'm
> very new to Linux & Ubuntu.
To state the obvious - the issue is not my monitor turning off, it is that the computer seems to fall asleep after a few minutes of being in the user login screen with no user logged in.
The symptoms are:
- Computer visually appears powered down, lighting up only when the power button is pressed again
- Display is off
- Interacting with keyboard/mouse which are plugged in doesn't do anything
- (The real issue) servers that the computer is running are offline
This is in contrast to when I'm actually logged into my user. In this scenario, the screen can turn off after X minutes but the computer never logs out/goes to sleep (as per the configuration in
Settings
-> Power
-> Power Saving
).
This is a pretty fresh installation running Ubuntu 24.04.2 LTS. I installed Ubuntu Desktop and changed to lightdm.
Thanks in advance! Would be happy to share more info if relevant.
Asked by Clicksurfer
(13 rep)
Mar 4, 2025, 02:09 PM
Last activity: Mar 7, 2025, 12:44 PM
Last activity: Mar 7, 2025, 12:44 PM