How to kill user processes from the same user?

Posted by Grey on Super User See other posts from Super User or by Grey
Published on 2012-06-09T21:25:01Z Indexed on 2012/06/09 22:42 UTC
Read the original article Hit count: 236

Filed under:
|
|

I opened a VNC server and my VNC session is suddenly dead. I have lot of xterms open. When I ssh to the machine. and type

users

I see a bunch of users – my user accounts, like:

userA UserA UserA UserA UserA UserA UserA

I know I can use

pkill -u usersname 

Since I can only log in as userA, every time I run pkill-u UserA, it will just kill my current session. but other userAs are still there

What can I do?

© Super User or respective owner

Related posts about linux

Related posts about vnc