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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 Session login out intempestively #812

Closed
abaudhuin opened this issue May 31, 2024 · 6 comments
Closed

馃悰 Session login out intempestively #812

abaudhuin opened this issue May 31, 2024 · 6 comments
Labels
bug Something isn't working needs-reproduction

Comments

@abaudhuin
Copy link

branch

stable

Architecture

x86_64

Description

After the last update (and after a reboot) i get logged out automatically after a 1 minute or so being logged in.

I can see errors in the logs (about logind and backend) but I don't understand what could be the problem and how to solve it.

Do you have any idea what could be the issue ?

Reproduction steps

I type my password to log in, everything goes normally.

Whatever I do, after 1 minute or so it logs out after the screen flashes (even doing absolutely nothing)

Screenshots

20240531_165051.mp4

Logs

mai 31 16:43:25 amb-framework systemd[5106]: Started D-Bus User Message Bus.
mai 31 16:43:25 amb-framework dbus-broker-launch[5125]: Ready
mai 31 16:43:25 amb-framework greetd[5099]: gkr-pam: couldn't unlock the login keyring.
mai 31 16:43:25 amb-framework greetd[5151]: config: Config { file: ConfigFile { terminal: ConfigTerminal { vt: >
mai 31 16:43:26 amb-framework systemd[1694]: pcmanfm.service: Scheduled restart job, restart counter is at 6.
mai 31 16:43:26 amb-framework systemd[1694]: sway.service: Scheduled restart job, restart counter is at 1.
mai 31 16:43:26 amb-framework systemd[1694]: pcmanfm.service: Start request repeated too quickly.
mai 31 16:43:26 amb-framework systemd[1694]: pcmanfm.service: Failed with result 'exit-code'.
mai 31 16:43:26 amb-framework systemd[1694]: Failed to start Automatically mounts removable media.
mai 31 16:43:26 amb-framework systemd[1694]: Starting sway - SirCmpwn's Wayland window manager...
mai 31 16:43:26 amb-framework sway[5156]: 00:00:00.001 [ERROR] [wlr] [libseat] [libseat/libseat.c:58] Backend '>
mai 31 16:43:26 amb-framework sway[5156]: 00:00:00.001 [ERROR] [wlr] [backend/session/session.c:83] Unable to c>
mai 31 16:43:26 amb-framework sway[5156]: 00:00:00.001 [ERROR] [wlr] [backend/session/session.c:248] Failed to >
mai 31 16:43:26 amb-framework sway[5156]: 00:00:00.001 [ERROR] [wlr] [backend/backend.c:79] Failed to start a s>
mai 31 16:43:26 amb-framework sway[5156]: 00:00:00.001 [ERROR] [wlr] [backend/backend.c:359] Failed to start a >
mai 31 16:43:26 amb-framework sway[5156]: 00:00:00.001 [ERROR] [sway/server.c:137] Unable to create backend
mai 31 16:43:26 amb-framework systemd[1694]: sway.service: Main process exited, code=exited, status=1/FAILURE
mai 31 16:43:26 amb-framework systemd[1694]: sway.service: Failed with result 'exit-code'.
mai 31 16:43:26 amb-framework systemd[1694]: Failed to start sway - SirCmpwn's Wayland window manager.
mai 31 16:43:26 amb-framework systemd[1694]: waybar.service: Scheduled restart job, restart counter is at 1.
mai 31 16:43:26 amb-framework systemd[1694]: Started Highly customizable Wayland bar for Sway and Wlroots based>
mai 31 16:43:26 amb-framework waybar[5163]: cannot open display: 
mai 31 16:43:26 amb-framework systemd[1694]: waybar.service: Main process exited, code=exited, status=1/FAILURE
mai 31 16:43:26 amb-framework systemd[1694]: waybar.service: Failed with result 'exit-code'.
mai 31 16:43:27 amb-framework systemd[1694]: sway.service: Scheduled restart job, restart counter is at 2.
mai 31 16:43:27 amb-framework systemd[1694]: Starting sway - SirCmpwn's Wayland window manager...
mai 31 16:43:27 amb-framework sway[5174]: 00:00:00.001 [ERROR] [wlr] [libseat] [libseat/libseat.c:58] Backend '>
mai 31 16:43:27 amb-framework sway[5174]: 00:00:00.001 [ERROR] [wlr] [backend/session/session.c:83] Unable to c>
mai 31 16:43:27 amb-framework sway[5174]: 00:00:00.001 [ERROR] [wlr] [backend/session/session.c:248] Failed to >
mai 31 16:43:27 amb-framework sway[5174]: 00:00:00.001 [ERROR] [wlr] [backend/backend.c:79] Failed to start a s>
mai 31 16:43:27 amb-framework sway[5174]: 00:00:00.001 [ERROR] [wlr] [backend/backend.c:359] Failed to start a >
mai 31 16:43:27 amb-framework sway[5174]: 00:00:00.001 [ERROR] [sway/server.c:137] Unable to create backend
mai 31 16:43:27 amb-framework systemd[1694]: sway.service: Main process exited, code=exited, status=1/FAILURE
mai 31 16:43:27 amb-framework systemd[1694]: waybar.service: Scheduled restart job, restart counter is at 2.
mai 31 16:43:27 amb-framework systemd[1694]: Started Highly customizable Wayland bar for Sway and Wlroots based>
mai 31 16:43:27 amb-framework systemd[1694]: sway.service: Failed with result 'exit-code'.
mai 31 16:43:27 amb-framework systemd[1694]: Failed to start sway - SirCmpwn's Wayland window manager.
mai 31 16:43:27 amb-framework waybar[5182]: cannot open display: 
mai 31 16:43:27 amb-framework systemd[1694]: waybar.service: Main process exited, code=exited, status=1/FAILURE
mai 31 16:43:27 amb-framework systemd[1694]: waybar.service: Failed with result 'exit-code'.
mai 31 16:43:27 amb-framework greetd[5151]: gkr-pam: unable to locate daemon control file
mai 31 16:43:27 amb-framework greetd[5151]: gkr-pam: stashed password to try later in open session
mai 31 16:43:28 amb-framework greetd[5099]: pam_unix(greetd:session): session closed for user greeter
mai 31 16:43:28 amb-framework systemd[1]: session-12.scope: Deactivated successfully.
mai 31 16:43:28 amb-framework greetd[5151]: pam_unix(greetd:session): session opened for user amb(uid=1000) by >
mai 31 16:43:28 amb-framework systemd-logind[1066]: Session 12 logged out. Waiting for processes to exit.
@abaudhuin abaudhuin added the bug Something isn't working label May 31, 2024
@abaudhuin abaudhuin changed the title 馃悰 <title> 馃悰 Session logint out intempestively May 31, 2024
@abaudhuin abaudhuin changed the title 馃悰 Session logint out intempestively 馃悰 Session login\ out intempestively May 31, 2024
@abaudhuin abaudhuin changed the title 馃悰 Session login\ out intempestively 馃悰 Session login out intempestively May 31, 2024
@abaudhuin
Copy link
Author

Even if you have a recommendation for a temporary fix, it would be great (downgrading or other things). My laptop is unusable rn

@boredland
Copy link
Member

Sadly the logs are being cut ">", so I can't read the interesting parts.

@abaudhuin
Copy link
Author

Sadly the logs are being cut ">", so I can't read the interesting parts.

Sorry for that:

mai 31 20:41:47 amb-framework sway[20606]: 00:00:00.003 [ERROR] [wlr] [libseat] [libseat/libseat.c:58] Backend 'logind' failed to open seat: No such device or address
mai 31 20:41:47 amb-framework sway[20606]: 00:00:00.003 [ERROR] [wlr] [backend/session/session.c:83] Unable to create seat: No such device or address
mai 31 20:41:47 amb-framework sway[20606]: 00:00:00.003 [ERROR] [wlr] [backend/session/session.c:248] Failed to load session backend
mai 31 20:41:47 amb-framework sway[20606]: 00:00:00.003 [ERROR] [wlr] [backend/backend.c:79] Failed to start a session
mai 31 20:41:47 amb-framework sway[20606]: 00:00:00.003 [ERROR] [wlr] [backend/backend.c:359] Failed to start a DRM session
mai 31 20:41:47 amb-framework sway[20606]: 00:00:00.003 [ERROR] [sway/server.c:137] Unable to create backend
mai 31 20:41:47 amb-framework systemd[2669]: sway.service: Main process exited, code=exited, status=1/FAILURE

@boredland
Copy link
Member

Can you check if seatd is running? systemctl status seatd ?

Also can you check if LIBSEAT_BACKEND=logind is set? (echo $LIBSEAT_BACKEND)

@abaudhuin
Copy link
Author

Yes seatd is enabled and running, and LIBSEAT_BACKEND is set to logind

@boredland
Copy link
Member

I can't reproduce this in a newly created VM. Not sure what the cause is. Feel free to come back with this if you can pin it down a bit more precisely!

@boredland boredland closed this as not planned Won't fix, can't repro, duplicate, stale Jun 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-reproduction
Development

No branches or pull requests

2 participants