Ah, the bug returned.
The i3 returned xwayland
and sway returned xcb
. Does the code in the .{x,p,z}profile
files look correct for you?
Observe that I removed totally SDDM and I decide to type my username, my password and to run startx
for i3 and exec sway
for sway.
But on Sway, slock, xidlehook and suspend do not work unless I run suspend with a keybinding.
Due to the wrong detection of desktop session, many apps stop working.
Update
@freebird54 and @anon96036739,
The ghost problem of session restoration and logoff has been solved with:
- I had to purge totally SDDM;
- I had to type my username, my password from tty and to run
startx
- I found the ghost and dead NVIDIA services, and removed them;
- I copied the services from @dbrgn’s his dotfiles to
/etc/systemd/system/
and modified thexidlehook.service
, and enabled and started the services; - I created the
ssh-agent
in the user systemd, enabled and started it.
It worked only on i3, but it does not work on Sway.
I am still facing the bug of wrong detection of desktop session.