elementary / elementary/triage

Suspend does not work when more users are logged in on other X sessions

Open
#456 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
4
Forks
1
PR merge metrics
No merged PRs in 30d

Description

## Prerequisites
- [X] I have searched open and closed issues for duplicates.

## Describe the bug
Same happen with `systemctl suspend` command. It says there are more users logged in. Not sure if you use this command, but it works if you use `sudo` on this case, so maybe we could try to suspend and if it fails for this reason we could display an alert explaining this and asking for authentication.
I think this issue does not happen when using the power-off action, but I'm not sure.

### Expected behaviour

**Suspend should not fail silently**. Add an error/alert message and/or ask for authentication.

## Platform Information
- OS: elementary OS
- OS Version 5.1.7 Hera
- Hardware info Intel® Core™ i7-3632QM CPU @ 2.20GHz Toshiba L845 notebook

- [ ] I'm using the latest version from git that I've manually compiled
- [X] I'm using the latest released stable version

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.