What is the output of swayidle -d
and from loginctl
?
You may not be running within an elogind session which could explain the unknown session
error.
Subm77
A forever lurker.
- 0 Posts
- 2 Comments
Joined 2 months ago
Cake day: July 2nd, 2025
You are not logged in. If you use a Fediverse account that is able to follow users, you can follow this user.
The Output from
swayidle -d
should be similar to the following lines2025-07-27 01:34:16 - [Line 1078] No config file found. 2025-07-27 01:34:16 - [Line 463] Using session: /org/freedesktop/login1/session/c4 2025-07-27 01:34:16 - [Line 1151] No command specified! Nothing to do, will exit
and the ouput from
loginctl
should list the session from the second line of theswayidle -d
output.SESSION UID USER SEAT TTY STATE IDLE SINCE c4 1000 subm77 seat0 tty3 active no - 1 sessions listed.
If that is not the case you could look into setting up a login manager like greetd.