org.freedesktop.login1.Session.Terminate hangs PC

sudo qdbus --literal --system org.freedesktop.login1 /org/freedesktop/login1/session/_33 org.freedesktop.login1.Session.Terminate

Why this command hangs my PC ?

Pardon i forgot
kubuntu 24.04
any other app versions needed ?

Hi - I’m no expert on using D-Bus in that way, but in a typical distribution, commands run using sudo are run by the user root, not the regular user account you’re logged in as. It looks like that command would try to terminate a session for the user root, which is probably not what you’re intending?

What are you looking to accomplish with that command?