Questions tagged [loginctl]

The tag has no usage guidance.

2
votes
0answers
176 views

Terminating a session using loginctl

I am trying to use "loginctl" to terminate a session like below: loginctl terminate-session 1 where 1 is session id. But after the command is executed, black screen is observed & I have to click ...
1
vote
1answer
400 views

Process id to loginctl session id

I am having one "small" problem :) If I run command loginctl list-session I will get output that will have columns session, uid, user and seat. So I have session here as c6, c2, c4, etc. Also, I ...
2
votes
1answer
448 views

Give specific user permission to kill other users with logind?

Is it possible to give one user (the "main user") the permission to kill other users using logind/loginctl?