LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Other *NIX (https://www.linuxquestions.org/questions/other-%2Anix-55/)
-   -   how to remotelu\y log out a user in IRIX (https://www.linuxquestions.org/questions/other-%2Anix-55/how-to-remotelu%5Cy-log-out-a-user-in-irix-438906/)

MightyU 04-26-2006 02:42 AM

how to remotelu\y log out a user in IRIX
 
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

pwc101 04-26-2006 03:57 AM

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.

MightyU 04-26-2006 10:21 AM

thanks
 
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.

pwc101 04-26-2006 11:19 AM

I'm not at university today but tomorrow I'll see if I can ask the IT department what they do. Maybe someone else will know how to solve this in the mean time...

MightyU 04-27-2006 01:23 AM

thanks
 
You are very kind, thanks!

amolbute 06-05-2009 01:06 AM

press


Ctrl+Alt+Shift+/+Num Lock+Print Screen+F12


This will log off u and gives u login screen


All times are GMT -5. The time now is 02:36 AM.