Replies: 2 comments 1 reply
|
@wucke13 Hi, did you find any solution or workaround. I use both hyprland and niri, mostly niri but still have hyprland. I want the logout command in my wlogout to be generic so that it works with both. Most of other commands like lock, shutdown, reboot are generic, just logout is not working. |
|
Bumping this issue. |
Uh oh!
There was an error while loading. Please reload this page.
I'd like to have a generic way of terminating my session (as I"m using multiple WM, one of them niri). I think, the generic command for that would be
loginctl terminate-session $XDG_SESSION_ID(assuming systemd-logind is used). That works in so far, as in that it detaches the session and throws me back to the display manager. However, upon next attempt to start a niri session, I instead get a warning that a niri session is already runnig.And indeed,
systemctl --user status nirireveals that the session was never ended, but it seemingly lost access to the screen. I think, it would be sensible if theloginctlcommand above had the same effect as runningniri msg action quit --skip-confirmation.What likely plays into this behavior: for my user I have lingering systemd user instances enabled.
All reactions