Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [loginctl]

The tag has no usage guidance.

2
votes
0answers
132 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
278 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
436 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?