Other *NIXThis forum is for the discussion of any UNIX platform that does not have its own forum. Examples would include HP-UX, IRIX, Darwin, Tru64 and OS X.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Hi guys, what's up?
Well im in trouble, im working with a silicon octane computer, which uses an irix os.
Well, sometimes happen that X11 crashes, and even if i remotely kill
all process involving my user (wich could be found with ps -ef | grep user), on screen my user is not going to logout.
The real trouble is that this computer is simoultaneously used by many users, so it is hard to reboot it.
So im asking, does anybody know if there is a way to "kick" a user from a remote computer, removing completly in this way all processes?
Many thanks MightyU
I don't know if this is the answer, nor do I know how to do it, but we have this problem at my university all the time (there's some issue with the drivers for the graphics cards which causes X to lock quite frequently). The only way we are able to get someone to log off is to phone the IT department and ask them to restart the X server, which not only kills any applications we have running at the time, but also removes the user who has logged into the machine. it is only possible for root to do this, which is why we have to phone IT about it. We have tried the method you have outlined above (ps -ef | grep <user_id>), but also to no avail.
hope this helps?
EDIT: I'm assuming that when IT restart X it automatically kills all the other processes associated with X at that time: that may not be the case, and IT may in fact kill each process individually.
Thanks for your reply,
well, maybe i was not clear: when i do "ps -ef | grep MyName" i'm remotely logging in as root into this computer (i have root permissions). In this way i can see all MyName's processes and kill them one by one or alltoghether. Between those processes i can see 2 X11 processes
"user_id xxxx 1 0 07:48:33 ? 0:06 /usr/bin/X11/4Dwm -launch -xrm *SG_UseBackground: True"
"user_id xxxx 1 0 07:48:34 ? 0:00 /usr/bin/X11/toolchest -name ToolChes"
if i do "ps -ef | grep X11" i see other X11 processes owned by root and other users.
What i'm thinking is that your system admin, kills all your processes, from remote as i do, but maybe i do things in a wrong way, so in the end it does not work, and I have still my empty but locked background on display...
Thanks anyway, i hope i've been clearer.