#[SOLVED] How do I logout of a session and return to my DM through the terminal
50 messages · Page 1 of 1 (latest)
loginctl terminate-user $USERleaves me on a black screen with a blinking underline and no ability to interact
same for loginctl terminate-session $XDG_SESSION_ID
exit, logout and ctrl + D all just close the window instead of logging me out
hwat wm
hyprland
ik theres just the exit bind
but im trying to get a terminal command so i can use it in wlogout
probably just kill hyprland
From a quick read of the documentation, hyprctl dispatch exit might work.
@lethal island
that logs me out but does not send me to my DM
i lose any ability to interact with my pc
and have to reboot it
yeah
the problem is nothing i try brings me to sddm
and all of them result in no ability to interact
Does the keybind?
the only thing thats worked is setting a hyprland keybind to exit
but im trying to get it working under wlogout so i have more options than exit
That’s simply bizarre. I’ve got nothing.
this when uncommented brings me back out to sddm no issues
but i want the options like if i was using a DE
because its much more convenient to have a gui with all my power options than typing a command or having 6 keybinds
You could have the button run the keybind or something
Like when you press log out it emulates a Mod + Shift + E, though I don’t know how practical that is on Wayland
mmm ill try that
idk if itll work though
im pretty sure the action in the config has to be a terminal command
is there a way to have the terminal execute specifc inputs?
I think there’s a way in xorg, but I don’t know about Wayland
hyprctl quit
Here’s someone else with your issue: https://www.reddit.com/r/hyprland/comments/13cf3pd/hyprland_and_sddm/
I can’t find this argument mentioned anywhere
jts dispatch quit
That doesn’t exist according to the documentation